Overview
TokenID
47681
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ProofOfStake_Pages
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity >=0.8.0 <0.9.0; //SPDX-License-Identifier: Apache-2.0 import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import {Base64} from "base64-sol/base64.sol"; import {Transforms} from "./libs/Transforms.sol"; error Soulbound(); error PledgingDisabled(); error NotMinimumPledge(); error SendFailed(); error InvalidSignature(); error ZeroSignature(); error DoesNotExist(); abstract contract ENS_Resolver { function getNames(address[] calldata addresses) external view virtual returns (string[] memory); } contract ProofOfStake_Pages is ERC721Enumerable, Ownable, ReentrancyGuard { ENS_Resolver res = ENS_Resolver(0x3671aE578E63FdF66ad4F3E12CC0c0d71Ac7510C); using Counters for Counters.Counter; using Strings for uint256; /*/////////////////////////////////////////////////////////////// TOKEN STORAGE //////////////////////////////////////////////////////////////*/ Counters.Counter private _tokenIds; bool public pledgeOpen; // confirm with team uint256 internal constant price = 0.0001337 ether; uint256 internal constant tokenlimitperuser = 1; uint256 internal constant publisherSplit = 10; mapping(address => uint256) public pledgeLimit; mapping(address => uint256) public udonationTotal; //prettier-ignore address internal immutable gitcoin = 0xde21F729137C5Af1b01d73aF1dC21eFfa2B8a0d6; //prettier-ignore address internal immutable sevenStories = 0x209D3040C2dEdcb7124be89Fc6849423621EdeaC; string public contractAddressString = Transforms.toAsciiString(address(this)); string public currentMessage; struct Token { string recipient; address rAddress; string sigValue; string timestamp; string writtenMsg; } Token[] private tokens; /*/////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Pledge(address indexed pledgee, uint256 indexed pledgeValue); /*/////////////////////////////////////////////////////////////// EIP-712 STORAGE //////////////////////////////////////////////////////////////*/ //prettier-ignore address internal immutable vitalik = 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045; uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; bytes32 public constant AUTOGRAPH_TYPEHASH = keccak256( "signature(address sender,address recipient,string pledge,string timestamp,string msg)" ); /*/////////////////////////////////////////////////////////////// STRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address[] memory _donors, uint256[] memory _amounts) ERC721("Proof Of Stake Pages", "PoSp") { transferOwnership(0xb010ca9Be09C382A9f31b79493bb232bCC319f01); INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); for (uint256 i = 0; i < _donors.length; ++i) { pledgeLimit[_donors[i]] = pledgeLimit[_donors[i]] + 1; string memory resolved = resolveENS(_donors[i]); udonationTotal[_donors[i]] += _amounts[i]; _tokenIds.increment(); uint256 id = _tokenIds.current(); _mint(_donors[i], id); tokens.push( Token({ recipient: resolved, rAddress: _donors[i], sigValue: _amounts[i].toString(), timestamp: block.timestamp.toString(), writtenMsg: "Thank you for believing." }) ); emit Pledge(_donors[i], _amounts[i]); } } /*/////////////////////////////////////////////////////////////// PLEDGE LOGIC //////////////////////////////////////////////////////////////*/ /** * @notice Pledges ETH to GTC & "whitelists" pledger */ //prettier-ignore function pledge() public payable nonReentrant { if (pledgeOpen == false) revert PledgingDisabled(); if (msg.value < price) revert NotMinimumPledge(); string memory resolved = resolveENS(msg.sender); uint sShare = (msg.value * publisherSplit) / 100; if (pledgeLimit[msg.sender] >= tokenlimitperuser) { (bool success3, ) = gitcoin.call{value: msg.value - sShare}(""); if (!success3) revert SendFailed(); (bool success4, ) = sevenStories.call{value: sShare}(""); if (!success4) revert SendFailed(); udonationTotal[msg.sender] += msg.value; pledgeLimit[msg.sender] = pledgeLimit[msg.sender] + 1; return; } (bool success, ) = gitcoin.call{value: msg.value - sShare}(""); if (!success) revert SendFailed(); (bool success2, ) = sevenStories.call{value: sShare}(""); if (!success2) revert SendFailed(); udonationTotal[msg.sender] += msg.value; pledgeLimit[msg.sender] = pledgeLimit[msg.sender] + 1; _tokenIds.increment(); uint256 id = _tokenIds.current(); _mint(msg.sender, id); tokens.push(Token({ recipient: resolved, rAddress: msg.sender, sigValue: msg.value.toString(), timestamp: block.timestamp.toString(), writtenMsg: currentMessage })); emit Pledge(msg.sender, msg.value); } function setMessage(string calldata _message) external { require(msg.sender == vitalik); require(bytes(_message).length <= 60); currentMessage = _message; } function resolveENS(address _user) internal view returns (string memory) { string memory resolved; address[] memory forCall = new address[](1); forCall[0] = _user; string[] memory callres = res.getNames(forCall); if (bytes(callres[0]).length == 0) { resolved = string.concat("0x", Transforms.toAsciiString(_user)); } else { resolved = callres[0]; } return resolved; } /** * @notice Updates the user token if we have a valid msg from Vitalik */ //prettier-ignore function updateIfSigned( bytes calldata _signature, string calldata _sigValue, string calldata _timestamp, string calldata _message ) external nonReentrant { (uint8 v, bytes32 r, bytes32 s) = Transforms.splitSignature(_signature); bytes32 hashStruct = keccak256( abi.encode( AUTOGRAPH_TYPEHASH, // Will be wockis address in live v vitalik, // Signature will be invalid if it isn't to caller && // EIP712: "Addresses are encoded as uint160" uint160(msg.sender), // EIP712: "values bytes and string are encoded as a keccak256 hash" keccak256(bytes(_sigValue)), keccak256(bytes(_timestamp)), keccak256(bytes(_message)) ) ); bytes32 hash = keccak256( abi.encodePacked("\x19\x01", DOMAIN_SEPARATOR(), hashStruct) ); address signer = ecrecover(hash, v, r, s); if (signer != vitalik) revert InvalidSignature(); if (signer == address(0)) revert ZeroSignature(); uint256 tokenid = tokenOfOwnerByIndex(msg.sender, 0) - 1; tokens[tokenid].writtenMsg = _message; } /** * @notice Toggles Pledging On / Off */ function togglePledging() public onlyOwner { pledgeOpen == false ? pledgeOpen = true : pledgeOpen = false; } /*/////////////////////////////////////////////////////////////// TOKEN LOGIC //////////////////////////////////////////////////////////////*/ /** * @notice SOULBOUND: Block transfers. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721Enumerable) { require( from == address(0) || to == address(0), "SOULBOUND: Non-Transferable" ); super._beforeTokenTransfer(from, to, tokenId); } /** * @notice SOULBOUND: Block approvals. */ function setApprovalForAll(address operator, bool _approved) public virtual override(ERC721, IERC721) { revert Soulbound(); } /** * @notice SOULBOUND: Block approvals. */ function approve(address to, uint256 tokenId) public virtual override(ERC721, IERC721) { revert Soulbound(); } /** * @notice Generate SVG using tParams by index */ function generateSVG(uint256 id) private view returns (bytes memory) { bytes memory eth; bytes memory message; if (bytes(tokens[id].writtenMsg).length == 0) { message = bytes.concat( abi.encodePacked( '<tspan text-anchor="middle" x="37.5%" y="120">', "</tspan>" ) ); } else { message = bytes.concat( abi.encodePacked( '<tspan text-anchor="middle" x="37.5%" y="120">"', tokens[id].writtenMsg, '"</tspan>' ) ); } uint256 eth1 = udonationTotal[tokens[id].rAddress]; uint256 eth3 = eth1 / 1 ether; if (eth1 <= 999999999999999999) { eth = bytes.concat( abi.encodePacked( '<tspan text-anchor="middle" x="37.5%" y="260">', eth1.toString(), " (wei)", "</tspan>" ) ); } else { eth = bytes.concat( abi.encodePacked( '<tspan text-anchor="middle" x="37.5%" y="260">', eth3.toString(), " (eth)", "</tspan>" ) ); } return bytes.concat( abi.encodePacked( '<svg xmlns="http://www.w3.org/2000/svg" width="606.2" height="819.4" viewBox="0 0 606.2 819.4"><defs><style>.a{fill:#fff;}.b{fill:none;stroke:#d9c8db;stroke-miterlimit:10;stroke-width:2px;}.c,.d,.e,.f,.g,.h,.i,.j,.k,.l,.m,.n,.o{isolation:isolate;}.c,.d,.e,.f,.g,.i,.j,.k{font-size:55px;}.c,.e{fill:#e96b5d;}.c,.d,.e,.f,.g,.k{font-family:LustDisplay-Didone, Lust Didone;}.d,.f{fill:#9b4a8d;}.e{letter-spacing:0.02em;}.f{letter-spacing:0.02em;}.g{fill:#9b4a8c;}.h{font-size:45px;fill:#0cb6ea;font-family:Lust-Italic, Lust;font-style:italic;}.i,.k{fill:#50ae58;}.i,.j{font-family:Lust-Regular, Lust;letter-spacing:0.05em;}.j{fill:#ef8916;}.l,.m{font-size:29.99px;}.l,.n{font-family:Arial-BoldMT, Arial;font-weight:700;}.m,.o{font-family:ArialMT, Arial; margin-left: auto; margin-right: auto; width: 40%;}.n{font-size:20px;}.o{font-size:18px;}</style></defs><rect class="a" width="606.2" height="819.4"/><text class="n"><tspan class="n" text-anchor="middle" x="50%" y="42%">', tokens[id].recipient, '</tspan></text><text transform="translate(75 352.85)" font-size="18" font-family="ArialMT, Arial"><tspan text-anchor="middle" x="37.5%" y="200">', tokens[id].timestamp, "</tspan>", eth ), abi.encodePacked( '<tspan text-anchor="middle" x="37.5%" y="320">0x', contractAddressString, "</tspan>", message, '<tspan text-anchor="middle" x="37.5%" y="220">mint timestamp</tspan>', '<tspan text-anchor="middle" x="37.5%" y="340">contract</tspan>', '<tspan text-anchor="middle" x="37.5%" y="280">value</tspan><tspan text-anchor="middle" x="37.5%" y="140"></tspan></text>', '<rect class="b" x="21.9" y="169.5" width="562.4" height="562.4"/><g style="isolation:isolate"><path d="M46.66,98.93v-.28h4.89V60.71H46.66v-.28H65.91c12,0,18.42,3.19,18.42,11.17,0,9.4-11.77,11.27-19.85,11.27h-1.6V98.65h5.83v.28ZM62.88,82.6h1.6c5.83,0,7.75-3.47,7.75-11s-1.92-10.89-7.75-10.89h-1.6Z" style="fill:#e96b5d"/></g><g style="isolation:isolate"><path d="M135,91.84c0,5.16-2.26,7.53-9.21,7.53-6.74,0-9.43-2.28-11.55-8.63C113,87,112.44,79.52,107.52,79.52h-1.6V98.65h5.28v.28H89.7v-.28h4.89V60.71H89.7v-.28H109c5.66,0,18.47.22,18.47,9.46,0,7.54-10.77,9.27-17.32,9.54v.09c10.75,0,13.94,3.52,16.58,9.15,3.33,7.12,4.13,8.17,5.53,8.17,2.2,0,2.47-3.35,2.47-5Zm-29-12.6h1.6c5.44,0,7.81-2.86,7.81-9.35,0-5.11-1.82-9.18-7.79-9.18h-1.62Z" style="fill:#9b4a8d"/></g><g style="isolation:isolate"><path d="M178.65,79.68c0,12.54-8.85,19.69-19.71,19.69s-19.72-7.15-19.72-19.69S148.07,60,158.94,60,178.65,67.14,178.65,79.68Zm-11.8,0c0-8.41-.52-19.41-7.91-19.41S151,71.27,151,79.68s.52,19.41,7.92,19.41S166.85,88.1,166.85,79.68Z" style="fill:#e96b5d"/></g><g style="isolation:isolate"><path d="M226.68,79.68c0,12.54-8.9,19.69-19.83,19.69S187,92.22,187,79.68,195.92,60,206.85,60,226.68,67.14,226.68,79.68Zm-11.87,0c0-8.41-.52-19.41-8-19.41s-8,11-8,19.41.52,19.41,8,19.41S214.81,88.1,214.81,79.68Z" style="fill:#9b4a8d"/></g><g style="isolation:isolate"><path d="M236.69,98.93v-.28h4.89V60.71h-4.89v-.28h33.93L272,73.69h-.27l-.11-1c-.8-7.56-6.82-12-14.3-12h-4.4V79.13h.61c6.18,0,10.2-2.58,10.5-7.72l.05-1h.28l-.93,17.77h-.28l.05-1c.28-5.12-3.49-7.81-9.67-7.81h-.61V98.65h5.83v.28Z" style="fill:#9b4a8c"/></g><g style="isolation:isolate"><path d="M307.71,87.38c0,7.47-6.75,14.17-14.76,14.17-6.43,0-10.89-4.27-10.89-10.21,0-7.7,6.62-14.18,14.72-14.18C303.26,77.16,307.71,81.44,307.71,87.38Zm-8.23-4.64c0-2.65-.5-5.22-2.75-5.22-5,0-6.43,13.86-6.43,18.54,0,2.66.49,5.13,2.7,5.13C298,101.19,299.48,88.05,299.48,82.74Z" style="fill:#0cb6ea"/></g><g style="isolation:isolate"><path d="M300.13,105.46a4.61,4.61,0,0,1,4.68-4.77,3.93,3.93,0,0,1,4.09,4.18,3.26,3.26,0,0,0-2.7,3.29c0,1.08.45,1.93,1.71,1.93,2.12,0,4-2.34,4-5.76,0-2.07-.67-4.32-4-5.49l3.37-22H307.6l0-.36h3.65c.31-6.7,2.52-11.88,9.18-11.88,4.5,0,6.57,2.48,6.57,5.27a4.75,4.75,0,0,1-4.82,5c-2.2,0-4-1.44-4-4.27a3.09,3.09,0,0,0,2.88-3.2c0-1.35-.58-2.29-2.07-2.29-5.31,0-6.84,11.38,1.44,11.38h3.2l0,.36h-4.27L316,98.75c-.86,5.4-3.47,12-9.77,12C302.29,110.72,300.13,108.2,300.13,105.46Z" style="fill:#0cb6ea"/></g><g style="isolation:isolate"><path d="M345.85,98.1l-4.07,1.16-.88-16h.44c.88,6.44,4.45,15.62,14.35,15.62,5,0,9-1.76,9-5.83,0-9.24-24-8.41-24-21.72C340.68,64,347.77,60,356.57,60a39.37,39.37,0,0,1,8.75,1.26l4.18-1.16.71,13.53h-.44c-.88-6.21-4.34-13.19-13.2-13.19-4.4,0-7.42,2.08-7.42,5.66,0,8.41,24,7.09,24,20.79,0,7.75-8.13,12.48-17.43,12.48A41.65,41.65,0,0,1,345.85,98.1Z" style="fill:#50ae58"/><path d="M384.62,98.93v-.44c5.72,0,6.27-3,6.27-9.46V60.88c-8.91,0-12.87,5.33-13.8,13.63h-.44l1.48-14.07H415l1.48,14.07H416c-.93-8.3-4.89-13.63-13.8-13.63V89c0,6.44.55,9.46,6.27,9.46v.44Z" style="fill:#50ae58"/></g><g style="isolation:isolate"><path d="M455.54,88.43c3.46,7.2,5.11,10.06,9.07,10.06v.44H442.18v-.44c5.22,0,4.18-4.18,1.48-9.95l-1.39-3H429.18c-4,8.38-2.59,12.92,3.43,12.92v.44H417.1v-.44c4,0,7.42-4.67,11.71-13.36l12.71-25.79ZM429.45,85H442l-6.11-13.08Z" style="fill:#ef8916"/><path d="M504.71,87.66c4.29,9.51,5.5,10.39,8.14,10.11v.45a36.94,36.94,0,0,1-8.75,1.26c-6.76,0-9.4-2.58-11.43-8.74-1.76-5.34-3.25-11.44-6.77-11.44a4.07,4.07,0,0,0-1.81.46V89c0,6.44.49,9.46,4.56,9.46v.44H467.26v-.44c5.5,0,5.5-3,5.5-9.46V70.33c0-6.65,0-9.46-5.5-9.46v-.43h21.39v.43c-4.07,0-4.56,3-4.56,9.46V79.1l7-7.67c2.36-2.53,5.39-6.16,5.39-8.41,0-1.49-1-2.15-3.63-2.15v-.43h16.66v.43c-7,0-14.68,7.32-18,10.95l-6.48,7a18,18,0,0,1,8.24-2c5.56,0,8.19,3.3,11.44,10.84Z" style="fill:#ef8916"/></g><g style="isolation:isolate"><path d="M552.2,73.69h-.28l-.11-1c-.8-7.56-6.82-12-14.3-12H532V79.13h.61c6.18,0,10.2-2.58,10.5-7.72l.06-1h.27l-.93,17.77h-.28l.06-1c.27-5.12-3.5-7.81-9.68-7.81H532V92c0,5.33.61,6.7,4.4,6.7,9.87,0,16-6.15,17.35-15l.2-1.24h.27l-2.64,16.5h-35.8v-.28h4.89V60.71h-4.89v-.27h35Z" style="fill:#50ae58"/></g><text class="l" transform="translate(235.15 265)">vitalik.eth</text> <text class="m" transform="translate(263.48 295)">signer</text> <text class="m" transform="translate(245.64 373)">recipient</text></svg>' ) ); } /** * @notice Generate SVG, b64 encode it, construct an ERC721 token URI. */ function constructTokenURI(uint256 id) private view returns (string memory) { // prettier-ignore uint256 cID = id - 1; string memory pageSVG = Base64.encode(bytes(generateSVG(cID))); return string( abi.encodePacked( "data:application/json;base64,", Base64.encode( bytes( abi.encodePacked( '{"signed_to":"', tokens[cID].recipient, '", "external_url":"', "https://proofofstake.gitcoin.co/", '", "timestamp":"', tokens[cID].timestamp, '", "pledge":"', udonationTotal[tokens[cID].rAddress].toString(), '", "message":"', tokens[cID].writtenMsg, '", "image": "', "data:image/svg+xml;base64,", pageSVG, '"}' ) ) ) ) ); } /** * @notice Receives json from constructTokenURI */ // prettier-ignore function tokenURI(uint256 id) public view override returns (string memory) { if (!_exists(id)) revert DoesNotExist(); return constructTokenURI(id); } function contractURI() external pure returns (string memory) { return string( abi.encodePacked( "data:application/json;base64,", Base64.encode( bytes( abi.encodePacked( "{", '"name":"', "Proof of Stake", '",' '"description":"', "Vitalik is committed to supporting open-source public goods, he's releasing a book on September 13. We're pre-gaming by raising funds for public goods with a truly unique NFT, where Vitalik signs a message directly on your token. This token is then inserted into your digital copy upon the books release!", '",' '"image_data":"', // Yeah, looks like CORS may not be letting this resolve, fix l8r "", '",' '"external_link":"', "https://proofofstake.gitcoin.co/", '",' '"seller_fee_basis_points":"', "0", '",' '"fee_recipient":"', "0x00", '"}' ) ) ) ) ); } /*/////////////////////////////////////////////////////////////// SIG LOGIC //////////////////////////////////////////////////////////////*/ /** * @notice https://eips.ethereum.org/EIPS/eip-712 */ function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ), keccak256(bytes("ProofOfStake_Pages")), keccak256(bytes("0")), block.chainid, address(this) ) ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT 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 make 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 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.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 pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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 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 pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; 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 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 pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and( input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for {} lt(dataPtr, endPtr) {} { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)), shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))), add( shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)), and(mload(add(tablePtr, and( input , 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } }
pragma solidity >=0.8.0 <0.9.0; //SPDX-License-Identifier: MIT library Transforms { function splitSignature(bytes memory sig) internal pure returns ( uint8 v, bytes32 r, bytes32 s ) { require(sig.length == 65); assembly { // first 32 bytes, after the length prefix. r := mload(add(sig, 32)) // second 32 bytes. s := mload(add(sig, 64)) // final byte (first byte of the next 32 bytes). v := byte(0, mload(add(sig, 96))) } return (v, r, s); } /*/////////////////////////////////////////////////////////////// TYPE LOGIC //////////////////////////////////////////////////////////////*/ function toAsciiString(address x) internal pure returns (string memory) { bytes memory s = new bytes(40); for (uint256 i = 0; i < 20; i++) { bytes1 b = bytes1(uint8(uint256(uint160(x)) / (2**(8 * (19 - i))))); bytes1 hi = bytes1(uint8(b) / 16); bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi)); s[2 * i] = char(hi); s[2 * i + 1] = char(lo); } return string(s); } function char(bytes1 b) internal pure returns (bytes1 c) { if (uint8(b) < 10) return bytes1(uint8(b) + 0x30); else return bytes1(uint8(b) + 0x57); } }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 100 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"_donors","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"DoesNotExist","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"NotMinimumPledge","type":"error"},{"inputs":[],"name":"PledgingDisabled","type":"error"},{"inputs":[],"name":"SendFailed","type":"error"},{"inputs":[],"name":"Soulbound","type":"error"},{"inputs":[],"name":"ZeroSignature","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pledgee","type":"address"},{"indexed":true,"internalType":"uint256","name":"pledgeValue","type":"uint256"}],"name":"Pledge","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":"AUTOGRAPH_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractAddressString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"currentMessage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pledge","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pledgeLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pledgeOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"setMessage","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":[],"name":"togglePledging","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","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":[{"internalType":"address","name":"","type":"address"}],"name":"udonationTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"string","name":"_sigValue","type":"string"},{"internalType":"string","name":"_timestamp","type":"string"},{"internalType":"string","name":"_message","type":"string"}],"name":"updateIfSigned","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610120604052600c8054733671ae578e63fdf66ad4f3e12cc0c0d71ac7510c6001600160a01b031990911617905573de21f729137c5af1b01d73af1dc21effa2b8a0d660805273209d3040c2dedcb7124be89fc6849423621edeac60a05262000074306200061d602090811b620015ba17901c565b80516200008a916011916020909101906200106f565b5073d8da6bf26964af9d7eed9e03e53415d37aa9604560c052348015620000b057600080fd5b5060405162006cab38038062006cab833981016040819052620000d391620011f7565b604080518082018252601481527f50726f6f66204f66205374616b652050616765730000000000000000000000006020808301918252835180850190945260048452630506f53760e41b90840152815191929162000134916000916200106f565b5080516200014a9060019060208401906200106f565b50505062000167620001616200078660201b60201c565b6200078a565b6001600b556200018b73b010ca9be09c382a9f31b79493bb232bcc319f01620007dc565b4660e0526200026c604080518082018252601281527150726f6f664f665374616b655f506167657360701b6020918201528151808301835260018152600360fc1b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527f5f88ebaa5e78c0ad0dcd2533ae1f88b4795be474bcff9cb6d0c67e5b4f24e164818401527f044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d60608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b6101005260005b82518110156200061457600f6000848381518110620002965762000296620012d5565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020546001620002cd919062001301565b600f6000858481518110620002e657620002e6620012d5565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055506000620003418483815181106200032d576200032d620012d5565b6020026020010151620008b160201b60201c565b9050828281518110620003585762000358620012d5565b602002602001015160106000868581518110620003795762000379620012d5565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000828254620003b2919062001301565b92505081905550620003d0600d62000a0e60201b620017011760201c565b6000620003e9600d62000a1760201b6200170a1760201c565b905062000419858481518110620004045762000404620012d5565b60200260200101518262000a1b60201b60201c565b60136040518060a00160405280848152602001878681518110620004415762000441620012d5565b60200260200101516001600160a01b0316815260200162000489878781518110620004705762000470620012d5565b602002602001015162000b7160201b6200170e1760201c565b8152602001620004a44262000b7160201b6200170e1760201c565b815260408051808201909152601881527f5468616e6b20796f7520666f722062656c696576696e672e0000000000000000602082810191909152918201528254600181018455600093845292819020825180519394600502909101926200050f92849201906200106f565b506020828101516001830180546001600160a01b0319166001600160a01b03909216919091179055604083015180516200055092600285019201906200106f565b50606082015180516200056e9160038401916020909101906200106f565b50608082015180516200058c9160048401916020909101906200106f565b505050838381518110620005a457620005a4620012d5565b6020026020010151858481518110620005c157620005c1620012d5565b60200260200101516001600160a01b03167f5e91ea8ea1c46300eb761859be01d7b16d44389ef91e03a163a87413cbf55b9560405160405180910390a35050806200060c906200131c565b905062000273565b5050506200177c565b60408051602880825260608281019093526000919060208201818036833701905050905060005b60148110156200077f5760006200065d8260136200133a565b6200066a90600862001354565b6200067790600262001475565b6200068c906001600160a01b038716620014a0565b60f81b9050600060108260f81c620006a59190620014b7565b60f81b905060008160f81c6010620006be9190620014dc565b8360f81c620006ce919062001500565b60f81b9050620006de8262000c8e565b85620006ec86600262001354565b81518110620006ff57620006ff620012d5565b60200101906001600160f81b031916908160001a905350620007218162000c8e565b856200072f86600262001354565b6200073c90600162001301565b815181106200074f576200074f620012d5565b60200101906001600160f81b031916908160001a905350505050808062000776906200131c565b91505062000644565b5092915050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b031633146200083c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620008a35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000833565b620008ae816200078a565b50565b6040805160018082528183019092526060918291600091602080830190803683370190505090508381600081518110620008ef57620008ef620012d5565b6001600160a01b039283166020918202929092010152600c546040516332fe2d9b60e21b8152600092919091169063cbf8b66c906200093390859060040162001526565b600060405180830381865afa15801562000951573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200097b9190810190620015a8565b905080600081518110620009935762000993620012d5565b60200260200101515160001415620009e457620009bb856200061d60201b620015ba1760201c565b604051602001620009cd9190620016be565b604051602081830303815290604052925062000a05565b80600081518110620009fa57620009fa620012d5565b602002602001015192505b50909392505050565b80546001019055565b5490565b6001600160a01b03821662000a735760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000833565b6000818152600260205260409020546001600160a01b03161562000ada5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000833565b62000ae86000838362000cc9565b6001600160a01b038216600090815260036020526040812080546001929062000b1390849062001301565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60608162000b965750506040805180820190915260018152600360fc1b602082015290565b8160005b811562000bc6578062000bad816200131c565b915062000bbe9050600a83620014a0565b915062000b9a565b6000816001600160401b0381111562000be35762000be362001115565b6040519080825280601f01601f19166020018201604052801562000c0e576020820181803683370190505b5090505b841562000c865762000c266001836200133a565b915062000c35600a86620016ea565b62000c4290603062001301565b60f81b81838151811062000c5a5762000c5a620012d5565b60200101906001600160f81b031916908160001a90535062000c7e600a86620014a0565b945062000c12565b949350505050565b6000600a60f883901c101562000cb85762000caf60f883901c603062001701565b60f81b92915050565b62000caf60f883901c605762001701565b6001600160a01b038316158062000ce757506001600160a01b038216155b62000d355760405162461bcd60e51b815260206004820152601b60248201527f534f554c424f554e443a204e6f6e2d5472616e7366657261626c650000000000604482015260640162000833565b62000d4d83838362000d5260201b620018131760201c565b505050565b62000d6a83838362000d4d60201b620006fd1760201c565b6001600160a01b03831662000dc85762000dc281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b62000dee565b816001600160a01b0316836001600160a01b03161462000dee5762000dee838262000e2e565b6001600160a01b03821662000e085762000d4d8162000edb565b826001600160a01b0316826001600160a01b03161462000d4d5762000d4d828262000f95565b6000600162000e488462000fe660201b62000d921760201c565b62000e5491906200133a565b60008381526007602052604090205490915080821462000ea8576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009062000eef906001906200133a565b6000838152600960205260408120546008805493945090928490811062000f1a5762000f1a620012d5565b90600052602060002001549050806008838154811062000f3e5762000f3e620012d5565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548062000f795762000f7962001729565b6001900381819060005260206000200160009055905550505050565b600062000fad8362000fe660201b62000d921760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b038216620010535760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840162000833565b506001600160a01b031660009081526003602052604090205490565b8280546200107d906200173f565b90600052602060002090601f016020900481019282620010a15760008555620010ec565b82601f10620010bc57805160ff1916838001178555620010ec565b82800160010185558215620010ec579182015b82811115620010ec578251825591602001919060010190620010cf565b50620010fa929150620010fe565b5090565b5b80821115620010fa5760008155600101620010ff565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562001156576200115662001115565b604052919050565b60006001600160401b038211156200117a576200117a62001115565b5060051b60200190565b600082601f8301126200119657600080fd5b81516020620011af620011a9836200115e565b6200112b565b82815260059290921b84018101918181019086841115620011cf57600080fd5b8286015b84811015620011ec5780518352918301918301620011d3565b509695505050505050565b600080604083850312156200120b57600080fd5b82516001600160401b03808211156200122357600080fd5b818501915085601f8301126200123857600080fd5b815160206200124b620011a9836200115e565b82815260059290921b840181019181810190898411156200126b57600080fd5b948201945b83861015620012a25785516001600160a01b0381168114620012925760008081fd5b8252948201949082019062001270565b91880151919650909350505080821115620012bc57600080fd5b50620012cb8582860162001184565b9150509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115620013175762001317620012eb565b500190565b6000600019821415620013335762001333620012eb565b5060010190565b6000828210156200134f576200134f620012eb565b500390565b6000816000190483118215151615620013715762001371620012eb565b500290565b600181815b80851115620013b75781600019048211156200139b576200139b620012eb565b80851615620013a957918102915b93841c93908002906200137b565b509250929050565b600082620013d0575060016200146f565b81620013df575060006200146f565b8160018114620013f85760028114620014035762001423565b60019150506200146f565b60ff841115620014175762001417620012eb565b50506001821b6200146f565b5060208310610133831016604e8410600b841016171562001448575081810a6200146f565b62001454838362001376565b80600019048211156200146b576200146b620012eb565b0290505b92915050565b6000620014838383620013bf565b9392505050565b634e487b7160e01b600052601260045260246000fd5b600082620014b257620014b26200148a565b500490565b600060ff831680620014cd57620014cd6200148a565b8060ff84160491505092915050565b600060ff821660ff84168160ff04811182151516156200146b576200146b620012eb565b600060ff821660ff8416808210156200151d576200151d620012eb565b90039392505050565b6020808252825182820181905260009190848201906040850190845b81811015620015695783516001600160a01b03168352928401929184019160010162001542565b50909695505050505050565b60005b838110156200159257818101518382015260200162001578565b83811115620015a2576000848401525b50505050565b60006020808385031215620015bc57600080fd5b82516001600160401b0380821115620015d457600080fd5b8185019150601f8681840112620015ea57600080fd5b8251620015fb620011a9826200115e565b81815260059190911b840185019085810190898311156200161b57600080fd5b8686015b83811015620016b057805186811115620016395760008081fd5b8701603f81018c136200164c5760008081fd5b8881015160408882111562001665576200166562001115565b62001678828901601f19168c016200112b565b8281528e828486010111156200168e5760008081fd5b6200169f838d830184870162001575565b86525050509187019187016200161f565b509998505050505050505050565b61060f60f31b815260008251620016dd81600285016020870162001575565b9190910160020192915050565b600082620016fc57620016fc6200148a565b500690565b600060ff821660ff84168060ff03821115620017215762001721620012eb565b019392505050565b634e487b7160e01b600052603160045260246000fd5b600181811c908216806200175457607f821691505b602082108114156200177657634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051610100516154ce620017dd600039600061089e0152600061079c0152600081816108cb01528181610a570152610bb1015260008181610f9e0152611124015260008181610f0d015261109301526154ce6000f3fe6080604052600436106101985760003560e01c806370a08231116100e2578063c87b56dd11610085578063c87b56dd14610464578063ca7d3e2914610484578063d9203db6146104b1578063e867e1f2146104c6578063e8a3d485146104fa578063e985e9c51461050f578063f2fde38b1461052f578063fb5bde1e1461054f57600080fd5b806370a08231146103a4578063715018a6146103c457806388ffe867146103d95780638da5cb5b146103e157806390ff38be146103ff57806395d89b4114610414578063a22cb46514610429578063b88d4fde1461044457600080fd5b80633644e5151161014a5780633644e515146102ad578063368b8772146102c257806342842e0e146102e25780634f6ccce7146103025780635298a824146103225780635b11d1bd1461034f5780635e730f8b1461036f5780636352211e1461038457600080fd5b806301ffc9a71461019d57806306fdde03146101d2578063081812fc146101f4578063095ea7b31461022c57806318160ddd1461024e57806323b872dd1461026d5780632f745c591461028d575b600080fd5b3480156101a957600080fd5b506101bd6101b83660046128f9565b610569565b60405190151581526020015b60405180910390f35b3480156101de57600080fd5b506101e7610594565b6040516101c99190612975565b34801561020057600080fd5b5061021461020f366004612988565b610626565b6040516001600160a01b0390911681526020016101c9565b34801561023857600080fd5b5061024c6102473660046129b8565b6106b3565b005b34801561025a57600080fd5b506008545b6040519081526020016101c9565b34801561027957600080fd5b5061024c6102883660046129e2565b6106cc565b34801561029957600080fd5b5061025f6102a83660046129b8565b610702565b3480156102b957600080fd5b5061025f610798565b3480156102ce57600080fd5b5061024c6102dd366004612a66565b6108c0565b3480156102ee57600080fd5b5061024c6102fd3660046129e2565b61090f565b34801561030e57600080fd5b5061025f61031d366004612988565b61092a565b34801561032e57600080fd5b5061025f61033d366004612aa7565b60106020526000908152604090205481565b34801561035b57600080fd5b5061024c61036a366004612ac2565b6109bd565b34801561037b57600080fd5b506101e7610c8d565b34801561039057600080fd5b5061021461039f366004612988565b610d1b565b3480156103b057600080fd5b5061025f6103bf366004612aa7565b610d92565b3480156103d057600080fd5b5061024c610e19565b61024c610e4f565b3480156103ed57600080fd5b50600a546001600160a01b0316610214565b34801561040b57600080fd5b5061024c6113ce565b34801561042057600080fd5b506101e7611423565b34801561043557600080fd5b5061024c610247366004612b85565b34801561045057600080fd5b5061024c61045f366004612c2e565b611432565b34801561047057600080fd5b506101e761047f366004612988565b61146a565b34801561049057600080fd5b5061025f61049f366004612aa7565b600f6020526000908152604090205481565b3480156104bd57600080fd5b506101e761149b565b3480156104d257600080fd5b5061025f7fccd08678562e4aabd1f114d011724a173bf59f24e6fdd63c099009f667b56fcc81565b34801561050657600080fd5b506101e76114a8565b34801561051b57600080fd5b506101bd61052a366004612cd8565b6114f4565b34801561053b57600080fd5b5061024c61054a366004612aa7565b611522565b34801561055b57600080fd5b50600e546101bd9060ff1681565b60006001600160e01b0319821663780e9d6360e01b148061058e575061058e826118cb565b92915050565b6060600080546105a390612d0b565b80601f01602080910402602001604051908101604052809291908181526020018280546105cf90612d0b565b801561061c5780601f106105f15761010080835404028352916020019161061c565b820191906000526020600020905b8154815290600101906020018083116105ff57829003601f168201915b5050505050905090565b60006106318261191b565b6106975760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60405163a4420a9560e01b815260040160405180910390fd5b6106d63382611938565b6106f25760405162461bcd60e51b815260040161068e90612d46565b6106fd8383836119fa565b505050565b600061070d83610d92565b821061076f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161068e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60007f0000000000000000000000000000000000000000000000000000000000000000461461089b5750604080518082018252601281527150726f6f664f665374616b655f506167657360701b6020918201528151808301835260018152600360fc1b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527f5f88ebaa5e78c0ad0dcd2533ae1f88b4795be474bcff9cb6d0c67e5b4f24e164818401527f044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d60608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b507f000000000000000000000000000000000000000000000000000000000000000090565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108f557600080fd5b603c81111561090357600080fd5b6106fd601283836127d6565b6106fd83838360405180602001604052806000815250611432565b600061093560085490565b82106109985760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161068e565b600882815481106109ab576109ab612d97565b90600052602060002001549050919050565b6002600b5414156109e05760405162461bcd60e51b815260040161068e90612dad565b6002600b819055506000806000610a2c8b8b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ba592505050565b92509250925060007fccd08678562e4aabd1f114d011724a173bf59f24e6fdd63c099009f667b56fcc7f0000000000000000000000000000000000000000000000000000000000000000338c8c604051610a87929190612de4565b60405180910390208b8b604051610a9f929190612de4565b60405180910390208a8a604051610ab7929190612de4565b6040805191829003822060208301979097526001600160a01b0395861690820152939092166060840152608083015260a082015260c081019190915260e0016040516020818303038152906040528051906020012090506000610b18610798565b60405161190160f01b602082015260228101919091526042810183905260620160408051601f198184030181528282528051602091820120600080855291840180845281905260ff89169284019290925260608301879052608083018690529092509060019060a0016020604051602081039080840390855afa158015610ba3573d6000803e3d6000fd5b5050506020604051035190507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031614610c0157604051638baa579f60e01b815260040160405180910390fd5b6001600160a01b038116610c2857604051635985192160e11b815260040160405180910390fd5b60006001610c37336000610702565b610c419190612e0a565b9050888860138381548110610c5857610c58612d97565b90600052602060002090600502016004019190610c769291906127d6565b50506001600b555050505050505050505050505050565b60118054610c9a90612d0b565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc690612d0b565b8015610d135780601f10610ce857610100808354040283529160200191610d13565b820191906000526020600020905b815481529060010190602001808311610cf657829003601f168201915b505050505081565b6000818152600260205260408120546001600160a01b03168061058e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161068e565b60006001600160a01b038216610dfd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161068e565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610e435760405162461bcd60e51b815260040161068e90612e21565b610e4d6000611bd4565b565b6002600b541415610e725760405162461bcd60e51b815260040161068e90612dad565b6002600b55600e5460ff16610e9a57604051632b9b5df560e01b815260040160405180910390fd5b6579997501a800341015610ec1576040516353f3d98760e11b815260040160405180910390fd5b6000610ecc33611c26565b905060006064610edd600a34612e56565b610ee79190612e8b565b336000908152600f60205260409020549091506001116110875760006001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016610f378334612e0a565b604051600081818185875af1925050503d8060008114610f73576040519150601f19603f3d011682016040523d82523d6000602084013e610f78565b606091505b5050905080610f9a576040516381063e5160e01b815260040160405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168360405160006040518083038185875af1925050503d8060008114611007576040519150601f19603f3d011682016040523d82523d6000602084013e61100c565b606091505b505090508061102e576040516381063e5160e01b815260040160405180910390fd5b336000908152601060205260408120805434929061104d908490612e9f565b9091555050336000908152600f602052604090205461106d906001612e9f565b336000908152600f6020526040902055506113c792505050565b60006001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166110bd8334612e0a565b604051600081818185875af1925050503d80600081146110f9576040519150601f19603f3d011682016040523d82523d6000602084013e6110fe565b606091505b5050905080611120576040516381063e5160e01b815260040160405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168360405160006040518083038185875af1925050503d806000811461118d576040519150601f19603f3d011682016040523d82523d6000602084013e611192565b606091505b50509050806111b4576040516381063e5160e01b815260040160405180910390fd5b33600090815260106020526040812080543492906111d3908490612e9f565b9091555050336000908152600f60205260409020546111f3906001612e9f565b336000908152600f6020526040902055611211600d80546001019055565b600061121c600d5490565b90506112283382611d64565b6040805160a08101825286815233602082015260139181016112493461170e565b81526020016112574261170e565b81526020016012805461126990612d0b565b80601f016020809104026020016040519081016040528092919081815260200182805461129590612d0b565b80156112e25780601f106112b7576101008083540402835291602001916112e2565b820191906000526020600020905b8154815290600101906020018083116112c557829003601f168201915b5050509190925250508154600181018355600092835260209283902082518051939460059093029091019261131a928492019061285a565b506020828101516001830180546001600160a01b0319166001600160a01b0390921691909117905560408301518051611359926002850192019061285a565b506060820151805161137591600384019160209091019061285a565b506080820151805161139191600484019160209091019061285a565b505060405134915033907f5e91ea8ea1c46300eb761859be01d7b16d44389ef91e03a163a87413cbf55b9590600090a350505050505b6001600b55565b600a546001600160a01b031633146113f85760405162461bcd60e51b815260040161068e90612e21565b600e5460ff161561140f57600e805460ff19169055565b600e805460ff191660019081179091555b50565b6060600180546105a390612d0b565b61143c3383611938565b6114585760405162461bcd60e51b815260040161068e90612d46565b61146484848484611ea3565b50505050565b60606114758261191b565b6114925760405163b0ce759160e01b815260040160405180910390fd5b61058e82611ed6565b60128054610c9a90612d0b565b60606114d06040516020016114bc90612eb7565b604051602081830303815290604052611ff5565b6040516020016114e09190613161565b604051602081830303815290604052905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b0316331461154c5760405162461bcd60e51b815260040161068e90612e21565b6001600160a01b0381166115b15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161068e565b61142081611bd4565b60408051602880825260608281019093526000919060208201818036833701905050905060005b60148110156116fa5760006115f7826013612e0a565b611602906008612e56565b61160d90600261328a565b611620906001600160a01b038716612e8b565b60f81b9050600060108260f81c6116379190613296565b60f81b905060008160f81c601061164e91906132b8565b8360f81c61165c91906132d9565b60f81b905061166a8261215a565b85611676866002612e56565b8151811061168657611686612d97565b60200101906001600160f81b031916908160001a9053506116a68161215a565b856116b2866002612e56565b6116bd906001612e9f565b815181106116cd576116cd612d97565b60200101906001600160f81b031916908160001a90535050505080806116f2906132fc565b9150506115e1565b5092915050565b80546001019055565b5490565b6060816117325750506040805180820190915260018152600360fc1b602082015290565b8160005b811561175c5780611746816132fc565b91506117559050600a83612e8b565b9150611736565b6000816001600160401b0381111561177657611776612bc1565b6040519080825280601f01601f1916602001820160405280156117a0576020820181803683370190505b5090505b841561180b576117b5600183612e0a565b91506117c2600a86613317565b6117cd906030612e9f565b60f81b8183815181106117e2576117e2612d97565b60200101906001600160f81b031916908160001a905350611804600a86612e8b565b94506117a4565b949350505050565b6001600160a01b03831661186e5761186981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611891565b816001600160a01b0316836001600160a01b031614611891576118918382612195565b6001600160a01b0382166118a8576106fd81612232565b826001600160a01b0316826001600160a01b0316146106fd576106fd82826122e1565b60006001600160e01b031982166380ac58cd60e01b14806118fc57506001600160e01b03198216635b5e139f60e01b145b8061058e57506301ffc9a760e01b6001600160e01b031983161461058e565b6000908152600260205260409020546001600160a01b0316151590565b60006119438261191b565b6119a45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161068e565b60006119af83610d1b565b9050806001600160a01b0316846001600160a01b031614806119ea5750836001600160a01b03166119df84610626565b6001600160a01b0316145b8061180b575061180b81856114f4565b826001600160a01b0316611a0d82610d1b565b6001600160a01b031614611a755760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161068e565b6001600160a01b038216611ad75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161068e565b611ae2838383612325565b611aed600082612399565b6001600160a01b0383166000908152600360205260408120805460019290611b16908490612e0a565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b44908490612e9f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008060008351604114611bb857600080fd5b5050506020810151604082015160609092015160001a92909190565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160018082528183019092526060918291600091602080830190803683370190505090508381600081518110611c6157611c61612d97565b6001600160a01b039283166020918202929092010152600c546040516332fe2d9b60e21b8152600092919091169063cbf8b66c90611ca390859060040161332b565b600060405180830381865afa158015611cc0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce89190810190613378565b905080600081518110611cfd57611cfd612d97565b60200260200101515160001415611d3d57611d17856115ba565b604051602001611d279190613476565b6040516020818303038152906040529250611d5b565b80600081518110611d5057611d50612d97565b602002602001015192505b50909392505050565b6001600160a01b038216611dba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161068e565b611dc38161191b565b15611e105760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161068e565b611e1c60008383612325565b6001600160a01b0382166000908152600360205260408120805460019290611e45908490612e9f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611eae8484846119fa565b611eba84848484612407565b6114645760405162461bcd60e51b815260040161068e906134a0565b60606000611ee5600184612e0a565b90506000611efa611ef583612505565b611ff5565b9050611fcd60138381548110611f1257611f12612d97565b906000526020600020906005020160000160138481548110611f3657611f36612d97565b9060005260206000209060050201600301611f946010600060138881548110611f6157611f61612d97565b60009182526020808320600160059093020191909101546001600160a01b0316835282019290925260400190205461170e565b60138681548110611fa757611fa7612d97565b9060005260206000209060050201600401856040516020016114bc95949392919061358c565b604051602001611fdd9190613161565b60405160208183030381529060405292505050919050565b606081516000141561201557505060408051602081019091526000815290565b600060405180606001604052806040815260200161543960409139905060006003845160026120449190612e9f565b61204e9190612e8b565b612059906004612e56565b90506000612068826020612e9f565b6001600160401b0381111561207f5761207f612bc1565b6040519080825280601f01601f1916602001820160405280156120a9576020820181803683370190505b509050818152600183018586518101602084015b81831015612115576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253506001016120bd565b60038951066001811461212f57600281146121405761214c565b613d3d60f01b60011983015261214c565b603d60f81b6000198301525b509398975050505050505050565b6000600a60f883901c10156121815761217860f883901c60306136cc565b60f81b92915050565b61217860f883901c60576136cc565b919050565b600060016121a284610d92565b6121ac9190612e0a565b6000838152600760205260409020549091508082146121ff576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061224490600190612e0a565b6000838152600960205260408120546008805493945090928490811061226c5761226c612d97565b90600052602060002001549050806008838154811061228d5761228d612d97565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122c5576122c56136f1565b6001900381819060005260206000200160009055905550505050565b60006122ec83610d92565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038316158061234257506001600160a01b038216155b61238e5760405162461bcd60e51b815260206004820152601b60248201527f534f554c424f554e443a204e6f6e2d5472616e7366657261626c650000000000604482015260640161068e565b6106fd838383611813565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906123ce82610d1b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b0384163b156124fa57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061244b903390899088908890600401613707565b6020604051808303816000875af1925050508015612486575060408051601f3d908101601f1916820190925261248391810190613744565b60015b6124e0573d8080156124b4576040519150601f19603f3d011682016040523d82523d6000602084013e6124b9565b606091505b5080516124d85760405162461bcd60e51b815260040161068e906134a0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061180b565b506001949350505050565b60608060606013848154811061251d5761251d612d97565b9060005260206000209060050201600401805461253990612d0b565b151590506125bd5760405160200161258a9060008051602061547983398151915281526d1b971a9291103c9e91189918111f60911b6020820152671e17ba39b830b71f60c11b602e82015260360190565b60408051601f19818403018152908290526125a791602001613761565b6040516020818303038152906040529050612620565b601384815481106125d0576125d0612d97565b90600052602060002090600502016004016040516020016125f1919061377d565b60408051601f198184030181529082905261260e91602001613761565b60405160208183030381529060405290505b6000601060006013878154811061263957612639612d97565b60009182526020808320600160059093020191909101546001600160a01b03168352820192909252604001812054915061267b670de0b6b3a764000083612e8b565b9050670de0b6b3a763ffff82116126d8576126958261170e565b6040516020016126a591906137fc565b60408051601f19818403018152908290526126c291602001613761565b6040516020818303038152906040529350612720565b6126e18161170e565b6040516020016126f19190613841565b60408051601f198184030181529082905261270e91602001613761565b60405160208183030381529060405293505b6013868154811061273357612733612d97565b90600052602060002090600502016000016013878154811061275757612757612d97565b90600052602060002090600502016003018560405160200161277b93929190613886565b60405160208183030381529060405260118460405160200161279e929190613e1a565b60408051601f19818403018152908290526127bc9291602001615409565b604051602081830303815290604052945050505050919050565b8280546127e290612d0b565b90600052602060002090601f016020900481019282612804576000855561284a565b82601f1061281d5782800160ff1982351617855561284a565b8280016001018555821561284a579182015b8281111561284a57823582559160200191906001019061282f565b506128569291506128ce565b5090565b82805461286690612d0b565b90600052602060002090601f016020900481019282612888576000855561284a565b82601f106128a157805160ff191683800117855561284a565b8280016001018555821561284a579182015b8281111561284a5782518255916020019190600101906128b3565b5b8082111561285657600081556001016128cf565b6001600160e01b03198116811461142057600080fd5b60006020828403121561290b57600080fd5b8135612916816128e3565b9392505050565b60005b83811015612938578181015183820152602001612920565b838111156114645750506000910152565b6000815180845261296181602086016020860161291d565b601f01601f19169290920160200192915050565b6020815260006129166020830184612949565b60006020828403121561299a57600080fd5b5035919050565b80356001600160a01b038116811461219057600080fd5b600080604083850312156129cb57600080fd5b6129d4836129a1565b946020939093013593505050565b6000806000606084860312156129f757600080fd5b612a00846129a1565b9250612a0e602085016129a1565b9150604084013590509250925092565b60008083601f840112612a3057600080fd5b5081356001600160401b03811115612a4757600080fd5b602083019150836020828501011115612a5f57600080fd5b9250929050565b60008060208385031215612a7957600080fd5b82356001600160401b03811115612a8f57600080fd5b612a9b85828601612a1e565b90969095509350505050565b600060208284031215612ab957600080fd5b612916826129a1565b6000806000806000806000806080898b031215612ade57600080fd5b88356001600160401b0380821115612af557600080fd5b612b018c838d01612a1e565b909a50985060208b0135915080821115612b1a57600080fd5b612b268c838d01612a1e565b909850965060408b0135915080821115612b3f57600080fd5b612b4b8c838d01612a1e565b909650945060608b0135915080821115612b6457600080fd5b50612b718b828c01612a1e565b999c989b5096995094979396929594505050565b60008060408385031215612b9857600080fd5b612ba1836129a1565b915060208301358015158114612bb657600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612bff57612bff612bc1565b604052919050565b60006001600160401b03821115612c2057612c20612bc1565b50601f01601f191660200190565b60008060008060808587031215612c4457600080fd5b612c4d856129a1565b9350612c5b602086016129a1565b92506040850135915060608501356001600160401b03811115612c7d57600080fd5b8501601f81018713612c8e57600080fd5b8035612ca1612c9c82612c07565b612bd7565b818152886020838501011115612cb657600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060408385031215612ceb57600080fd5b612cf4836129a1565b9150612d02602084016129a1565b90509250929050565b600181811c90821680612d1f57607f821691505b60208210811415612d4057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612e1c57612e1c612df4565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000816000190483118215151615612e7057612e70612df4565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612e9a57612e9a612e75565b500490565b60008219821115612eb257612eb2612df4565b500190565b607b60f81b815267113730b6b2911d1160c11b60018201526d50726f6f66206f66205374616b6560901b6009820152701116113232b9b1b934b83a34b7b7111d1160791b60178201527f566974616c696b20697320636f6d6d697474656420746f20737570706f72746960288201527f6e67206f70656e2d736f75726365207075626c696320676f6f64732c2068652760488201527f732072656c656173696e67206120626f6f6b206f6e2053657074656d6265722060688201527f31332e205765277265207072652d67616d696e672062792072616973696e672060888201527f66756e647320666f72207075626c696320676f6f64732077697468206120747260a88201527f756c7920756e69717565204e46542c20776865726520566974616c696b20736960c88201527f676e732061206d657373616765206469726563746c79206f6e20796f7572207460e88201527f6f6b656e2e205468697320746f6b656e206973207468656e20696e73657274656101088201527f6420696e746f20796f7572206469676974616c20636f70792075706f6e2074686101288201526f6520626f6f6b732072656c656173652160801b6101488201526f11161134b6b0b3b2afb230ba30911d1160811b6101588201527211161132bc3a32b93730b62fb634b735911d1160691b6101688201527f68747470733a2f2f70726f6f666f667374616b652e676974636f696e2e636f2f61017b8201527f222c2273656c6c65725f6665655f62617369735f706f696e7473223a2200000061019b820152600360fc1b6101b8820152721116113332b2afb932b1b4b834b2b73a111d1160691b6101b9820152630307830360e41b6101cc82015261227d60f01b6101d082015260006101d2820161058e565b6000815161315781856020860161291d565b9290920192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161319981601d85016020870161291d565b91909101601d0192915050565b600181815b808511156131e15781600019048211156131c7576131c7612df4565b808516156131d457918102915b93841c93908002906131ab565b509250929050565b6000826131f85750600161058e565b816132055750600061058e565b816001811461321b576002811461322557613241565b600191505061058e565b60ff84111561323657613236612df4565b50506001821b61058e565b5060208310610133831016604e8410600b8410161715613264575081810a61058e565b61326e83836131a6565b806000190482111561328257613282612df4565b029392505050565b600061291683836131e9565b600060ff8316806132a9576132a9612e75565b8060ff84160491505092915050565b600060ff821660ff84168160ff048111821515161561328257613282612df4565b600060ff821660ff8416808210156132f3576132f3612df4565b90039392505050565b600060001982141561331057613310612df4565b5060010190565b60008261332657613326612e75565b500690565b6020808252825182820181905260009190848201906040850190845b8181101561336c5783516001600160a01b031683529284019291840191600101613347565b50909695505050505050565b6000602080838503121561338b57600080fd5b82516001600160401b03808211156133a257600080fd5b818501915085601f8301126133b657600080fd5b8151818111156133c8576133c8612bc1565b8060051b6133d7858201612bd7565b91825283810185019185810190898411156133f157600080fd5b86860192505b838310156134695782518581111561340f5760008081fd5b8601603f81018b136134215760008081fd5b878101516040613433612c9c83612c07565b8281528d828486010111156134485760008081fd5b613457838c830184870161291d565b855250505091860191908601906133f7565b9998505050505050505050565b61060f60f31b81526000825161349381600285016020870161291d565b9190910160020192915050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b8054600090600181811c908083168061350c57607f831692505b602080841082141561352e57634e487b7160e01b600052602260045260246000fd5b818015613542576001811461355357613580565b60ff19861689528489019650613580565b60008881526020902060005b868110156135785781548b82015290850190830161355f565b505084890196505b50505050505092915050565b6d3d9139b4b3b732b22fba37911d1160911b815260006135af600e8301886134f2565b721116101132bc3a32b93730b62fbab936111d1160691b81527f68747470733a2f2f70726f6f666f667374616b652e676974636f696e2e636f2f60138201526f111610113a34b6b2b9ba30b6b8111d1160811b603382015261361460438201886134f2565b6c11161011383632b233b2911d1160991b8152865190915061363d81600d840160208a0161291d565b6d1116101136b2b9b9b0b3b2911d1160911b600d9290910191820152613666601b8201866134f2565b6c1116101134b6b0b3b2911d101160991b81527f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600d82015284519091506136b581602784016020880161291d565b61346960278284010161227d60f01b815260020190565b600060ff821660ff84168060ff038211156136e9576136e9612df4565b019392505050565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061373a90830184612949565b9695505050505050565b60006020828403121561375657600080fd5b8151612916816128e3565b6000825161377381846020870161291d565b9190910192915050565b60008051602061547983398151915281526e1b971a9291103c9e91189918111f1160891b602082015260006137b5602f8301846134f2565b68111e17ba39b830b71f60b91b81526009019392505050565b60008051602061547983398151915281526d1b971a9291103c9e91191b18111f60911b6020820152602e0190565b6000613807826137ce565b835161381781836020880161291d565b6520287765692960d01b9101908152671e17ba39b830b71f60c11b6006820152600e019392505050565b600061384c826137ce565b835161385c81836020880161291d565b6520286574682960d01b9101908152671e17ba39b830b71f60c11b6006820152600e019392505050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f737667222077696474683d223630362e3222206865696768743d22383160208201527f392e34222076696577426f783d22302030203630362e32203831392e34223e3c60408201527f646566733e3c7374796c653e2e617b66696c6c3a236666663b7d2e627b66696c60608201527f6c3a6e6f6e653b7374726f6b653a236439633864623b7374726f6b652d6d697460808201527f65726c696d69743a31303b7374726f6b652d77696474683a3270783b7d2e632c60a08201527f2e642c2e652c2e662c2e672c2e682c2e692c2e6a2c2e6b2c2e6c2c2e6d2c2e6e60c08201527f2c2e6f7b69736f6c6174696f6e3a69736f6c6174653b7d2e632c2e642c2e652c60e08201527f2e662c2e672c2e692c2e6a2c2e6b7b666f6e742d73697a653a353570783b7d2e6101008201527f632c2e657b66696c6c3a236539366235643b7d2e632c2e642c2e652c2e662c2e6101208201527f672c2e6b7b666f6e742d66616d696c793a4c757374446973706c61792d4469646101408201527f6f6e652c204c757374204469646f6e653b7d2e642c2e667b66696c6c3a2339626101608201527f346138643b7d2e657b6c65747465722d73706163696e673a302e3032656d3b7d6101808201527f2e667b6c65747465722d73706163696e673a302e3032656d3b7d2e677b66696c6101a08201527f6c3a233962346138633b7d2e687b666f6e742d73697a653a343570783b66696c6101c08201527f6c3a233063623665613b666f6e742d66616d696c793a4c7573742d4974616c696101e08201527f632c204c7573743b666f6e742d7374796c653a6974616c69633b7d2e692c2e6b6102008201527f7b66696c6c3a233530616535383b7d2e692c2e6a7b666f6e742d66616d696c796102208201527f3a4c7573742d526567756c61722c204c7573743b6c65747465722d73706163696102408201527f6e673a302e3035656d3b7d2e6a7b66696c6c3a236566383931363b7d2e6c2c2e6102608201527f6d7b666f6e742d73697a653a32392e393970783b7d2e6c2c2e6e7b666f6e742d6102808201527f66616d696c793a417269616c2d426f6c644d542c20417269616c3b666f6e742d6102a08201527f7765696768743a3730303b7d2e6d2c2e6f7b666f6e742d66616d696c793a41726102c08201527f69616c4d542c20417269616c3b206d617267696e2d6c6566743a206175746f3b6102e08201527f206d617267696e2d72696768743a206175746f3b2077696474683a203430253b6103008201527f7d2e6e7b666f6e742d73697a653a323070783b7d2e6f7b666f6e742d73697a656103208201527f3a313870783b7d3c2f7374796c653e3c2f646566733e3c7265637420636c61736103408201527f733d2261222077696474683d223630362e3222206865696768743d223831392e6103608201527f34222f3e3c7465787420636c6173733d226e223e3c747370616e20636c6173736103808201527f3d226e2220746578742d616e63686f723d226d6964646c652220783d223530256103a08201526911103c9e911a1912911f60b11b6103c08201526000613e11613e0b613df7613df1613d3d6103ca87018a6134f2565b7f3c2f747370616e3e3c2f746578743e3c74657874207472616e73666f726d3d2281527f7472616e736c617465283735203335322e3835292220666f6e742d73697a653d60208201527f2231382220666f6e742d66616d696c793d22417269616c4d542c20417269616c60408201527f223e3c747370616e20746578742d616e63686f723d226d6964646c652220783d60608201526f11199b971a9291103c9e91191818111f60811b608082015260900190565b876134f2565b671e17ba39b830b71f60c11b815260080190565b84613145565b95945050505050565b6000805160206154798339815191528082526f06e5c6a4a4440f27a44666460447c60f60831b6020830152600090613e5560308401866134f2565b671e17ba39b830b71f60c11b81528451613e7681600884016020890161291d565b01600881018290527f372e35252220793d22323230223e6d696e742074696d657374616d703c2f74736028820152633830b71f60e11b6048820152604c81018290527f372e35252220793d22333430223e636f6e74726163743c2f747370616e3e0000606c820152608a81018290527f372e35252220793d22323830223e76616c75653c2f747370616e3e3c7473706160aa8201527f6e20746578742d616e63686f723d226d6964646c652220783d2233372e35252260ca82015277103c9e91189a18111f1e17ba39b830b71f1e17ba32bc3a1f60411b60ea8201527f3c7265637420636c6173733d22622220783d2232312e392220793d223136392e6101028201527f35222077696474683d223536322e3422206865696768743d223536322e34222f6101228201527f3e3c67207374796c653d2269736f6c6174696f6e3a69736f6c617465223e3c706101428201527f61746820643d224d34362e36362c39382e3933762d2e323868342e38395636306101628201527f2e37314834362e3636762d2e32384836352e39316331322c302c31382e34322c6101828201527f332e31392c31382e34322c31312e31372c302c392e342d31312e37372c31312e6101a28201527f32372d31392e38352c31312e3237682d312e365639382e363568352e3833762e6101c28201527f32385a4d36322e38382c38322e3668312e3663352e38332c302c372e37352d336101e28201527f2e34372c372e37352d3131732d312e39322d31302e38392d372e37352d31302e6102028201527f3839682d312e365a22207374796c653d2266696c6c3a23653936623564222f3e6102228201527f3c2f673e3c67207374796c653d2269736f6c6174696f6e3a69736f6c617465226102428201527f3e3c7061746820643d224d3133352c39312e383463302c352e31362d322e32366102628201527f2c372e35332d392e32312c372e35332d362e37342c302d392e34332d322e32386102828201527f2d31312e35352d382e3633433131332c38372c3131322e34342c37392e35322c6102a28201527f3130372e35322c37392e3532682d312e365639382e363568352e3238762e32386102c28201527f4838392e37762d2e323868342e38395636302e37314838392e37762d2e3238486102e28201527f31303963352e36362c302c31382e34372e32322c31382e34372c392e34362c306103028201527f2c372e35342d31302e37372c392e32372d31372e33322c392e3534762e3039636103228201527f31302e37352c302c31332e39342c332e35322c31362e35382c392e31352c332e6103428201527f33332c372e31322c342e31332c382e31372c352e35332c382e31372c322e322c6103628201527f302c322e34372d332e33352c322e34372d355a6d2d32392d31322e3668312e366103828201527f63352e34342c302c372e38312d322e38362c372e38312d392e33352c302d352e6103a28201527f31312d312e38322d392e31382d372e37392d392e3138682d312e36325a2220736103c28201527f74796c653d2266696c6c3a23396234613864222f3e3c2f673e3c67207374796c6103e28201527f653d2269736f6c6174696f6e3a69736f6c617465223e3c7061746820643d224d6104028201527f3137382e36352c37392e363863302c31322e35342d382e38352c31392e36392d6104228201527f31392e37312c31392e3639732d31392e37322d372e31352d31392e37322d31396104428201527f2e3639533134382e30372c36302c3135382e39342c36302c3137382e36352c366104628201527f372e31342c3137382e36352c37392e36385a6d2d31312e382c3063302d382e346104828201527f312d2e35322d31392e34312d372e39312d31392e3431533135312c37312e32376104a28201527f2c3135312c37392e3638732e35322c31392e34312c372e39322c31392e3431536104c28201527f3136362e38352c38382e312c3136362e38352c37392e36385a22207374796c656104e28201527f3d2266696c6c3a23653936623564222f3e3c2f673e3c67207374796c653d22696105028201527f736f6c6174696f6e3a69736f6c617465223e3c7061746820643d224d3232362e6105228201527f36382c37392e363863302c31322e35342d382e392c31392e36392d31392e38336105428201527f2c31392e3639533138372c39322e32322c3138372c37392e36382c3139352e396105628201527f322c36302c3230362e38352c36302c3232362e36382c36372e31342c3232362e6105828201527f36382c37392e36385a6d2d31312e38372c3063302d382e34312d2e35322d31396105a28201527f2e34312d382d31392e3431732d382c31312d382c31392e34312e35322c31392e6105c28201527f34312c382c31392e3431533231342e38312c38382e312c3231342e38312c37396105e28201527f2e36385a22207374796c653d2266696c6c3a23396234613864222f3e3c2f673e6106028201527f3c67207374796c653d2269736f6c6174696f6e3a69736f6c617465223e3c70616106228201527f746820643d224d3233362e36392c39382e3933762d2e323868342e38395636306106428201527f2e3731682d342e3839762d2e32386833332e39334c3237322c37332e3639682d6106628201527f2e32376c2d2e31312d31632d2e382d372e35362d362e38322d31322d31342e336106828201527f2d3132682d342e345637392e3133682e363163362e31382c302c31302e322d326106a28201527f2e35382c31302e352d372e37326c2e30352d31682e32386c2d2e39332c31372e6106c28201527f3737682d2e32386c2e30352d31632e32382d352e31322d332e34392d372e38316106e28201527f2d392e36372d372e3831682d2e36315639382e363568352e3833762e32385a226107028201527f207374796c653d2266696c6c3a23396234613863222f3e3c2f673e3c672073746107228201527f796c653d2269736f6c6174696f6e3a69736f6c617465223e3c7061746820643d6107428201527f224d3330372e37312c38372e333863302c372e34372d362e37352c31342e31376107628201527f2d31342e37362c31342e31372d362e34332c302d31302e38392d342e32372d316107828201527f302e38392d31302e32312c302d372e372c362e36322d31342e31382c31342e376107a28201527f322d31342e3138433330332e32362c37372e31362c3330372e37312c38312e346107c28201527f342c3330372e37312c38372e33385a6d2d382e32332d342e363463302d322e366107e28201527f352d2e352d352e32322d322e37352d352e32322d352c302d362e34332c31332e6108028201527f38362d362e34332c31382e35342c302c322e36362e34392c352e31332c322e376108228201527f2c352e3133433239382c3130312e31392c3239392e34382c38382e30352c32396108428201527f392e34382c38322e37345a22207374796c653d2266696c6c3a233063623665616108628201527f222f3e3c2f673e3c67207374796c653d2269736f6c6174696f6e3a69736f6c616108828201527f7465223e3c7061746820643d224d3330302e31332c3130352e343661342e36316108a28201527f2c342e36312c302c302c312c342e36382d342e37372c332e39332c332e39332c6108c28201527f302c302c312c342e30392c342e31382c332e32362c332e32362c302c302c302d6108e28201527f322e372c332e323963302c312e30382e34352c312e39332c312e37312c312e396109028201527f332c322e31322c302c342d322e33342c342d352e37362c302d322e30372d2e366109228201527f372d342e33322d342d352e34396c332e33372d3232483330372e366c302d2e336109428201527f3668332e3635632e33312d362e372c322e35322d31312e38382c392e31382d316109628201527f312e38382c342e352c302c362e35372c322e34382c362e35372c352e323761346109828201527f2e37352c342e37352c302c302c312d342e38322c35632d322e322c302d342d316109a28201527f2e34342d342d342e323761332e30392c332e30392c302c302c302c322e38382d6109c28201527f332e3263302d312e33352d2e35382d322e32392d322e30372d322e32392d352e6109e28201527f33312c302d362e38342c31312e33382c312e34342c31312e333868332e326c30610a028201527f2c2e3336682d342e32374c3331362c39382e3735632d2e38362c352e342d332e610a228201527f34372c31322d392e37372c3132433330322e32392c3131302e37322c3330302e610a428201527f31332c3130382e322c3330302e31332c3130352e34365a22207374796c653d22610a628201527f66696c6c3a23306362366561222f3e3c2f673e3c67207374796c653d2269736f610a828201527f6c6174696f6e3a69736f6c617465223e3c7061746820643d224d3334352e3835610aa28201527f2c39382e316c2d342e30372c312e31362d2e38382d3136682e3434632e38382c610ac28201527f362e34342c342e34352c31352e36322c31342e33352c31352e36322c352c302c610ae28201527f392d312e37362c392d352e38332c302d392e32342d32342d382e34312d32342d610b028201527f32312e3732433334302e36382c36342c3334372e37372c36302c3335362e3537610b228201527f2c36306133392e33372c33392e33372c302c302c312c382e37352c312e32366c610b428201527f342e31382d312e31362e37312c31332e3533682d2e3434632d2e38382d362e32610b628201527f312d342e33342d31332e31392d31332e322d31332e31392d342e342c302d372e610b828201527f34322c322e30382d372e34322c352e36362c302c382e34312c32342c372e3039610ba28201527f2c32342c32302e37392c302c372e37352d382e31332c31322e34382d31372e34610bc28201527f332c31322e34384134312e36352c34312e36352c302c302c312c3334352e3835610be28201527f2c39382e315a22207374796c653d2266696c6c3a23353061653538222f3e3c70610c028201527f61746820643d224d3338342e36322c39382e3933762d2e343463352e37322c30610c228201527f2c362e32372d332c362e32372d392e34365636302e3838632d382e39312c302d610c428201527f31322e38372c352e33332d31332e382c31332e3633682d2e34346c312e34382d610c628201527f31342e3037483431356c312e34382c31342e303748343136632d2e39332d382e610c828201527f332d342e38392d31332e36332d31332e382d31332e363356383963302c362e34610ca28201527f342e35352c392e34362c362e32372c392e3436762e34345a22207374796c653d610cc28201527f2266696c6c3a23353061653538222f3e3c2f673e3c67207374796c653d226973610ce28201527f6f6c6174696f6e3a69736f6c617465223e3c7061746820643d224d3435352e35610d028201527f342c38382e343363332e34362c372e322c352e31312c31302e30362c392e3037610d228201527f2c31302e3036762e3434483434322e3138762d2e343463352e32322c302c342e610d428201527f31382d342e31382c312e34382d392e39356c2d312e33392d33483432392e3138610d628201527f632d342c382e33382d322e35392c31322e39322c332e34332c31322e3932762e610d828201527f3434483431372e31762d2e343463342c302c372e34322d342e36372c31312e37610da28201527f312d31332e33366c31322e37312d32352e37395a4d3432392e34352c38354834610dc28201527f34326c2d362e31312d31332e30385a22207374796c653d2266696c6c3a236566610de28201527f38393136222f3e3c7061746820643d224d3530342e37312c38372e363663342e610e028201527f32392c392e35312c352e352c31302e33392c382e31342c31302e3131762e3435610e228201527f6133362e39342c33362e39342c302c302c312d382e37352c312e3236632d362e610e428201527f37362c302d392e342d322e35382d31312e34332d382e37342d312e37362d352e610e628201527f33342d332e32352d31312e34342d362e37372d31312e343461342e30372c342e610e828201527f30372c302c302c302d312e38312e343656383963302c362e34342e34392c392e610ea28201527f34362c342e35362c392e3436762e3434483436372e3236762d2e343463352e35610ec28201527f2c302c352e352d332c352e352d392e34365637302e333363302d362e36352c30610ee28201527f2d392e34362d352e352d392e3436762d2e34336832312e3339762e3433632d34610f028201527f2e30372c302d342e35362c332d342e35362c392e34365637392e316c372d372e610f228201527f363763322e33362d322e35332c352e33392d362e31362c352e33392d382e3431610f428201527f2c302d312e34392d312d322e31352d332e36332d322e3135762d2e3433683136610f628201527f2e3636762e3433632d372c302d31342e36382c372e33322d31382c31302e3935610f828201527f6c2d362e34382c376131382c31382c302c302c312c382e32342d3263352e3536610fa28201527f2c302c382e31392c332e332c31312e34342c31302e38345a22207374796c653d610fc28201527f2266696c6c3a23656638393136222f3e3c2f673e3c67207374796c653d226973610fe28201527f6f6c6174696f6e3a69736f6c617465223e3c7061746820643d224d3535322e326110028201527f2c37332e3639682d2e32386c2d2e31312d31632d2e382d372e35362d362e38326110228201527f2d31322d31342e332d3132483533325637392e3133682e363163362e31382c306110428201527f2c31302e322d322e35382c31302e352d372e37326c2e30362d31682e32376c2d6110628201527f2e39332c31372e3737682d2e32386c2e30362d31632e32372d352e31322d332e6110828201527f352d372e38312d392e36382d372e38314835333256393263302c352e33332e366110a28201527f312c362e372c342e342c362e372c392e38372c302c31362d362e31352c31372e6110c28201527f33352d31356c2e322d312e3234682e32376c2d322e36342c31362e35682d33356110e28201527f2e38762d2e323868342e38395636302e3731682d342e3839762d2e32376833356111028201527f5a22207374796c653d2266696c6c3a23353061653538222f3e3c2f673e3c74656111228201527f787420636c6173733d226c22207472616e73666f726d3d227472616e736c61746111428201527f65283233352e31352032363529223e766974616c696b2e6574683c2f746578746111628201527f3e203c7465787420636c6173733d226d22207472616e73666f726d3d2274726161118282018190527f6e736c617465283236332e34382032393529223e7369676e65723c2f746578746111a28301526111c28201527f6e736c617465283234352e36342033373329223e726563697069656e743c2f746111e28201526932bc3a1f1e17b9bb339f60b11b61120282015261120c810161373a565b6000835161541b81846020880161291d565b83519083019061542f81836020880161291d565b0194935050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c747370616e20746578742d616e63686f723d226d6964646c652220783d2233a264697066735822122045882e1aa5f09c2f8848df18f2b83fe0174b18755e0be3bed58309ee96221cfe64736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000b010ca9be09c382a9f31b79493bb232bcc319f0100000000000000000000000009e08a6c3015fa2c0dbaff4ee2eb659efd9fe31c000000000000000000000000b0ccf43ada6cbaa26dcf4907117b496d49f742420000000000000000000000008913b99d5efd9e391ade59168230f6425813d90a0000000000000000000000001a50a6238eb67285ccd4df17f75cce430baae2a4000000000000000000000000a4ca1b15fe81f57cb2d3f686c7b13309906cd37b000000000000000000000000bfc7cae0fad9b346270ae8fde24827d2d779ef0700000000000000000000000069d95ffcece36dc3f2e9f5e42eb270a0bcd986650000000000000000000000002fd39e6741b1446c51e8a120ab1d69f645e10e0e000000000000000000000000149986e1b481d9e026a3c4f472c0b86a7d5df08d000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000001daff710e78401400000000000000000000000000000000000000000000000001db5a641ef2800000000000000000000000000000000000000000000000000001daff9f9f66100000000000000000000000000000000000000000000000000001daff9f9f66100000000000000000000000000000000000000000000000000001daff9f9f66100000000000000000000000000000000000000000000000000001daff9f9f66100000000000000000000000000000000000000000000000000001daff710e78400000000000000000000000000000000000000000000000000001daff9f9f66100000000000000000000000000000000000000000000000000001daff710e78400000000000000000000000000000000000000000000000000001daff710e784000
Deployed Bytecode
0x6080604052600436106101985760003560e01c806370a08231116100e2578063c87b56dd11610085578063c87b56dd14610464578063ca7d3e2914610484578063d9203db6146104b1578063e867e1f2146104c6578063e8a3d485146104fa578063e985e9c51461050f578063f2fde38b1461052f578063fb5bde1e1461054f57600080fd5b806370a08231146103a4578063715018a6146103c457806388ffe867146103d95780638da5cb5b146103e157806390ff38be146103ff57806395d89b4114610414578063a22cb46514610429578063b88d4fde1461044457600080fd5b80633644e5151161014a5780633644e515146102ad578063368b8772146102c257806342842e0e146102e25780634f6ccce7146103025780635298a824146103225780635b11d1bd1461034f5780635e730f8b1461036f5780636352211e1461038457600080fd5b806301ffc9a71461019d57806306fdde03146101d2578063081812fc146101f4578063095ea7b31461022c57806318160ddd1461024e57806323b872dd1461026d5780632f745c591461028d575b600080fd5b3480156101a957600080fd5b506101bd6101b83660046128f9565b610569565b60405190151581526020015b60405180910390f35b3480156101de57600080fd5b506101e7610594565b6040516101c99190612975565b34801561020057600080fd5b5061021461020f366004612988565b610626565b6040516001600160a01b0390911681526020016101c9565b34801561023857600080fd5b5061024c6102473660046129b8565b6106b3565b005b34801561025a57600080fd5b506008545b6040519081526020016101c9565b34801561027957600080fd5b5061024c6102883660046129e2565b6106cc565b34801561029957600080fd5b5061025f6102a83660046129b8565b610702565b3480156102b957600080fd5b5061025f610798565b3480156102ce57600080fd5b5061024c6102dd366004612a66565b6108c0565b3480156102ee57600080fd5b5061024c6102fd3660046129e2565b61090f565b34801561030e57600080fd5b5061025f61031d366004612988565b61092a565b34801561032e57600080fd5b5061025f61033d366004612aa7565b60106020526000908152604090205481565b34801561035b57600080fd5b5061024c61036a366004612ac2565b6109bd565b34801561037b57600080fd5b506101e7610c8d565b34801561039057600080fd5b5061021461039f366004612988565b610d1b565b3480156103b057600080fd5b5061025f6103bf366004612aa7565b610d92565b3480156103d057600080fd5b5061024c610e19565b61024c610e4f565b3480156103ed57600080fd5b50600a546001600160a01b0316610214565b34801561040b57600080fd5b5061024c6113ce565b34801561042057600080fd5b506101e7611423565b34801561043557600080fd5b5061024c610247366004612b85565b34801561045057600080fd5b5061024c61045f366004612c2e565b611432565b34801561047057600080fd5b506101e761047f366004612988565b61146a565b34801561049057600080fd5b5061025f61049f366004612aa7565b600f6020526000908152604090205481565b3480156104bd57600080fd5b506101e761149b565b3480156104d257600080fd5b5061025f7fccd08678562e4aabd1f114d011724a173bf59f24e6fdd63c099009f667b56fcc81565b34801561050657600080fd5b506101e76114a8565b34801561051b57600080fd5b506101bd61052a366004612cd8565b6114f4565b34801561053b57600080fd5b5061024c61054a366004612aa7565b611522565b34801561055b57600080fd5b50600e546101bd9060ff1681565b60006001600160e01b0319821663780e9d6360e01b148061058e575061058e826118cb565b92915050565b6060600080546105a390612d0b565b80601f01602080910402602001604051908101604052809291908181526020018280546105cf90612d0b565b801561061c5780601f106105f15761010080835404028352916020019161061c565b820191906000526020600020905b8154815290600101906020018083116105ff57829003601f168201915b5050505050905090565b60006106318261191b565b6106975760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60405163a4420a9560e01b815260040160405180910390fd5b6106d63382611938565b6106f25760405162461bcd60e51b815260040161068e90612d46565b6106fd8383836119fa565b505050565b600061070d83610d92565b821061076f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161068e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60007f0000000000000000000000000000000000000000000000000000000000000001461461089b5750604080518082018252601281527150726f6f664f665374616b655f506167657360701b6020918201528151808301835260018152600360fc1b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527f5f88ebaa5e78c0ad0dcd2533ae1f88b4795be474bcff9cb6d0c67e5b4f24e164818401527f044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d60608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b507f52dddbf5e2cb594ec6299f97a1f8c08dc837a650902f0e95ee78e61c78e4aead90565b336001600160a01b037f000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa9604516146108f557600080fd5b603c81111561090357600080fd5b6106fd601283836127d6565b6106fd83838360405180602001604052806000815250611432565b600061093560085490565b82106109985760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161068e565b600882815481106109ab576109ab612d97565b90600052602060002001549050919050565b6002600b5414156109e05760405162461bcd60e51b815260040161068e90612dad565b6002600b819055506000806000610a2c8b8b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ba592505050565b92509250925060007fccd08678562e4aabd1f114d011724a173bf59f24e6fdd63c099009f667b56fcc7f000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045338c8c604051610a87929190612de4565b60405180910390208b8b604051610a9f929190612de4565b60405180910390208a8a604051610ab7929190612de4565b6040805191829003822060208301979097526001600160a01b0395861690820152939092166060840152608083015260a082015260c081019190915260e0016040516020818303038152906040528051906020012090506000610b18610798565b60405161190160f01b602082015260228101919091526042810183905260620160408051601f198184030181528282528051602091820120600080855291840180845281905260ff89169284019290925260608301879052608083018690529092509060019060a0016020604051602081039080840390855afa158015610ba3573d6000803e3d6000fd5b5050506020604051035190507f000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960456001600160a01b0316816001600160a01b031614610c0157604051638baa579f60e01b815260040160405180910390fd5b6001600160a01b038116610c2857604051635985192160e11b815260040160405180910390fd5b60006001610c37336000610702565b610c419190612e0a565b9050888860138381548110610c5857610c58612d97565b90600052602060002090600502016004019190610c769291906127d6565b50506001600b555050505050505050505050505050565b60118054610c9a90612d0b565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc690612d0b565b8015610d135780601f10610ce857610100808354040283529160200191610d13565b820191906000526020600020905b815481529060010190602001808311610cf657829003601f168201915b505050505081565b6000818152600260205260408120546001600160a01b03168061058e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161068e565b60006001600160a01b038216610dfd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161068e565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610e435760405162461bcd60e51b815260040161068e90612e21565b610e4d6000611bd4565b565b6002600b541415610e725760405162461bcd60e51b815260040161068e90612dad565b6002600b55600e5460ff16610e9a57604051632b9b5df560e01b815260040160405180910390fd5b6579997501a800341015610ec1576040516353f3d98760e11b815260040160405180910390fd5b6000610ecc33611c26565b905060006064610edd600a34612e56565b610ee79190612e8b565b336000908152600f60205260409020549091506001116110875760006001600160a01b037f000000000000000000000000de21f729137c5af1b01d73af1dc21effa2b8a0d616610f378334612e0a565b604051600081818185875af1925050503d8060008114610f73576040519150601f19603f3d011682016040523d82523d6000602084013e610f78565b606091505b5050905080610f9a576040516381063e5160e01b815260040160405180910390fd5b60007f000000000000000000000000209d3040c2dedcb7124be89fc6849423621edeac6001600160a01b03168360405160006040518083038185875af1925050503d8060008114611007576040519150601f19603f3d011682016040523d82523d6000602084013e61100c565b606091505b505090508061102e576040516381063e5160e01b815260040160405180910390fd5b336000908152601060205260408120805434929061104d908490612e9f565b9091555050336000908152600f602052604090205461106d906001612e9f565b336000908152600f6020526040902055506113c792505050565b60006001600160a01b037f000000000000000000000000de21f729137c5af1b01d73af1dc21effa2b8a0d6166110bd8334612e0a565b604051600081818185875af1925050503d80600081146110f9576040519150601f19603f3d011682016040523d82523d6000602084013e6110fe565b606091505b5050905080611120576040516381063e5160e01b815260040160405180910390fd5b60007f000000000000000000000000209d3040c2dedcb7124be89fc6849423621edeac6001600160a01b03168360405160006040518083038185875af1925050503d806000811461118d576040519150601f19603f3d011682016040523d82523d6000602084013e611192565b606091505b50509050806111b4576040516381063e5160e01b815260040160405180910390fd5b33600090815260106020526040812080543492906111d3908490612e9f565b9091555050336000908152600f60205260409020546111f3906001612e9f565b336000908152600f6020526040902055611211600d80546001019055565b600061121c600d5490565b90506112283382611d64565b6040805160a08101825286815233602082015260139181016112493461170e565b81526020016112574261170e565b81526020016012805461126990612d0b565b80601f016020809104026020016040519081016040528092919081815260200182805461129590612d0b565b80156112e25780601f106112b7576101008083540402835291602001916112e2565b820191906000526020600020905b8154815290600101906020018083116112c557829003601f168201915b5050509190925250508154600181018355600092835260209283902082518051939460059093029091019261131a928492019061285a565b506020828101516001830180546001600160a01b0319166001600160a01b0390921691909117905560408301518051611359926002850192019061285a565b506060820151805161137591600384019160209091019061285a565b506080820151805161139191600484019160209091019061285a565b505060405134915033907f5e91ea8ea1c46300eb761859be01d7b16d44389ef91e03a163a87413cbf55b9590600090a350505050505b6001600b55565b600a546001600160a01b031633146113f85760405162461bcd60e51b815260040161068e90612e21565b600e5460ff161561140f57600e805460ff19169055565b600e805460ff191660019081179091555b50565b6060600180546105a390612d0b565b61143c3383611938565b6114585760405162461bcd60e51b815260040161068e90612d46565b61146484848484611ea3565b50505050565b60606114758261191b565b6114925760405163b0ce759160e01b815260040160405180910390fd5b61058e82611ed6565b60128054610c9a90612d0b565b60606114d06040516020016114bc90612eb7565b604051602081830303815290604052611ff5565b6040516020016114e09190613161565b604051602081830303815290604052905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b0316331461154c5760405162461bcd60e51b815260040161068e90612e21565b6001600160a01b0381166115b15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161068e565b61142081611bd4565b60408051602880825260608281019093526000919060208201818036833701905050905060005b60148110156116fa5760006115f7826013612e0a565b611602906008612e56565b61160d90600261328a565b611620906001600160a01b038716612e8b565b60f81b9050600060108260f81c6116379190613296565b60f81b905060008160f81c601061164e91906132b8565b8360f81c61165c91906132d9565b60f81b905061166a8261215a565b85611676866002612e56565b8151811061168657611686612d97565b60200101906001600160f81b031916908160001a9053506116a68161215a565b856116b2866002612e56565b6116bd906001612e9f565b815181106116cd576116cd612d97565b60200101906001600160f81b031916908160001a90535050505080806116f2906132fc565b9150506115e1565b5092915050565b80546001019055565b5490565b6060816117325750506040805180820190915260018152600360fc1b602082015290565b8160005b811561175c5780611746816132fc565b91506117559050600a83612e8b565b9150611736565b6000816001600160401b0381111561177657611776612bc1565b6040519080825280601f01601f1916602001820160405280156117a0576020820181803683370190505b5090505b841561180b576117b5600183612e0a565b91506117c2600a86613317565b6117cd906030612e9f565b60f81b8183815181106117e2576117e2612d97565b60200101906001600160f81b031916908160001a905350611804600a86612e8b565b94506117a4565b949350505050565b6001600160a01b03831661186e5761186981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611891565b816001600160a01b0316836001600160a01b031614611891576118918382612195565b6001600160a01b0382166118a8576106fd81612232565b826001600160a01b0316826001600160a01b0316146106fd576106fd82826122e1565b60006001600160e01b031982166380ac58cd60e01b14806118fc57506001600160e01b03198216635b5e139f60e01b145b8061058e57506301ffc9a760e01b6001600160e01b031983161461058e565b6000908152600260205260409020546001600160a01b0316151590565b60006119438261191b565b6119a45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161068e565b60006119af83610d1b565b9050806001600160a01b0316846001600160a01b031614806119ea5750836001600160a01b03166119df84610626565b6001600160a01b0316145b8061180b575061180b81856114f4565b826001600160a01b0316611a0d82610d1b565b6001600160a01b031614611a755760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161068e565b6001600160a01b038216611ad75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161068e565b611ae2838383612325565b611aed600082612399565b6001600160a01b0383166000908152600360205260408120805460019290611b16908490612e0a565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b44908490612e9f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008060008351604114611bb857600080fd5b5050506020810151604082015160609092015160001a92909190565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160018082528183019092526060918291600091602080830190803683370190505090508381600081518110611c6157611c61612d97565b6001600160a01b039283166020918202929092010152600c546040516332fe2d9b60e21b8152600092919091169063cbf8b66c90611ca390859060040161332b565b600060405180830381865afa158015611cc0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce89190810190613378565b905080600081518110611cfd57611cfd612d97565b60200260200101515160001415611d3d57611d17856115ba565b604051602001611d279190613476565b6040516020818303038152906040529250611d5b565b80600081518110611d5057611d50612d97565b602002602001015192505b50909392505050565b6001600160a01b038216611dba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161068e565b611dc38161191b565b15611e105760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161068e565b611e1c60008383612325565b6001600160a01b0382166000908152600360205260408120805460019290611e45908490612e9f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611eae8484846119fa565b611eba84848484612407565b6114645760405162461bcd60e51b815260040161068e906134a0565b60606000611ee5600184612e0a565b90506000611efa611ef583612505565b611ff5565b9050611fcd60138381548110611f1257611f12612d97565b906000526020600020906005020160000160138481548110611f3657611f36612d97565b9060005260206000209060050201600301611f946010600060138881548110611f6157611f61612d97565b60009182526020808320600160059093020191909101546001600160a01b0316835282019290925260400190205461170e565b60138681548110611fa757611fa7612d97565b9060005260206000209060050201600401856040516020016114bc95949392919061358c565b604051602001611fdd9190613161565b60405160208183030381529060405292505050919050565b606081516000141561201557505060408051602081019091526000815290565b600060405180606001604052806040815260200161543960409139905060006003845160026120449190612e9f565b61204e9190612e8b565b612059906004612e56565b90506000612068826020612e9f565b6001600160401b0381111561207f5761207f612bc1565b6040519080825280601f01601f1916602001820160405280156120a9576020820181803683370190505b509050818152600183018586518101602084015b81831015612115576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253506001016120bd565b60038951066001811461212f57600281146121405761214c565b613d3d60f01b60011983015261214c565b603d60f81b6000198301525b509398975050505050505050565b6000600a60f883901c10156121815761217860f883901c60306136cc565b60f81b92915050565b61217860f883901c60576136cc565b919050565b600060016121a284610d92565b6121ac9190612e0a565b6000838152600760205260409020549091508082146121ff576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061224490600190612e0a565b6000838152600960205260408120546008805493945090928490811061226c5761226c612d97565b90600052602060002001549050806008838154811061228d5761228d612d97565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122c5576122c56136f1565b6001900381819060005260206000200160009055905550505050565b60006122ec83610d92565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038316158061234257506001600160a01b038216155b61238e5760405162461bcd60e51b815260206004820152601b60248201527f534f554c424f554e443a204e6f6e2d5472616e7366657261626c650000000000604482015260640161068e565b6106fd838383611813565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906123ce82610d1b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b0384163b156124fa57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061244b903390899088908890600401613707565b6020604051808303816000875af1925050508015612486575060408051601f3d908101601f1916820190925261248391810190613744565b60015b6124e0573d8080156124b4576040519150601f19603f3d011682016040523d82523d6000602084013e6124b9565b606091505b5080516124d85760405162461bcd60e51b815260040161068e906134a0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061180b565b506001949350505050565b60608060606013848154811061251d5761251d612d97565b9060005260206000209060050201600401805461253990612d0b565b151590506125bd5760405160200161258a9060008051602061547983398151915281526d1b971a9291103c9e91189918111f60911b6020820152671e17ba39b830b71f60c11b602e82015260360190565b60408051601f19818403018152908290526125a791602001613761565b6040516020818303038152906040529050612620565b601384815481106125d0576125d0612d97565b90600052602060002090600502016004016040516020016125f1919061377d565b60408051601f198184030181529082905261260e91602001613761565b60405160208183030381529060405290505b6000601060006013878154811061263957612639612d97565b60009182526020808320600160059093020191909101546001600160a01b03168352820192909252604001812054915061267b670de0b6b3a764000083612e8b565b9050670de0b6b3a763ffff82116126d8576126958261170e565b6040516020016126a591906137fc565b60408051601f19818403018152908290526126c291602001613761565b6040516020818303038152906040529350612720565b6126e18161170e565b6040516020016126f19190613841565b60408051601f198184030181529082905261270e91602001613761565b60405160208183030381529060405293505b6013868154811061273357612733612d97565b90600052602060002090600502016000016013878154811061275757612757612d97565b90600052602060002090600502016003018560405160200161277b93929190613886565b60405160208183030381529060405260118460405160200161279e929190613e1a565b60408051601f19818403018152908290526127bc9291602001615409565b604051602081830303815290604052945050505050919050565b8280546127e290612d0b565b90600052602060002090601f016020900481019282612804576000855561284a565b82601f1061281d5782800160ff1982351617855561284a565b8280016001018555821561284a579182015b8281111561284a57823582559160200191906001019061282f565b506128569291506128ce565b5090565b82805461286690612d0b565b90600052602060002090601f016020900481019282612888576000855561284a565b82601f106128a157805160ff191683800117855561284a565b8280016001018555821561284a579182015b8281111561284a5782518255916020019190600101906128b3565b5b8082111561285657600081556001016128cf565b6001600160e01b03198116811461142057600080fd5b60006020828403121561290b57600080fd5b8135612916816128e3565b9392505050565b60005b83811015612938578181015183820152602001612920565b838111156114645750506000910152565b6000815180845261296181602086016020860161291d565b601f01601f19169290920160200192915050565b6020815260006129166020830184612949565b60006020828403121561299a57600080fd5b5035919050565b80356001600160a01b038116811461219057600080fd5b600080604083850312156129cb57600080fd5b6129d4836129a1565b946020939093013593505050565b6000806000606084860312156129f757600080fd5b612a00846129a1565b9250612a0e602085016129a1565b9150604084013590509250925092565b60008083601f840112612a3057600080fd5b5081356001600160401b03811115612a4757600080fd5b602083019150836020828501011115612a5f57600080fd5b9250929050565b60008060208385031215612a7957600080fd5b82356001600160401b03811115612a8f57600080fd5b612a9b85828601612a1e565b90969095509350505050565b600060208284031215612ab957600080fd5b612916826129a1565b6000806000806000806000806080898b031215612ade57600080fd5b88356001600160401b0380821115612af557600080fd5b612b018c838d01612a1e565b909a50985060208b0135915080821115612b1a57600080fd5b612b268c838d01612a1e565b909850965060408b0135915080821115612b3f57600080fd5b612b4b8c838d01612a1e565b909650945060608b0135915080821115612b6457600080fd5b50612b718b828c01612a1e565b999c989b5096995094979396929594505050565b60008060408385031215612b9857600080fd5b612ba1836129a1565b915060208301358015158114612bb657600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612bff57612bff612bc1565b604052919050565b60006001600160401b03821115612c2057612c20612bc1565b50601f01601f191660200190565b60008060008060808587031215612c4457600080fd5b612c4d856129a1565b9350612c5b602086016129a1565b92506040850135915060608501356001600160401b03811115612c7d57600080fd5b8501601f81018713612c8e57600080fd5b8035612ca1612c9c82612c07565b612bd7565b818152886020838501011115612cb657600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060408385031215612ceb57600080fd5b612cf4836129a1565b9150612d02602084016129a1565b90509250929050565b600181811c90821680612d1f57607f821691505b60208210811415612d4057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612e1c57612e1c612df4565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000816000190483118215151615612e7057612e70612df4565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612e9a57612e9a612e75565b500490565b60008219821115612eb257612eb2612df4565b500190565b607b60f81b815267113730b6b2911d1160c11b60018201526d50726f6f66206f66205374616b6560901b6009820152701116113232b9b1b934b83a34b7b7111d1160791b60178201527f566974616c696b20697320636f6d6d697474656420746f20737570706f72746960288201527f6e67206f70656e2d736f75726365207075626c696320676f6f64732c2068652760488201527f732072656c656173696e67206120626f6f6b206f6e2053657074656d6265722060688201527f31332e205765277265207072652d67616d696e672062792072616973696e672060888201527f66756e647320666f72207075626c696320676f6f64732077697468206120747260a88201527f756c7920756e69717565204e46542c20776865726520566974616c696b20736960c88201527f676e732061206d657373616765206469726563746c79206f6e20796f7572207460e88201527f6f6b656e2e205468697320746f6b656e206973207468656e20696e73657274656101088201527f6420696e746f20796f7572206469676974616c20636f70792075706f6e2074686101288201526f6520626f6f6b732072656c656173652160801b6101488201526f11161134b6b0b3b2afb230ba30911d1160811b6101588201527211161132bc3a32b93730b62fb634b735911d1160691b6101688201527f68747470733a2f2f70726f6f666f667374616b652e676974636f696e2e636f2f61017b8201527f222c2273656c6c65725f6665655f62617369735f706f696e7473223a2200000061019b820152600360fc1b6101b8820152721116113332b2afb932b1b4b834b2b73a111d1160691b6101b9820152630307830360e41b6101cc82015261227d60f01b6101d082015260006101d2820161058e565b6000815161315781856020860161291d565b9290920192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161319981601d85016020870161291d565b91909101601d0192915050565b600181815b808511156131e15781600019048211156131c7576131c7612df4565b808516156131d457918102915b93841c93908002906131ab565b509250929050565b6000826131f85750600161058e565b816132055750600061058e565b816001811461321b576002811461322557613241565b600191505061058e565b60ff84111561323657613236612df4565b50506001821b61058e565b5060208310610133831016604e8410600b8410161715613264575081810a61058e565b61326e83836131a6565b806000190482111561328257613282612df4565b029392505050565b600061291683836131e9565b600060ff8316806132a9576132a9612e75565b8060ff84160491505092915050565b600060ff821660ff84168160ff048111821515161561328257613282612df4565b600060ff821660ff8416808210156132f3576132f3612df4565b90039392505050565b600060001982141561331057613310612df4565b5060010190565b60008261332657613326612e75565b500690565b6020808252825182820181905260009190848201906040850190845b8181101561336c5783516001600160a01b031683529284019291840191600101613347565b50909695505050505050565b6000602080838503121561338b57600080fd5b82516001600160401b03808211156133a257600080fd5b818501915085601f8301126133b657600080fd5b8151818111156133c8576133c8612bc1565b8060051b6133d7858201612bd7565b91825283810185019185810190898411156133f157600080fd5b86860192505b838310156134695782518581111561340f5760008081fd5b8601603f81018b136134215760008081fd5b878101516040613433612c9c83612c07565b8281528d828486010111156134485760008081fd5b613457838c830184870161291d565b855250505091860191908601906133f7565b9998505050505050505050565b61060f60f31b81526000825161349381600285016020870161291d565b9190910160020192915050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b8054600090600181811c908083168061350c57607f831692505b602080841082141561352e57634e487b7160e01b600052602260045260246000fd5b818015613542576001811461355357613580565b60ff19861689528489019650613580565b60008881526020902060005b868110156135785781548b82015290850190830161355f565b505084890196505b50505050505092915050565b6d3d9139b4b3b732b22fba37911d1160911b815260006135af600e8301886134f2565b721116101132bc3a32b93730b62fbab936111d1160691b81527f68747470733a2f2f70726f6f666f667374616b652e676974636f696e2e636f2f60138201526f111610113a34b6b2b9ba30b6b8111d1160811b603382015261361460438201886134f2565b6c11161011383632b233b2911d1160991b8152865190915061363d81600d840160208a0161291d565b6d1116101136b2b9b9b0b3b2911d1160911b600d9290910191820152613666601b8201866134f2565b6c1116101134b6b0b3b2911d101160991b81527f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600d82015284519091506136b581602784016020880161291d565b61346960278284010161227d60f01b815260020190565b600060ff821660ff84168060ff038211156136e9576136e9612df4565b019392505050565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061373a90830184612949565b9695505050505050565b60006020828403121561375657600080fd5b8151612916816128e3565b6000825161377381846020870161291d565b9190910192915050565b60008051602061547983398151915281526e1b971a9291103c9e91189918111f1160891b602082015260006137b5602f8301846134f2565b68111e17ba39b830b71f60b91b81526009019392505050565b60008051602061547983398151915281526d1b971a9291103c9e91191b18111f60911b6020820152602e0190565b6000613807826137ce565b835161381781836020880161291d565b6520287765692960d01b9101908152671e17ba39b830b71f60c11b6006820152600e019392505050565b600061384c826137ce565b835161385c81836020880161291d565b6520286574682960d01b9101908152671e17ba39b830b71f60c11b6006820152600e019392505050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f737667222077696474683d223630362e3222206865696768743d22383160208201527f392e34222076696577426f783d22302030203630362e32203831392e34223e3c60408201527f646566733e3c7374796c653e2e617b66696c6c3a236666663b7d2e627b66696c60608201527f6c3a6e6f6e653b7374726f6b653a236439633864623b7374726f6b652d6d697460808201527f65726c696d69743a31303b7374726f6b652d77696474683a3270783b7d2e632c60a08201527f2e642c2e652c2e662c2e672c2e682c2e692c2e6a2c2e6b2c2e6c2c2e6d2c2e6e60c08201527f2c2e6f7b69736f6c6174696f6e3a69736f6c6174653b7d2e632c2e642c2e652c60e08201527f2e662c2e672c2e692c2e6a2c2e6b7b666f6e742d73697a653a353570783b7d2e6101008201527f632c2e657b66696c6c3a236539366235643b7d2e632c2e642c2e652c2e662c2e6101208201527f672c2e6b7b666f6e742d66616d696c793a4c757374446973706c61792d4469646101408201527f6f6e652c204c757374204469646f6e653b7d2e642c2e667b66696c6c3a2339626101608201527f346138643b7d2e657b6c65747465722d73706163696e673a302e3032656d3b7d6101808201527f2e667b6c65747465722d73706163696e673a302e3032656d3b7d2e677b66696c6101a08201527f6c3a233962346138633b7d2e687b666f6e742d73697a653a343570783b66696c6101c08201527f6c3a233063623665613b666f6e742d66616d696c793a4c7573742d4974616c696101e08201527f632c204c7573743b666f6e742d7374796c653a6974616c69633b7d2e692c2e6b6102008201527f7b66696c6c3a233530616535383b7d2e692c2e6a7b666f6e742d66616d696c796102208201527f3a4c7573742d526567756c61722c204c7573743b6c65747465722d73706163696102408201527f6e673a302e3035656d3b7d2e6a7b66696c6c3a236566383931363b7d2e6c2c2e6102608201527f6d7b666f6e742d73697a653a32392e393970783b7d2e6c2c2e6e7b666f6e742d6102808201527f66616d696c793a417269616c2d426f6c644d542c20417269616c3b666f6e742d6102a08201527f7765696768743a3730303b7d2e6d2c2e6f7b666f6e742d66616d696c793a41726102c08201527f69616c4d542c20417269616c3b206d617267696e2d6c6566743a206175746f3b6102e08201527f206d617267696e2d72696768743a206175746f3b2077696474683a203430253b6103008201527f7d2e6e7b666f6e742d73697a653a323070783b7d2e6f7b666f6e742d73697a656103208201527f3a313870783b7d3c2f7374796c653e3c2f646566733e3c7265637420636c61736103408201527f733d2261222077696474683d223630362e3222206865696768743d223831392e6103608201527f34222f3e3c7465787420636c6173733d226e223e3c747370616e20636c6173736103808201527f3d226e2220746578742d616e63686f723d226d6964646c652220783d223530256103a08201526911103c9e911a1912911f60b11b6103c08201526000613e11613e0b613df7613df1613d3d6103ca87018a6134f2565b7f3c2f747370616e3e3c2f746578743e3c74657874207472616e73666f726d3d2281527f7472616e736c617465283735203335322e3835292220666f6e742d73697a653d60208201527f2231382220666f6e742d66616d696c793d22417269616c4d542c20417269616c60408201527f223e3c747370616e20746578742d616e63686f723d226d6964646c652220783d60608201526f11199b971a9291103c9e91191818111f60811b608082015260900190565b876134f2565b671e17ba39b830b71f60c11b815260080190565b84613145565b95945050505050565b6000805160206154798339815191528082526f06e5c6a4a4440f27a44666460447c60f60831b6020830152600090613e5560308401866134f2565b671e17ba39b830b71f60c11b81528451613e7681600884016020890161291d565b01600881018290527f372e35252220793d22323230223e6d696e742074696d657374616d703c2f74736028820152633830b71f60e11b6048820152604c81018290527f372e35252220793d22333430223e636f6e74726163743c2f747370616e3e0000606c820152608a81018290527f372e35252220793d22323830223e76616c75653c2f747370616e3e3c7473706160aa8201527f6e20746578742d616e63686f723d226d6964646c652220783d2233372e35252260ca82015277103c9e91189a18111f1e17ba39b830b71f1e17ba32bc3a1f60411b60ea8201527f3c7265637420636c6173733d22622220783d2232312e392220793d223136392e6101028201527f35222077696474683d223536322e3422206865696768743d223536322e34222f6101228201527f3e3c67207374796c653d2269736f6c6174696f6e3a69736f6c617465223e3c706101428201527f61746820643d224d34362e36362c39382e3933762d2e323868342e38395636306101628201527f2e37314834362e3636762d2e32384836352e39316331322c302c31382e34322c6101828201527f332e31392c31382e34322c31312e31372c302c392e342d31312e37372c31312e6101a28201527f32372d31392e38352c31312e3237682d312e365639382e363568352e3833762e6101c28201527f32385a4d36322e38382c38322e3668312e3663352e38332c302c372e37352d336101e28201527f2e34372c372e37352d3131732d312e39322d31302e38392d372e37352d31302e6102028201527f3839682d312e365a22207374796c653d2266696c6c3a23653936623564222f3e6102228201527f3c2f673e3c67207374796c653d2269736f6c6174696f6e3a69736f6c617465226102428201527f3e3c7061746820643d224d3133352c39312e383463302c352e31362d322e32366102628201527f2c372e35332d392e32312c372e35332d362e37342c302d392e34332d322e32386102828201527f2d31312e35352d382e3633433131332c38372c3131322e34342c37392e35322c6102a28201527f3130372e35322c37392e3532682d312e365639382e363568352e3238762e32386102c28201527f4838392e37762d2e323868342e38395636302e37314838392e37762d2e3238486102e28201527f31303963352e36362c302c31382e34372e32322c31382e34372c392e34362c306103028201527f2c372e35342d31302e37372c392e32372d31372e33322c392e3534762e3039636103228201527f31302e37352c302c31332e39342c332e35322c31362e35382c392e31352c332e6103428201527f33332c372e31322c342e31332c382e31372c352e35332c382e31372c322e322c6103628201527f302c322e34372d332e33352c322e34372d355a6d2d32392d31322e3668312e366103828201527f63352e34342c302c372e38312d322e38362c372e38312d392e33352c302d352e6103a28201527f31312d312e38322d392e31382d372e37392d392e3138682d312e36325a2220736103c28201527f74796c653d2266696c6c3a23396234613864222f3e3c2f673e3c67207374796c6103e28201527f653d2269736f6c6174696f6e3a69736f6c617465223e3c7061746820643d224d6104028201527f3137382e36352c37392e363863302c31322e35342d382e38352c31392e36392d6104228201527f31392e37312c31392e3639732d31392e37322d372e31352d31392e37322d31396104428201527f2e3639533134382e30372c36302c3135382e39342c36302c3137382e36352c366104628201527f372e31342c3137382e36352c37392e36385a6d2d31312e382c3063302d382e346104828201527f312d2e35322d31392e34312d372e39312d31392e3431533135312c37312e32376104a28201527f2c3135312c37392e3638732e35322c31392e34312c372e39322c31392e3431536104c28201527f3136362e38352c38382e312c3136362e38352c37392e36385a22207374796c656104e28201527f3d2266696c6c3a23653936623564222f3e3c2f673e3c67207374796c653d22696105028201527f736f6c6174696f6e3a69736f6c617465223e3c7061746820643d224d3232362e6105228201527f36382c37392e363863302c31322e35342d382e392c31392e36392d31392e38336105428201527f2c31392e3639533138372c39322e32322c3138372c37392e36382c3139352e396105628201527f322c36302c3230362e38352c36302c3232362e36382c36372e31342c3232362e6105828201527f36382c37392e36385a6d2d31312e38372c3063302d382e34312d2e35322d31396105a28201527f2e34312d382d31392e3431732d382c31312d382c31392e34312e35322c31392e6105c28201527f34312c382c31392e3431533231342e38312c38382e312c3231342e38312c37396105e28201527f2e36385a22207374796c653d2266696c6c3a23396234613864222f3e3c2f673e6106028201527f3c67207374796c653d2269736f6c6174696f6e3a69736f6c617465223e3c70616106228201527f746820643d224d3233362e36392c39382e3933762d2e323868342e38395636306106428201527f2e3731682d342e3839762d2e32386833332e39334c3237322c37332e3639682d6106628201527f2e32376c2d2e31312d31632d2e382d372e35362d362e38322d31322d31342e336106828201527f2d3132682d342e345637392e3133682e363163362e31382c302c31302e322d326106a28201527f2e35382c31302e352d372e37326c2e30352d31682e32386c2d2e39332c31372e6106c28201527f3737682d2e32386c2e30352d31632e32382d352e31322d332e34392d372e38316106e28201527f2d392e36372d372e3831682d2e36315639382e363568352e3833762e32385a226107028201527f207374796c653d2266696c6c3a23396234613863222f3e3c2f673e3c672073746107228201527f796c653d2269736f6c6174696f6e3a69736f6c617465223e3c7061746820643d6107428201527f224d3330372e37312c38372e333863302c372e34372d362e37352c31342e31376107628201527f2d31342e37362c31342e31372d362e34332c302d31302e38392d342e32372d316107828201527f302e38392d31302e32312c302d372e372c362e36322d31342e31382c31342e376107a28201527f322d31342e3138433330332e32362c37372e31362c3330372e37312c38312e346107c28201527f342c3330372e37312c38372e33385a6d2d382e32332d342e363463302d322e366107e28201527f352d2e352d352e32322d322e37352d352e32322d352c302d362e34332c31332e6108028201527f38362d362e34332c31382e35342c302c322e36362e34392c352e31332c322e376108228201527f2c352e3133433239382c3130312e31392c3239392e34382c38382e30352c32396108428201527f392e34382c38322e37345a22207374796c653d2266696c6c3a233063623665616108628201527f222f3e3c2f673e3c67207374796c653d2269736f6c6174696f6e3a69736f6c616108828201527f7465223e3c7061746820643d224d3330302e31332c3130352e343661342e36316108a28201527f2c342e36312c302c302c312c342e36382d342e37372c332e39332c332e39332c6108c28201527f302c302c312c342e30392c342e31382c332e32362c332e32362c302c302c302d6108e28201527f322e372c332e323963302c312e30382e34352c312e39332c312e37312c312e396109028201527f332c322e31322c302c342d322e33342c342d352e37362c302d322e30372d2e366109228201527f372d342e33322d342d352e34396c332e33372d3232483330372e366c302d2e336109428201527f3668332e3635632e33312d362e372c322e35322d31312e38382c392e31382d316109628201527f312e38382c342e352c302c362e35372c322e34382c362e35372c352e323761346109828201527f2e37352c342e37352c302c302c312d342e38322c35632d322e322c302d342d316109a28201527f2e34342d342d342e323761332e30392c332e30392c302c302c302c322e38382d6109c28201527f332e3263302d312e33352d2e35382d322e32392d322e30372d322e32392d352e6109e28201527f33312c302d362e38342c31312e33382c312e34342c31312e333868332e326c30610a028201527f2c2e3336682d342e32374c3331362c39382e3735632d2e38362c352e342d332e610a228201527f34372c31322d392e37372c3132433330322e32392c3131302e37322c3330302e610a428201527f31332c3130382e322c3330302e31332c3130352e34365a22207374796c653d22610a628201527f66696c6c3a23306362366561222f3e3c2f673e3c67207374796c653d2269736f610a828201527f6c6174696f6e3a69736f6c617465223e3c7061746820643d224d3334352e3835610aa28201527f2c39382e316c2d342e30372c312e31362d2e38382d3136682e3434632e38382c610ac28201527f362e34342c342e34352c31352e36322c31342e33352c31352e36322c352c302c610ae28201527f392d312e37362c392d352e38332c302d392e32342d32342d382e34312d32342d610b028201527f32312e3732433334302e36382c36342c3334372e37372c36302c3335362e3537610b228201527f2c36306133392e33372c33392e33372c302c302c312c382e37352c312e32366c610b428201527f342e31382d312e31362e37312c31332e3533682d2e3434632d2e38382d362e32610b628201527f312d342e33342d31332e31392d31332e322d31332e31392d342e342c302d372e610b828201527f34322c322e30382d372e34322c352e36362c302c382e34312c32342c372e3039610ba28201527f2c32342c32302e37392c302c372e37352d382e31332c31322e34382d31372e34610bc28201527f332c31322e34384134312e36352c34312e36352c302c302c312c3334352e3835610be28201527f2c39382e315a22207374796c653d2266696c6c3a23353061653538222f3e3c70610c028201527f61746820643d224d3338342e36322c39382e3933762d2e343463352e37322c30610c228201527f2c362e32372d332c362e32372d392e34365636302e3838632d382e39312c302d610c428201527f31322e38372c352e33332d31332e382c31332e3633682d2e34346c312e34382d610c628201527f31342e3037483431356c312e34382c31342e303748343136632d2e39332d382e610c828201527f332d342e38392d31332e36332d31332e382d31332e363356383963302c362e34610ca28201527f342e35352c392e34362c362e32372c392e3436762e34345a22207374796c653d610cc28201527f2266696c6c3a23353061653538222f3e3c2f673e3c67207374796c653d226973610ce28201527f6f6c6174696f6e3a69736f6c617465223e3c7061746820643d224d3435352e35610d028201527f342c38382e343363332e34362c372e322c352e31312c31302e30362c392e3037610d228201527f2c31302e3036762e3434483434322e3138762d2e343463352e32322c302c342e610d428201527f31382d342e31382c312e34382d392e39356c2d312e33392d33483432392e3138610d628201527f632d342c382e33382d322e35392c31322e39322c332e34332c31322e3932762e610d828201527f3434483431372e31762d2e343463342c302c372e34322d342e36372c31312e37610da28201527f312d31332e33366c31322e37312d32352e37395a4d3432392e34352c38354834610dc28201527f34326c2d362e31312d31332e30385a22207374796c653d2266696c6c3a236566610de28201527f38393136222f3e3c7061746820643d224d3530342e37312c38372e363663342e610e028201527f32392c392e35312c352e352c31302e33392c382e31342c31302e3131762e3435610e228201527f6133362e39342c33362e39342c302c302c312d382e37352c312e3236632d362e610e428201527f37362c302d392e342d322e35382d31312e34332d382e37342d312e37362d352e610e628201527f33342d332e32352d31312e34342d362e37372d31312e343461342e30372c342e610e828201527f30372c302c302c302d312e38312e343656383963302c362e34342e34392c392e610ea28201527f34362c342e35362c392e3436762e3434483436372e3236762d2e343463352e35610ec28201527f2c302c352e352d332c352e352d392e34365637302e333363302d362e36352c30610ee28201527f2d392e34362d352e352d392e3436762d2e34336832312e3339762e3433632d34610f028201527f2e30372c302d342e35362c332d342e35362c392e34365637392e316c372d372e610f228201527f363763322e33362d322e35332c352e33392d362e31362c352e33392d382e3431610f428201527f2c302d312e34392d312d322e31352d332e36332d322e3135762d2e3433683136610f628201527f2e3636762e3433632d372c302d31342e36382c372e33322d31382c31302e3935610f828201527f6c2d362e34382c376131382c31382c302c302c312c382e32342d3263352e3536610fa28201527f2c302c382e31392c332e332c31312e34342c31302e38345a22207374796c653d610fc28201527f2266696c6c3a23656638393136222f3e3c2f673e3c67207374796c653d226973610fe28201527f6f6c6174696f6e3a69736f6c617465223e3c7061746820643d224d3535322e326110028201527f2c37332e3639682d2e32386c2d2e31312d31632d2e382d372e35362d362e38326110228201527f2d31322d31342e332d3132483533325637392e3133682e363163362e31382c306110428201527f2c31302e322d322e35382c31302e352d372e37326c2e30362d31682e32376c2d6110628201527f2e39332c31372e3737682d2e32386c2e30362d31632e32372d352e31322d332e6110828201527f352d372e38312d392e36382d372e38314835333256393263302c352e33332e366110a28201527f312c362e372c342e342c362e372c392e38372c302c31362d362e31352c31372e6110c28201527f33352d31356c2e322d312e3234682e32376c2d322e36342c31362e35682d33356110e28201527f2e38762d2e323868342e38395636302e3731682d342e3839762d2e32376833356111028201527f5a22207374796c653d2266696c6c3a23353061653538222f3e3c2f673e3c74656111228201527f787420636c6173733d226c22207472616e73666f726d3d227472616e736c61746111428201527f65283233352e31352032363529223e766974616c696b2e6574683c2f746578746111628201527f3e203c7465787420636c6173733d226d22207472616e73666f726d3d2274726161118282018190527f6e736c617465283236332e34382032393529223e7369676e65723c2f746578746111a28301526111c28201527f6e736c617465283234352e36342033373329223e726563697069656e743c2f746111e28201526932bc3a1f1e17b9bb339f60b11b61120282015261120c810161373a565b6000835161541b81846020880161291d565b83519083019061542f81836020880161291d565b0194935050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c747370616e20746578742d616e63686f723d226d6964646c652220783d2233a264697066735822122045882e1aa5f09c2f8848df18f2b83fe0174b18755e0be3bed58309ee96221cfe64736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000b010ca9be09c382a9f31b79493bb232bcc319f0100000000000000000000000009e08a6c3015fa2c0dbaff4ee2eb659efd9fe31c000000000000000000000000b0ccf43ada6cbaa26dcf4907117b496d49f742420000000000000000000000008913b99d5efd9e391ade59168230f6425813d90a0000000000000000000000001a50a6238eb67285ccd4df17f75cce430baae2a4000000000000000000000000a4ca1b15fe81f57cb2d3f686c7b13309906cd37b000000000000000000000000bfc7cae0fad9b346270ae8fde24827d2d779ef0700000000000000000000000069d95ffcece36dc3f2e9f5e42eb270a0bcd986650000000000000000000000002fd39e6741b1446c51e8a120ab1d69f645e10e0e000000000000000000000000149986e1b481d9e026a3c4f472c0b86a7d5df08d000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000001daff710e78401400000000000000000000000000000000000000000000000001db5a641ef2800000000000000000000000000000000000000000000000000001daff9f9f66100000000000000000000000000000000000000000000000000001daff9f9f66100000000000000000000000000000000000000000000000000001daff9f9f66100000000000000000000000000000000000000000000000000001daff9f9f66100000000000000000000000000000000000000000000000000001daff710e78400000000000000000000000000000000000000000000000000001daff9f9f66100000000000000000000000000000000000000000000000000001daff710e78400000000000000000000000000000000000000000000000000001daff710e784000
-----Decoded View---------------
Arg [0] : _donors (address[]): 0xb010ca9Be09C382A9f31b79493bb232bCC319f01,0x09E08a6c3015FA2c0DBafF4Ee2EB659Efd9fe31c,0xB0CCf43adA6CBaA26dcf4907117b496d49f74242,0x8913b99d5efD9e391AdE59168230F6425813D90A,0x1A50a6238eb67285cCD4DF17f75CCe430BAAE2A4,0xA4ca1b15fE81F57cb2d3f686c7B13309906cd37B,0xBFc7CAE0Fad9B346270Ae8fde24827D2D779eF07,0x69d95FfCeCe36DC3f2e9f5e42EB270a0BcD98665,0x2fD39e6741b1446C51e8A120aB1D69F645e10e0E,0x149986E1b481D9E026A3C4F472C0B86A7D5DF08D
Arg [1] : _amounts (uint256[]): 133700000000000020,133800000000000000,133700200000000000,133700200000000000,133700200000000000,133700200000000000,133700000000000000,133700200000000000,133700000000000000,133700000000000000
-----Encoded View---------------
24 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 000000000000000000000000b010ca9be09c382a9f31b79493bb232bcc319f01
Arg [4] : 00000000000000000000000009e08a6c3015fa2c0dbaff4ee2eb659efd9fe31c
Arg [5] : 000000000000000000000000b0ccf43ada6cbaa26dcf4907117b496d49f74242
Arg [6] : 0000000000000000000000008913b99d5efd9e391ade59168230f6425813d90a
Arg [7] : 0000000000000000000000001a50a6238eb67285ccd4df17f75cce430baae2a4
Arg [8] : 000000000000000000000000a4ca1b15fe81f57cb2d3f686c7b13309906cd37b
Arg [9] : 000000000000000000000000bfc7cae0fad9b346270ae8fde24827d2d779ef07
Arg [10] : 00000000000000000000000069d95ffcece36dc3f2e9f5e42eb270a0bcd98665
Arg [11] : 0000000000000000000000002fd39e6741b1446c51e8a120ab1d69f645e10e0e
Arg [12] : 000000000000000000000000149986e1b481d9e026a3c4f472c0b86a7d5df08d
Arg [13] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [14] : 00000000000000000000000000000000000000000000000001daff710e784014
Arg [15] : 00000000000000000000000000000000000000000000000001db5a641ef28000
Arg [16] : 00000000000000000000000000000000000000000000000001daff9f9f661000
Arg [17] : 00000000000000000000000000000000000000000000000001daff9f9f661000
Arg [18] : 00000000000000000000000000000000000000000000000001daff9f9f661000
Arg [19] : 00000000000000000000000000000000000000000000000001daff9f9f661000
Arg [20] : 00000000000000000000000000000000000000000000000001daff710e784000
Arg [21] : 00000000000000000000000000000000000000000000000001daff9f9f661000
Arg [22] : 00000000000000000000000000000000000000000000000001daff710e784000
Arg [23] : 00000000000000000000000000000000000000000000000001daff710e784000
Loading...
Loading
Loading...
Loading
[ 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.