Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 69 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw Eth | 20192236 | 54 days ago | IN | 0 ETH | 0.0001257 | ||||
Set Sale Active | 20191973 | 54 days ago | IN | 0 ETH | 0.00011643 | ||||
Mint Item | 20189555 | 55 days ago | IN | 0.04 ETH | 0.00082311 | ||||
Mint Item | 20189554 | 55 days ago | IN | 0.04 ETH | 0.00081936 | ||||
Mint Item | 20187454 | 55 days ago | IN | 0.04 ETH | 0.00076652 | ||||
Mint Item | 20185177 | 55 days ago | IN | 0.04 ETH | 0.00116352 | ||||
Safe Transfer Fr... | 20184683 | 55 days ago | IN | 0 ETH | 0.0017704 | ||||
Transfer From | 20184495 | 55 days ago | IN | 0 ETH | 0.00279671 | ||||
Withdraw Eth | 20170683 | 57 days ago | IN | 0 ETH | 0.00025033 | ||||
Safe Transfer Fr... | 20132658 | 63 days ago | IN | 0 ETH | 0.00134513 | ||||
Safe Transfer Fr... | 20118864 | 64 days ago | IN | 0 ETH | 0.00096662 | ||||
Safe Transfer Fr... | 20107939 | 66 days ago | IN | 0 ETH | 0.00032468 | ||||
Safe Transfer Fr... | 20107801 | 66 days ago | IN | 0 ETH | 0.00032232 | ||||
Transfer From | 20090890 | 68 days ago | IN | 0 ETH | 0.00108452 | ||||
Safe Transfer Fr... | 20090870 | 68 days ago | IN | 0 ETH | 0.00132951 | ||||
Safe Transfer Fr... | 20085637 | 69 days ago | IN | 0 ETH | 0.00072813 | ||||
Safe Transfer Fr... | 20085547 | 69 days ago | IN | 0 ETH | 0.00081522 | ||||
Safe Transfer Fr... | 20085390 | 69 days ago | IN | 0 ETH | 0.00087753 | ||||
Safe Transfer Fr... | 20085255 | 69 days ago | IN | 0 ETH | 0.00082276 | ||||
Safe Transfer Fr... | 20077621 | 70 days ago | IN | 0 ETH | 0.00114853 | ||||
Safe Transfer Fr... | 20077413 | 70 days ago | IN | 0 ETH | 0.0018197 | ||||
Safe Transfer Fr... | 20077061 | 70 days ago | IN | 0 ETH | 0.00143935 | ||||
Safe Transfer Fr... | 20070156 | 71 days ago | IN | 0 ETH | 0.00149698 | ||||
Safe Transfer Fr... | 20062287 | 72 days ago | IN | 0 ETH | 0.00130502 | ||||
Safe Transfer Fr... | 20057073 | 73 days ago | IN | 0 ETH | 0.00064827 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Constant
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Constant, Jonathan Chomko, 2024 // SPDX-License-Identifier: MIT /* ░▒▓██████▓▒░ ░▒▓██████▓▒░░▒▓███████▓▒░ ░▒▓███████▓▒░▒▓████████▓▒░▒▓██████▓▒░░▒▓███████▓▒░▒▓████████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░░▒▓██████▓▒░ ░▒▓█▓▒░ ░▒▓████████▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░░▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ */ pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Base64.sol"; contract Constant is Context, ERC721, Ownable { //withdrawal logic address payable public withdrawalAddress; //Token sale control logic uint256 public maxNumberOfPieces; uint256 public tokenCounter; //Sale logic bool public standardSaleActive; uint256 public pricePerPiece; mapping (uint256 => address[]) public previousOwnersList; address public previousMinter; string imageExtractorBaseURI; event Mint(address buyer, uint256 price, uint256 tokenId); event TokenTransferred(uint256 indexed tokenId, address indexed from, address indexed to, address previousOwner); constructor( address payable givenWithdrawalAddress ) ERC721("Constant ", "CONST") Ownable(givenWithdrawalAddress){ withdrawalAddress = givenWithdrawalAddress; previousMinter = givenWithdrawalAddress; tokenCounter = 0; maxNumberOfPieces = 199; } //Generate svg function tokenURI(uint256 tokenId) override public view returns (string memory){ string memory walletArray = "[ "; for(uint256 i = 0; i < previousOwnersList[tokenId].length; i ++){ if (i > 0) { walletArray = string(abi.encodePacked(walletArray, ", ")); } walletArray = string(abi.encodePacked(walletArray, '"', bytes32ToString(keccak256(abi.encodePacked(previousOwnersList[tokenId][i]))), '"')); } walletArray = string(abi.encodePacked(walletArray, "]")); string [5] memory parts; parts[0] = "<!DOCTYPE html><html lang='en'><head><meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1'><meta charset=UTF-8><style type='text/css'>body{margin:0;padding:0;width:100%;height:100%}svg{width:100%;height:100vh;display:block}</style></head><body></body><script type='text/javascript'>"; parts[1] = "var d="; parts[2] = walletArray; parts[3] = ";var u=[];for(var r=0;r<d.length;r++){d[r]=BigInt(d[r])}function p(r,o,t){return parseInt((BigInt(r)>>BigInt(o*8)&BigInt(255))%BigInt(t))}function t(o,t){for(let r=0;r<4;r++){if(n(o.points[r],t)){return true}}for(let r=0;r<4;r++){if(n(t.points[r],o)){return true}}return false}function n(o,t){for(let r=0;r<4;r++){const n=t.points[r];const e=t.points[(r+1)%4];const f={x:o.x-n.x,y:o.y-n.y};const i={x:o.x-e.x,y:o.y-e.y};const a=f.x*i.y-i.x*f.y;if(a<0){return false}}return true}function o(){for(var r=0;r<d.length;r++){u[r]={};u[r].points=[];u[r].points[0]={x:0,y:0};u[r].points[1]={x:700,y:0};u[r].points[2]={x:700,y:1e3};u[r].points[3]={x:0,y:1e3}}}function e(){var r=0;var o=0;for(var t=0;t<d.length;t++){var n=50+p(d[t],11,55);var e=p(d[t],10,n);r=e;var f=p(d[t],2,2);if(f>=1){console.log(e,'left',t);u[t].points[0].y+=e;u[t].points[1].x-=e;u[t].points[2].y-=e;u[t].points[3].x+=e}else{console.log(e,'right',t);u[t].points[0].x+=e;u[t].points[1].y+=e;u[t].points[2].x-=e;u[t].points[3].y-=e}o=f}}var f=0;function i(){for(var r=0;r<u.length;r++){var o=(parseInt(BigInt(d[r])%BigInt(500))+(p(d[r],19,255)+p(d[r],18,255)))/2;console.log(o);u[r].points[1].x-=o;u[r].points[2].x-=o}for(var r=0;r<u.length-1;r++){var t=0;for(var n=0;n<u[r].points.length;n++){if(u[r].points[n].x>t){t=u[r].points[n].x}}for(var n=0;n<u[r].points.length;n++){u[r+1].points[n].x+=t}}for(var r=0;r<u.length;r++){var e=parseInt(BigInt(d[r])%BigInt(148));u[r].points[0].y+=e;u[r].points[1].y+=e;if(p(d[r],14,100)>50){u[r].points[2].y-=e;u[r].points[3].y-=e}}for(var r=0;r<u.length;r++){var e=-30+p(d[r],16,60);var f=-30+p(d[r],15,60);if(p(d[r],9,60)>30){u[r].points[1].y-=e;u[r].points[2].y+=e;u[r].points[0].y+=f;u[r].points[3].y-=f}else{u[r].points[0].y-=e;u[r].points[3].y+=e;u[r].points[1].y+=f;u[r].points[2].y-=f}}var i=1e3;for(var r=0;r<u.length;r++){for(var n=0;n<u[r].points.length;n++){if(u[r].points[n].y<i){i=u[r].points[n].y}}}if(i<0){for(var r=0;r<u.length;r++){for(var n=0;n<u[r].points.length;n++){if(n==0||n==1){u[r].points[n].y+=-i}}}}var a=0;for(var r=0;r<u.length;r++){for(var n=0;n<u[r].points.length;n++){if(u[r].points[n].y>a){a=u[r].points[n].y}}}for(var r=0;r<u.length;r++){for(var n=0;n<u[r].points.length;n++){if(n==2||n==3){u[r].points[n].y+=1e3-a}}}}function a(){for(var r=1;r<u.length;r++){if(r<u.length-1){var o=0;while(!t(u[r],u[parseInt(r-1)])){u[r].points[0].x-=1;u[r].points[1].x-=1;u[r].points[2].x-=1;u[r].points[3].x-=1}}else{while(!t(u[r-1],u[r])){u[r].points[0].x-=1;u[r].points[3].x-=1;u[r].points[1].x-=1;u[r].points[2].x-=1}}}}function v(){var r=Math.max(u[u.length-1].points[1].x,u[u.length-1].points[2].x);console.log(r);if(r>1e3){for(var o=0;o<u.length;o++){for(var t=0;t<u[o].points.length;t++){const e=u[o].points[t].x/r;const f=e*1e3;u[o].points[t].x=f}}}else{var n=1e3-r;for(var o=0;o<u.length;o++){for(var t=0;t<u[o].points.length;t++){u[o].points[t].x+=n/2}}}}var c=120;function s(){for(var r=0;r<u.length;r++){for(var o=0;o<u[r].points.length;o++){u[r].points[o].x=c/2+u[r].points[o].x/1e3*(1e3-c);u[r].points[o].y=c/2+u[r].points[o].y/1e3*(1e3-c)}}}function l(){const r='http://www.w3.org/2000/svg';const o=document.createElementNS(r,'svg');o.setAttribute('viewBox','0 0 1000 1000');o.setAttribute('preserveAspectRatio','none');o.setAttribute('id','svg');o.setAttribute('xmlns',r);o.setAttribute('width','1000');o.setAttribute('height','1000');o.style.width='100%';o.style.height='100%';const t=document.createElementNS(r,'filter');t.setAttribute('id','f1');t.setAttribute('xlmns',r);o.appendChild(t);const n=document.createElementNS(r,'feDropShadow');n.setAttribute('in','SourceGraphic');n.setAttribute('stdDeviation','4');n.setAttribute('dy',6);n.setAttribute('dx',3);t.appendChild(n);const e=document.createElementNS(r,'filter');e.setAttribute('id','f2');e.setAttribute('xlmns',r);o.appendChild(e);const f=document.createElementNS(r,'feDropShadow');f.setAttribute('in','SourceGraphic');f.setAttribute('stdDeviation','4');f.setAttribute('dy',6);f.setAttribute('dx',-3);e.appendChild(f);const i=document.createElementNS(r,'filter');i.setAttribute('id','f3');i.setAttribute('xlmns',r);o.appendChild(i);const a=document.createElementNS(r,'feDropShadow');a.setAttribute('in','SourceGraphic');a.setAttribute('stdDeviation','2');a.setAttribute('dy',3);a.setAttribute('dx',0);i.appendChild(a);const v=document.createElementNS(r,'path');v.setAttribute('d',' M 0 0 L 1001 0 L 1001 1001 L 0 1001 z');v.setAttribute('fill','#FFFFFF');v.setAttribute('stroke','none');v.setAttribute('opacity','1.0');o.appendChild(v);for(var c=0;c<u.length;c++){var s=`M ${u[c].points[0].x} ${u[c].points[0].y}`;for(let r=1;r<u[c].points.length;r++){s+=` L ${u[c].points[r].x} ${u[c].points[r].y}`}s+=` Z`;const l=document.createElementNS(r,'path');l.setAttribute('d',s);l.setAttribute('fill','#000000');l.setAttribute('opacity',.85+p(d[c],7,80)/80*.05);if(u.length<=2){if(c==1){l.setAttribute('filter','url(#f1)')}else{l.setAttribute('filter','url(#f2)')}}else{l.setAttribute('filter','url(#f3)')}o.appendChild(l)}document.body.appendChild(o)}o();e();i();a();v();s();l();"; parts[4] = "</script></html>"; string memory output = string(abi.encodePacked(parts[0], parts[1], parts[2], parts[3], parts[4])); string memory json = Base64.encode(bytes(string(abi.encodePacked('{"name": "Constant ', toString(tokenId), '", "description": "Constant draws a line of connection from the artist through all collectors via the randomly derived hash which serves as on-chain identity; the wallet address. Jonathan Chomko, 2024.", "image": "',imageExtractorBaseURI,toString(tokenId),'", "animation_url": "data:image/svg+xml;base64,',Base64.encode(bytes(output)),'", "attributes": [ { "trait_type": "Transfers", "value": "', toString(previousOwnersList[tokenId].length-1) , '" } ] }')))); output = string(abi.encodePacked('data:application/json;base64,', json)); return output; } function setSaleActive(bool isActive) external onlyOwner { standardSaleActive = isActive; } function setPrice(uint256 givenPrice) external onlyOwner { pricePerPiece = givenPrice; } function setImageExtractorBaseURI(string memory givenURI) external onlyOwner { imageExtractorBaseURI = givenURI; } //Withdrawal function setWithdrawalAddress(address payable givenWithdrawalAddress) external onlyOwner { withdrawalAddress = givenWithdrawalAddress; } function withdrawEth() external onlyOwner { Address.sendValue(withdrawalAddress, address(this).balance); } //Owner info function tokenInfo(uint256 tokenId) external view returns (address) { return (ownerOf(tokenId)); } function getOwners(uint256 start, uint256 end) public view returns (address[] memory){ address[] memory re = new address[](end - start); for (uint256 i = start; i < end; i++) { re[i - start] = ownerOf(i); } return re; } function mintItem() public payable returns (uint256) { require(standardSaleActive || msg.sender == owner(), "sale must be active"); require(msg.value == pricePerPiece, "must send in correct amount"); require(tokenCounter < maxNumberOfPieces, "sale is minted out"); uint256 tokenToMint = tokenCounter; previousOwnersList[tokenToMint].push(previousMinter); previousOwnersList[tokenToMint].push(msg.sender); previousMinter = msg.sender; _safeMint(msg.sender, tokenToMint); tokenCounter += 1; emit Mint(msg.sender, msg.value, tokenToMint); return tokenToMint; } function transferFrom(address from, address to, uint256 tokenId) public override { previousOwnersList[tokenId].push(to); super.transferFrom(from, to, tokenId); } //Helpers function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT license // 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); } function bytes32ToString(bytes32 x) internal pure returns (string memory) { bytes memory bytesString = new bytes(66); uint charCount = 2; bytesString[0] = '0'; bytesString[1] = 'x'; for (uint j = 0; j < 32; j++) { uint8 byteValue = uint8(bytes1(x << (j * 8))); uint8 hi = byteValue / 16; uint8 lo = byteValue % 16; bytesString[charCount++] = bytes1(hi + (hi < 10 ? 48 : 87)); bytesString[charCount++] = bytes1(lo + (lo < 10 ? 48 : 87)); } return string(bytesString); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.2) (utils/Base64.sol) pragma solidity ^0.8.20; /** * @dev Provides a set of functions to operate with Base64 strings. */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); /// @solidity memory-safe-assembly assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 0x20) let dataPtr := data let endPtr := add(data, mload(data)) // In some cases, the last iteration will read bytes after the end of the data. We cache the value, and // set it to zero to make sure no dirty bytes are read in that section. let afterPtr := add(endPtr, 0x20) let afterCache := mload(afterPtr) mstore(afterPtr, 0x00) // Run over the input, 3 bytes at a time for { } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 byte (24 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F to bitmask the least significant 6 bits. // Use this as an index into the lookup table, mload an entire word // so the desired character is in the least significant byte, and // mstore8 this least significant byte into the result and continue. mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // Reset the value that was cached mstore(afterPtr, afterCache) // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.20; import {IERC721} from "./IERC721.sol"; import {IERC721Receiver} from "./IERC721Receiver.sol"; import {IERC721Metadata} from "./extensions/IERC721Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {Strings} from "../../utils/Strings.sol"; import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol"; import {IERC721Errors} from "../../interfaces/draft-IERC6093.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}. */ abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors { using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; mapping(uint256 tokenId => address) private _owners; mapping(address owner => uint256) private _balances; mapping(uint256 tokenId => address) private _tokenApprovals; mapping(address owner => mapping(address operator => 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 returns (uint256) { if (owner == address(0)) { revert ERC721InvalidOwner(address(0)); } return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual returns (address) { return _requireOwned(tokenId); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual returns (string memory) { _requireOwned(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual { _approve(to, tokenId, _msgSender()); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual returns (address) { _requireOwned(tokenId); return _getApproved(tokenId); } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here. address previousOwner = _update(to, tokenId, _msgSender()); if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual { transferFrom(from, to, tokenId); _checkOnERC721Received(from, to, tokenId, data); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist * * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`. */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted. */ function _getApproved(uint256 tokenId) internal view virtual returns (address) { return _tokenApprovals[tokenId]; } /** * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in * particular (ignoring whether it is owned by `owner`). * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) { return spender != address(0) && (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender); } /** * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner. * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets * the `spender` for the specific `tokenId`. * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual { if (!_isAuthorized(owner, spender, tokenId)) { if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } else { revert ERC721InsufficientApproval(spender, tokenId); } } } /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that * a uint256 would ever overflow from increments when these increments are bounded to uint128 values. * * WARNING: Increasing an account's balance using this function tends to be paired with an override of the * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership * remain consistent with one another. */ function _increaseBalance(address account, uint128 value) internal virtual { unchecked { _balances[account] += value; } } /** * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update. * * The `auth` argument is optional. If the value passed is non 0, then this function will check that * `auth` is either the owner of the token, or approved to operate on the token (by the owner). * * Emits a {Transfer} event. * * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}. */ function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) { address from = _ownerOf(tokenId); // Perform (optional) operator check if (auth != address(0)) { _checkAuthorized(from, auth, tokenId); } // Execute the update if (from != address(0)) { // Clear approval. No need to re-authorize or emit the Approval event _approve(address(0), tokenId, address(0), false); unchecked { _balances[from] -= 1; } } if (to != address(0)) { unchecked { _balances[to] += 1; } } _owners[tokenId] = to; emit Transfer(from, to, tokenId); return from; } /** * @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 { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner != address(0)) { revert ERC721InvalidSender(address(0)); } } /** * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance. * * 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 { _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); _checkOnERC721Received(address(0), to, tokenId, data); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal { address previousOwner = _update(address(0), tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(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 { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } else if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients * are aware of the ERC721 standard 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 like {safeTransferFrom} in the sense that it invokes * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `tokenId` token must exist and be owned by `from`. * - `to` cannot be the zero address. * - `from` cannot be the zero address. * - 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) internal { _safeTransfer(from, to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); _checkOnERC721Received(from, to, tokenId, data); } /** * @dev Approve `to` to operate on `tokenId` * * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is * either the owner of the token, or approved to operate on all tokens held by this owner. * * Emits an {Approval} event. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address to, uint256 tokenId, address auth) internal { _approve(to, tokenId, auth, true); } /** * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not * emitted in the context of transfers. */ function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual { // Avoid reading the owner unless necessary if (emitEvent || auth != address(0)) { address owner = _requireOwned(tokenId); // We do not use _isAuthorized because single-token approvals should not be able to call approve if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) { revert ERC721InvalidApprover(auth); } if (emitEvent) { emit Approval(owner, to, tokenId); } } _tokenApprovals[tokenId] = to; } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Requirements: * - operator can't be the address zero. * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { if (operator == address(0)) { revert ERC721InvalidOperator(operator); } _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned). * Returns the owner. * * Overrides to ownership logic should be done to {_ownerOf}. */ function _requireOwned(uint256 tokenId) internal view returns (address) { address owner = _ownerOf(tokenId); if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } return owner; } /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the * recipient doesn't accept the token transfer. 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 */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private { if (to.code.length > 0) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { if (retval != IERC721Receiver.onERC721Received.selector) { revert ERC721InvalidReceiver(to); } } catch (bytes memory reason) { if (reason.length == 0) { revert ERC721InvalidReceiver(to); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./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); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; import {Math} from "./math/Math.sol"; import {SignedMath} from "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; 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_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.20; import {IERC721} from "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.20; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be * reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or * {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the address zero. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address payable","name":"givenWithdrawalAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","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":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"previousOwner","type":"address"}],"name":"TokenTransferred","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"}],"name":"getOwners","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":"maxNumberOfPieces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintItem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","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":"previousMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"previousOwnersList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerPiece","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"givenURI","type":"string"}],"name":"setImageExtractorBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"givenPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"givenWithdrawalAddress","type":"address"}],"name":"setWithdrawalAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"standardSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenInfo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561000f575f80fd5b50604051615b5f380380615b5f833981810160405281019061003191906102f5565b806040518060400160405280600981526020017f436f6e7374616e742000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f434f4e5354000000000000000000000000000000000000000000000000000000815250815f90816100ac919061055a565b5080600190816100bc919061055a565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361012f575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101269190610649565b60405180910390fd5b61013e816101d460201b60201c565b508060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60098190555060c760088190555050610662565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6102c48261029b565b9050919050565b6102d4816102ba565b81146102de575f80fd5b50565b5f815190506102ef816102cb565b92915050565b5f6020828403121561030a57610309610297565b5b5f610317848285016102e1565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061039b57607f821691505b6020821081036103ae576103ad610357565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026104107fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826103d5565b61041a86836103d5565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61045e61045961045484610432565b61043b565b610432565b9050919050565b5f819050919050565b61047783610444565b61048b61048382610465565b8484546103e1565b825550505050565b5f90565b61049f610493565b6104aa81848461046e565b505050565b5b818110156104cd576104c25f82610497565b6001810190506104b0565b5050565b601f821115610512576104e3816103b4565b6104ec846103c6565b810160208510156104fb578190505b61050f610507856103c6565b8301826104af565b50505b505050565b5f82821c905092915050565b5f6105325f1984600802610517565b1980831691505092915050565b5f61054a8383610523565b9150826002028217905092915050565b61056382610320565b67ffffffffffffffff81111561057c5761057b61032a565b5b6105868254610384565b6105918282856104d1565b5f60209050601f8311600181146105c2575f84156105b0578287015190505b6105ba858261053f565b865550610621565b601f1984166105d0866103b4565b5f5b828110156105f7578489015182556001820191506020850194506020810190506105d2565b868310156106145784890151610610601f891682610523565b8355505b6001600288020188555050505b505050505050565b5f6106338261029b565b9050919050565b61064381610629565b82525050565b5f60208201905061065c5f83018461063a565b92915050565b6154f08061066f5f395ff3fe6080604052600436106101d7575f3560e01c8063841718a611610101578063c87b56dd11610094578063eb93406b11610063578063eb93406b146106b1578063f2bcd022146106cf578063f2fde38b146106f9578063fe3c465714610721576101d7565b8063c87b56dd146105d3578063cc33c8751461060f578063d082e3811461064b578063e985e9c514610675576101d7565b8063a06c603d116100d0578063a06c603d14610545578063a0ef91df1461056d578063a22cb46514610583578063b88d4fde146105ab576101d7565b8063841718a6146104a15780638da5cb5b146104c957806391b7f5ed146104f357806395d89b411461051b576101d7565b806323b872dd11610179578063575ca2c711610148578063575ca2c7146103e95780636352211e1461041357806370a082311461044f578063715018a61461048b576101d7565b806323b872dd1461033357806342842e0e1461035b57806353d0023d1461038357806354e9730a146103ad576101d7565b8063081812fc116101b5578063081812fc1461027d578063095ea7b3146102b95780632147425f146102e157806321b8092e1461030b576101d7565b806301ffc9a7146101db578063048220581461021757806306fdde0314610253575b5f80fd5b3480156101e6575f80fd5b5061020160048036038101906101fc919061294f565b61074b565b60405161020e9190612994565b60405180910390f35b348015610222575f80fd5b5061023d600480360381019061023891906129e0565b61082c565b60405161024a9190612b05565b60405180910390f35b34801561025e575f80fd5b5061026761090b565b6040516102749190612b95565b60405180910390f35b348015610288575f80fd5b506102a3600480360381019061029e9190612bb5565b61099a565b6040516102b09190612bef565b60405180910390f35b3480156102c4575f80fd5b506102df60048036038101906102da9190612c32565b6109b5565b005b3480156102ec575f80fd5b506102f56109cb565b6040516103029190612bef565b60405180910390f35b348015610316575f80fd5b50610331600480360381019061032c9190612cab565b6109f0565b005b34801561033e575f80fd5b5061035960048036038101906103549190612cd6565b610a3b565b005b348015610366575f80fd5b50610381600480360381019061037c9190612cd6565b610aba565b005b34801561038e575f80fd5b50610397610ad9565b6040516103a49190612994565b60405180910390f35b3480156103b8575f80fd5b506103d360048036038101906103ce91906129e0565b610aeb565b6040516103e09190612bef565b60405180910390f35b3480156103f4575f80fd5b506103fd610b33565b60405161040a9190612d35565b60405180910390f35b34801561041e575f80fd5b5061043960048036038101906104349190612bb5565b610b39565b6040516104469190612bef565b60405180910390f35b34801561045a575f80fd5b5061047560048036038101906104709190612d4e565b610b4a565b6040516104829190612d35565b60405180910390f35b348015610496575f80fd5b5061049f610c00565b005b3480156104ac575f80fd5b506104c760048036038101906104c29190612da3565b610c13565b005b3480156104d4575f80fd5b506104dd610c37565b6040516104ea9190612bef565b60405180910390f35b3480156104fe575f80fd5b5061051960048036038101906105149190612bb5565b610c5f565b005b348015610526575f80fd5b5061052f610c71565b60405161053c9190612b95565b60405180910390f35b348015610550575f80fd5b5061056b60048036038101906105669190612efa565b610d01565b005b348015610578575f80fd5b50610581610d1c565b005b34801561058e575f80fd5b506105a960048036038101906105a49190612f41565b610d51565b005b3480156105b6575f80fd5b506105d160048036038101906105cc919061301d565b610d67565b005b3480156105de575f80fd5b506105f960048036038101906105f49190612bb5565b610d84565b6040516106069190612b95565b60405180910390f35b34801561061a575f80fd5b5061063560048036038101906106309190612bb5565b611150565b6040516106429190612bef565b60405180910390f35b348015610656575f80fd5b5061065f611161565b60405161066c9190612d35565b60405180910390f35b348015610680575f80fd5b5061069b6004803603810190610696919061309d565b611167565b6040516106a89190612994565b60405180910390f35b6106b96111f5565b6040516106c69190612d35565b60405180910390f35b3480156106da575f80fd5b506106e36114b5565b6040516106f091906130ea565b60405180910390f35b348015610704575f80fd5b5061071f600480360381019061071a9190612d4e565b6114da565b005b34801561072c575f80fd5b5061073561155e565b6040516107429190612d35565b60405180910390f35b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610825575061082482611564565b5b9050919050565b60605f838361083b9190613130565b67ffffffffffffffff81111561085457610853612dd6565b5b6040519080825280602002602001820160405280156108825781602001602082028036833780820191505090505b5090505f8490505b838110156109005761089b81610b39565b8286836108a89190613130565b815181106108b9576108b8613163565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050808060010191505061088a565b508091505092915050565b60605f8054610919906131bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610945906131bd565b80156109905780601f1061096757610100808354040283529160200191610990565b820191905f5260205f20905b81548152906001019060200180831161097357829003601f168201915b5050505050905090565b5f6109a4826115cd565b506109ae82611653565b9050919050565b6109c782826109c261168c565b611693565b5050565b600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109f86116a5565b8060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c5f8281526020019081526020015f2082908060018154018082558091505060019003905f5260205f20015f9091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610ab583838361172c565b505050565b610ad483838360405180602001604052805f815250610d67565b505050565b600a5f9054906101000a900460ff1681565b600c602052815f5260405f208181548110610b04575f80fd5b905f5260205f20015f915091509054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b5f610b43826115cd565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bbb575f6040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401610bb29190612bef565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610c086116a5565b610c115f61182b565b565b610c1b6116a5565b80600a5f6101000a81548160ff02191690831515021790555050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610c676116a5565b80600b8190555050565b606060018054610c80906131bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610cac906131bd565b8015610cf75780601f10610cce57610100808354040283529160200191610cf7565b820191905f5260205f20905b815481529060010190602001808311610cda57829003601f168201915b5050505050905090565b610d096116a5565b80600e9081610d18919061338a565b5050565b610d246116a5565b610d4f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16476118ee565b565b610d63610d5c61168c565b83836119d7565b5050565b610d72848484610a3b565b610d7e84848484611b40565b50505050565b60605f6040518060400160405280600281526020017f5b2000000000000000000000000000000000000000000000000000000000000081525090505f5b600c5f8581526020019081526020015f2080549050811015610eb1575f811115610e085781604051602001610df691906134dd565b60405160208183030381529060405291505b81610e82600c5f8781526020019081526020015f208381548110610e2f57610e2e613163565b5b905f5260205f20015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051602001610e679190613543565b60405160208183030381529060405280519060200120611cf2565b604051602001610e939291906135a7565b60405160208183030381529060405291508080600101915050610dc1565b5080604051602001610ec3919061362a565b6040516020818303038152906040529050610edc6128c2565b6040518061016001604052806101398152602001613f716101399139815f60058110610f0b57610f0a613163565b5b60200201819052506040518060400160405280600681526020017f76617220643d000000000000000000000000000000000000000000000000000081525081600160058110610f5d57610f5c613163565b5b60200201819052508181600260058110610f7a57610f79613163565b5b60200201819052506040518061140001604052806113d181526020016140aa6113d1913981600360058110610fb257610fb1613163565b5b60200201819052506040518060400160405280601081526020017f3c2f7363726970743e3c2f68746d6c3e000000000000000000000000000000008152508160046005811061100457611003613163565b5b60200201819052505f815f600581106110205761101f613163565b5b60200201518260016005811061103957611038613163565b5b60200201518360026005811061105257611051613163565b5b60200201518460036005811061106b5761106a613163565b5b60200201518560046005811061108457611083613163565b5b602002015160405160200161109d95949392919061364b565b60405160208183030381529060405290505f6111206110bb87611f4b565b600e6110c689611f4b565b6110cf866120a4565b6110f86001600c5f8e81526020019081526020015f20805490506110f39190613130565b611f4b565b60405160200161110c9594939291906139b7565b6040516020818303038152906040526120a4565b9050806040516020016111339190613a82565b604051602081830303815290604052915081945050505050919050565b5f61115a82610b39565b9050919050565b60095481565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b5f600a5f9054906101000a900460ff16806112425750611213610c37565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890613aed565b60405180910390fd5b600b5434146112c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bc90613b55565b60405180910390fd5b6008546009541061130b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130290613bbd565b60405180910390fd5b5f6009549050600c5f8281526020019081526020015f20600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060018154018082558091505060019003905f5260205f20015f9091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600c5f8281526020019081526020015f2033908060018154018082558091505060019003905f5260205f20015f9091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600d5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061145a3382612211565b600160095f82825461146c9190613bdb565b925050819055507f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f3334836040516114a693929190613c0e565b60405180910390a18091505090565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114e26116a5565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611552575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016115499190612bef565b60405180910390fd5b61155b8161182b565b50565b60085481565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f806115d88361222e565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361164a57826040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016116419190612d35565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b6116a08383836001612267565b505050565b6116ad61168c565b73ffffffffffffffffffffffffffffffffffffffff166116cb610c37565b73ffffffffffffffffffffffffffffffffffffffff161461172a576116ee61168c565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117219190612bef565b60405180910390fd5b565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361179c575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016117939190612bef565b60405180910390fd5b5f6117af83836117aa61168c565b612426565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611825578382826040517f64283d7b00000000000000000000000000000000000000000000000000000000815260040161181c93929190613c43565b60405180910390fd5b50505050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8047101561193357306040517fcd78605900000000000000000000000000000000000000000000000000000000815260040161192a9190612bef565b60405180910390fd5b5f8273ffffffffffffffffffffffffffffffffffffffff168260405161195890613ca5565b5f6040518083038185875af1925050503d805f8114611992576040519150601f19603f3d011682016040523d82523d5f602084013e611997565b606091505b50509050806119d2576040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a4757816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401611a3e9190612bef565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b339190612994565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1115611cec578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02611b8361168c565b8685856040518563ffffffff1660e01b8152600401611ba59493929190613d0b565b6020604051808303815f875af1925050508015611be057506040513d601f19601f82011682018060405250810190611bdd9190613d69565b60015b611c61573d805f8114611c0e576040519150601f19603f3d011682016040523d82523d5f602084013e611c13565b606091505b505f815103611c5957836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401611c509190612bef565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611cea57836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401611ce19190612bef565b60405180910390fd5b505b50505050565b60605f604267ffffffffffffffff811115611d1057611d0f612dd6565b5b6040519080825280601f01601f191660200182016040528015611d425781602001600182028036833780820191505090505b5090505f600290507f3000000000000000000000000000000000000000000000000000000000000000825f81518110611d7e57611d7d613163565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053507f780000000000000000000000000000000000000000000000000000000000000082600181518110611de157611de0613163565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505f5b6020811015611f40575f600882611e289190613d94565b86901b60f81c90505f601082611e3e9190613e0e565b90505f601083611e4e9190613e3e565b9050600a8260ff1610611e62576057611e65565b60305b82611e709190613e6e565b60f81b868680611e7f90613ea2565b975081518110611e9257611e91613163565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600a8160ff1610611ed2576057611ed5565b60305b81611ee09190613e6e565b60f81b868680611eef90613ea2565b975081518110611f0257611f01613163565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505050508080600101915050611e11565b508192505050919050565b60605f8203611f91576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061209f565b5f8290505f5b5f8214611fc0578080611fa990613ea2565b915050600a82611fb99190613ee9565b9150611f97565b5f8167ffffffffffffffff811115611fdb57611fda612dd6565b5b6040519080825280601f01601f19166020018201604052801561200d5781602001600182028036833780820191505090505b5090505b5f8514612098576001826120259190613130565b9150600a856120349190613f19565b60306120409190613bdb565b60f81b81838151811061205657612055613163565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600a856120919190613ee9565b9450612011565b8093505050505b919050565b60605f8251036120c45760405180602001604052805f815250905061220c565b5f60405180606001604052806040815260200161547b6040913990505f6003600285516120f19190613bdb565b6120fb9190613ee9565b60046121079190613d94565b67ffffffffffffffff8111156121205761211f612dd6565b5b6040519080825280601f01601f1916602001820160405280156121525781602001600182028036833780820191505090505b509050600182016020820185865187016020810180515f82525b828410156121c7576003840193508351603f8160121c168701518653600186019550603f81600c1c168701518653600186019550603f8160061c168701518653600186019550603f811687015186536001860195505061216c565b80825260038a5106600181146121e457600281146121f7576121ff565b603d6001870353603d60028703536121ff565b603d60018703535b5050505050505080925050505b919050565b61222a828260405180602001604052805f815250612631565b5050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061229f57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156123d1575f6122ae846115cd565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561231857508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b801561232b57506123298184611167565b155b1561236d57826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016123649190612bef565b60405180910390fd5b81156123cf57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b5f806124318461222e565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146124725761247181848661264c565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146124fd576124b15f855f80612267565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461257c57600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b61263b838361270f565b6126475f848484611b40565b505050565b612657838383612802565b61270a575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036126cb57806040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016126c29190612d35565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401612701929190613f49565b60405180910390fd5b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361277f575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016127769190612bef565b60405180910390fd5b5f61278b83835f612426565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146127fd575f6040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081526004016127f49190612bef565b60405180910390fd5b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156128b957508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061287a57506128798484611167565b5b806128b857508273ffffffffffffffffffffffffffffffffffffffff166128a083611653565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b6040518060a001604052806005905b60608152602001906001900390816128d15790505090565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61292e816128fa565b8114612938575f80fd5b50565b5f8135905061294981612925565b92915050565b5f60208284031215612964576129636128f2565b5b5f6129718482850161293b565b91505092915050565b5f8115159050919050565b61298e8161297a565b82525050565b5f6020820190506129a75f830184612985565b92915050565b5f819050919050565b6129bf816129ad565b81146129c9575f80fd5b50565b5f813590506129da816129b6565b92915050565b5f80604083850312156129f6576129f56128f2565b5b5f612a03858286016129cc565b9250506020612a14858286016129cc565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612a7082612a47565b9050919050565b612a8081612a66565b82525050565b5f612a918383612a77565b60208301905092915050565b5f602082019050919050565b5f612ab382612a1e565b612abd8185612a28565b9350612ac883612a38565b805f5b83811015612af8578151612adf8882612a86565b9750612aea83612a9d565b925050600181019050612acb565b5085935050505092915050565b5f6020820190508181035f830152612b1d8184612aa9565b905092915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612b6782612b25565b612b718185612b2f565b9350612b81818560208601612b3f565b612b8a81612b4d565b840191505092915050565b5f6020820190508181035f830152612bad8184612b5d565b905092915050565b5f60208284031215612bca57612bc96128f2565b5b5f612bd7848285016129cc565b91505092915050565b612be981612a66565b82525050565b5f602082019050612c025f830184612be0565b92915050565b612c1181612a66565b8114612c1b575f80fd5b50565b5f81359050612c2c81612c08565b92915050565b5f8060408385031215612c4857612c476128f2565b5b5f612c5585828601612c1e565b9250506020612c66858286016129cc565b9150509250929050565b5f612c7a82612a47565b9050919050565b612c8a81612c70565b8114612c94575f80fd5b50565b5f81359050612ca581612c81565b92915050565b5f60208284031215612cc057612cbf6128f2565b5b5f612ccd84828501612c97565b91505092915050565b5f805f60608486031215612ced57612cec6128f2565b5b5f612cfa86828701612c1e565b9350506020612d0b86828701612c1e565b9250506040612d1c868287016129cc565b9150509250925092565b612d2f816129ad565b82525050565b5f602082019050612d485f830184612d26565b92915050565b5f60208284031215612d6357612d626128f2565b5b5f612d7084828501612c1e565b91505092915050565b612d828161297a565b8114612d8c575f80fd5b50565b5f81359050612d9d81612d79565b92915050565b5f60208284031215612db857612db76128f2565b5b5f612dc584828501612d8f565b91505092915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612e0c82612b4d565b810181811067ffffffffffffffff82111715612e2b57612e2a612dd6565b5b80604052505050565b5f612e3d6128e9565b9050612e498282612e03565b919050565b5f67ffffffffffffffff821115612e6857612e67612dd6565b5b612e7182612b4d565b9050602081019050919050565b828183375f83830152505050565b5f612e9e612e9984612e4e565b612e34565b905082815260208101848484011115612eba57612eb9612dd2565b5b612ec5848285612e7e565b509392505050565b5f82601f830112612ee157612ee0612dce565b5b8135612ef1848260208601612e8c565b91505092915050565b5f60208284031215612f0f57612f0e6128f2565b5b5f82013567ffffffffffffffff811115612f2c57612f2b6128f6565b5b612f3884828501612ecd565b91505092915050565b5f8060408385031215612f5757612f566128f2565b5b5f612f6485828601612c1e565b9250506020612f7585828601612d8f565b9150509250929050565b5f67ffffffffffffffff821115612f9957612f98612dd6565b5b612fa282612b4d565b9050602081019050919050565b5f612fc1612fbc84612f7f565b612e34565b905082815260208101848484011115612fdd57612fdc612dd2565b5b612fe8848285612e7e565b509392505050565b5f82601f83011261300457613003612dce565b5b8135613014848260208601612faf565b91505092915050565b5f805f8060808587031215613035576130346128f2565b5b5f61304287828801612c1e565b945050602061305387828801612c1e565b9350506040613064878288016129cc565b925050606085013567ffffffffffffffff811115613085576130846128f6565b5b61309187828801612ff0565b91505092959194509250565b5f80604083850312156130b3576130b26128f2565b5b5f6130c085828601612c1e565b92505060206130d185828601612c1e565b9150509250929050565b6130e481612c70565b82525050565b5f6020820190506130fd5f8301846130db565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61313a826129ad565b9150613145836129ad565b925082820390508181111561315d5761315c613103565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806131d457607f821691505b6020821081036131e7576131e6613190565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026132497fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261320e565b613253868361320e565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61328e613289613284846129ad565b61326b565b6129ad565b9050919050565b5f819050919050565b6132a783613274565b6132bb6132b382613295565b84845461321a565b825550505050565b5f90565b6132cf6132c3565b6132da81848461329e565b505050565b5b818110156132fd576132f25f826132c7565b6001810190506132e0565b5050565b601f82111561334257613313816131ed565b61331c846131ff565b8101602085101561332b578190505b61333f613337856131ff565b8301826132df565b50505b505050565b5f82821c905092915050565b5f6133625f1984600802613347565b1980831691505092915050565b5f61337a8383613353565b9150826002028217905092915050565b61339382612b25565b67ffffffffffffffff8111156133ac576133ab612dd6565b5b6133b682546131bd565b6133c1828285613301565b5f60209050601f8311600181146133f2575f84156133e0578287015190505b6133ea858261336f565b865550613451565b601f198416613400866131ed565b5f5b8281101561342757848901518255600182019150602085019450602081019050613402565b868310156134445784890151613440601f891682613353565b8355505b6001600288020188555050505b505050505050565b5f81905092915050565b5f61346d82612b25565b6134778185613459565b9350613487818560208601612b3f565b80840191505092915050565b7f2c200000000000000000000000000000000000000000000000000000000000005f82015250565b5f6134c7600283613459565b91506134d282613493565b600282019050919050565b5f6134e88284613463565b91506134f3826134bb565b915081905092915050565b5f8160601b9050919050565b5f613514826134fe565b9050919050565b5f6135258261350a565b9050919050565b61353d61353882612a66565b61351b565b82525050565b5f61354e828461352c565b60148201915081905092915050565b7f22000000000000000000000000000000000000000000000000000000000000005f82015250565b5f613591600183613459565b915061359c8261355d565b600182019050919050565b5f6135b28285613463565b91506135bd82613585565b91506135c98284613463565b91506135d482613585565b91508190509392505050565b7f5d000000000000000000000000000000000000000000000000000000000000005f82015250565b5f613614600183613459565b915061361f826135e0565b600182019050919050565b5f6136358284613463565b915061364082613608565b915081905092915050565b5f6136568288613463565b91506136628287613463565b915061366e8286613463565b915061367a8285613463565b91506136868284613463565b91508190509695505050505050565b7f7b226e616d65223a2022436f6e7374616e7420000000000000000000000000005f82015250565b5f6136c9601383613459565b91506136d482613695565b601382019050919050565b7f222c20226465736372697074696f6e223a2022436f6e7374616e7420647261775f8201527f732061206c696e65206f6620636f6e6e656374696f6e2066726f6d207468652060208201527f617274697374207468726f75676820616c6c20636f6c6c6563746f727320766960408201527f61207468652072616e646f6d6c7920646572697665642068617368207768696360608201527f6820736572766573206173206f6e2d636861696e206964656e746974793b207460808201527f68652077616c6c657420616464726573732e204a6f6e617468616e2043686f6d60a08201527f6b6f2c20323032342e222c2022696d616765223a20220000000000000000000060c082015250565b5f6137f760d683613459565b9150613802826136df565b60d682019050919050565b5f8154613819816131bd565b6138238186613459565b9450600182165f811461383d576001811461385257613884565b60ff1983168652811515820286019350613884565b61385b856131ed565b5f5b8381101561387c5781548189015260018201915060208101905061385d565b838801955050505b50505092915050565b7f222c2022616e696d6174696f6e5f75726c223a2022646174613a696d6167652f5f8201527f7376672b786d6c3b6261736536342c0000000000000000000000000000000000602082015250565b5f6138e7602f83613459565b91506138f28261388d565b602f82019050919050565b7f222c202261747472696275746573223a205b207b202274726169745f747970655f8201527f223a20225472616e7366657273222c202276616c7565223a2022000000000000602082015250565b5f613957603a83613459565b9150613962826138fd565b603a82019050919050565b7f22207d205d20207d0000000000000000000000000000000000000000000000005f82015250565b5f6139a1600883613459565b91506139ac8261396d565b600882019050919050565b5f6139c1826136bd565b91506139cd8288613463565b91506139d8826137eb565b91506139e4828761380d565b91506139f08286613463565b91506139fb826138db565b9150613a078285613463565b9150613a128261394b565b9150613a1e8284613463565b9150613a2982613995565b91508190509695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000005f82015250565b5f613a6c601d83613459565b9150613a7782613a38565b601d82019050919050565b5f613a8c82613a60565b9150613a988284613463565b915081905092915050565b7f73616c65206d75737420626520616374697665000000000000000000000000005f82015250565b5f613ad7601383612b2f565b9150613ae282613aa3565b602082019050919050565b5f6020820190508181035f830152613b0481613acb565b9050919050565b7f6d7573742073656e6420696e20636f727265637420616d6f756e7400000000005f82015250565b5f613b3f601b83612b2f565b9150613b4a82613b0b565b602082019050919050565b5f6020820190508181035f830152613b6c81613b33565b9050919050565b7f73616c65206973206d696e746564206f757400000000000000000000000000005f82015250565b5f613ba7601283612b2f565b9150613bb282613b73565b602082019050919050565b5f6020820190508181035f830152613bd481613b9b565b9050919050565b5f613be5826129ad565b9150613bf0836129ad565b9250828201905080821115613c0857613c07613103565b5b92915050565b5f606082019050613c215f830186612be0565b613c2e6020830185612d26565b613c3b6040830184612d26565b949350505050565b5f606082019050613c565f830186612be0565b613c636020830185612d26565b613c706040830184612be0565b949350505050565b5f81905092915050565b50565b5f613c905f83613c78565b9150613c9b82613c82565b5f82019050919050565b5f613caf82613c85565b9150819050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613cdd82613cb9565b613ce78185613cc3565b9350613cf7818560208601612b3f565b613d0081612b4d565b840191505092915050565b5f608082019050613d1e5f830187612be0565b613d2b6020830186612be0565b613d386040830185612d26565b8181036060830152613d4a8184613cd3565b905095945050505050565b5f81519050613d6381612925565b92915050565b5f60208284031215613d7e57613d7d6128f2565b5b5f613d8b84828501613d55565b91505092915050565b5f613d9e826129ad565b9150613da9836129ad565b9250828202613db7816129ad565b91508282048414831517613dce57613dcd613103565b5b5092915050565b5f60ff82169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f613e1882613dd5565b9150613e2383613dd5565b925082613e3357613e32613de1565b5b828204905092915050565b5f613e4882613dd5565b9150613e5383613dd5565b925082613e6357613e62613de1565b5b828206905092915050565b5f613e7882613dd5565b9150613e8383613dd5565b9250828201905060ff811115613e9c57613e9b613103565b5b92915050565b5f613eac826129ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ede57613edd613103565b5b600182019050919050565b5f613ef3826129ad565b9150613efe836129ad565b925082613f0e57613f0d613de1565b5b828204905092915050565b5f613f23826129ad565b9150613f2e836129ad565b925082613f3e57613f3d613de1565b5b828206905092915050565b5f604082019050613f5c5f830185612be0565b613f696020830184612d26565b939250505056fe3c21444f43545950452068746d6c3e3c68746d6c206c616e673d27656e273e3c686561643e3c6d657461206e616d653d2776696577706f72742720636f6e74656e743d2777696474683d6465766963652d77696474682c20696e697469616c2d7363616c653d312c206d6178696d756d2d7363616c653d31273e3c6d65746120636861727365743d5554462d383e3c7374796c6520747970653d27746578742f637373273e626f64797b6d617267696e3a303b70616464696e673a303b77696474683a313030253b6865696768743a313030257d7376677b77696474683a313030253b6865696768743a31303076683b646973706c61793a626c6f636b7d3c2f7374796c653e3c2f686561643e3c626f64793e3c2f626f64793e3c73637269707420747970653d27746578742f6a617661736372697074273e3b76617220753d5b5d3b666f722876617220723d303b723c642e6c656e6774683b722b2b297b645b725d3d426967496e7428645b725d297d66756e6374696f6e207028722c6f2c74297b72657475726e207061727365496e742828426967496e742872293e3e426967496e74286f2a382926426967496e7428323535292925426967496e74287429297d66756e6374696f6e2074286f2c74297b666f72286c657420723d303b723c343b722b2b297b6966286e286f2e706f696e74735b725d2c7429297b72657475726e20747275657d7d666f72286c657420723d303b723c343b722b2b297b6966286e28742e706f696e74735b725d2c6f29297b72657475726e20747275657d7d72657475726e2066616c73657d66756e6374696f6e206e286f2c74297b666f72286c657420723d303b723c343b722b2b297b636f6e7374206e3d742e706f696e74735b725d3b636f6e737420653d742e706f696e74735b28722b312925345d3b636f6e737420663d7b783a6f2e782d6e2e782c793a6f2e792d6e2e797d3b636f6e737420693d7b783a6f2e782d652e782c793a6f2e792d652e797d3b636f6e737420613d662e782a692e792d692e782a662e793b696628613c30297b72657475726e2066616c73657d7d72657475726e20747275657d66756e6374696f6e206f28297b666f722876617220723d303b723c642e6c656e6774683b722b2b297b755b725d3d7b7d3b755b725d2e706f696e74733d5b5d3b755b725d2e706f696e74735b305d3d7b783a302c793a307d3b755b725d2e706f696e74735b315d3d7b783a3730302c793a307d3b755b725d2e706f696e74735b325d3d7b783a3730302c793a3165337d3b755b725d2e706f696e74735b335d3d7b783a302c793a3165337d7d7d66756e6374696f6e206528297b76617220723d303b766172206f3d303b666f722876617220743d303b743c642e6c656e6774683b742b2b297b766172206e3d35302b7028645b745d2c31312c3535293b76617220653d7028645b745d2c31302c6e293b723d653b76617220663d7028645b745d2c322c32293b696628663e3d31297b636f6e736f6c652e6c6f6728652c276c656674272c74293b755b745d2e706f696e74735b305d2e792b3d653b755b745d2e706f696e74735b315d2e782d3d653b755b745d2e706f696e74735b325d2e792d3d653b755b745d2e706f696e74735b335d2e782b3d657d656c73657b636f6e736f6c652e6c6f6728652c277269676874272c74293b755b745d2e706f696e74735b305d2e782b3d653b755b745d2e706f696e74735b315d2e792b3d653b755b745d2e706f696e74735b325d2e782d3d653b755b745d2e706f696e74735b335d2e792d3d657d6f3d667d7d76617220663d303b66756e6374696f6e206928297b666f722876617220723d303b723c752e6c656e6774683b722b2b297b766172206f3d287061727365496e7428426967496e7428645b725d2925426967496e742835303029292b287028645b725d2c31392c323535292b7028645b725d2c31382c3235352929292f323b636f6e736f6c652e6c6f67286f293b755b725d2e706f696e74735b315d2e782d3d6f3b755b725d2e706f696e74735b325d2e782d3d6f7d666f722876617220723d303b723c752e6c656e6774682d313b722b2b297b76617220743d303b666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b696628755b725d2e706f696e74735b6e5d2e783e74297b743d755b725d2e706f696e74735b6e5d2e787d7d666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b755b722b315d2e706f696e74735b6e5d2e782b3d747d7d666f722876617220723d303b723c752e6c656e6774683b722b2b297b76617220653d7061727365496e7428426967496e7428645b725d2925426967496e742831343829293b755b725d2e706f696e74735b305d2e792b3d653b755b725d2e706f696e74735b315d2e792b3d653b6966287028645b725d2c31342c313030293e3530297b755b725d2e706f696e74735b325d2e792d3d653b755b725d2e706f696e74735b335d2e792d3d657d7d666f722876617220723d303b723c752e6c656e6774683b722b2b297b76617220653d2d33302b7028645b725d2c31362c3630293b76617220663d2d33302b7028645b725d2c31352c3630293b6966287028645b725d2c392c3630293e3330297b755b725d2e706f696e74735b315d2e792d3d653b755b725d2e706f696e74735b325d2e792b3d653b755b725d2e706f696e74735b305d2e792b3d663b755b725d2e706f696e74735b335d2e792d3d667d656c73657b755b725d2e706f696e74735b305d2e792d3d653b755b725d2e706f696e74735b335d2e792b3d653b755b725d2e706f696e74735b315d2e792b3d663b755b725d2e706f696e74735b325d2e792d3d667d7d76617220693d3165333b666f722876617220723d303b723c752e6c656e6774683b722b2b297b666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b696628755b725d2e706f696e74735b6e5d2e793c69297b693d755b725d2e706f696e74735b6e5d2e797d7d7d696628693c30297b666f722876617220723d303b723c752e6c656e6774683b722b2b297b666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b6966286e3d3d307c7c6e3d3d31297b755b725d2e706f696e74735b6e5d2e792b3d2d697d7d7d7d76617220613d303b666f722876617220723d303b723c752e6c656e6774683b722b2b297b666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b696628755b725d2e706f696e74735b6e5d2e793e61297b613d755b725d2e706f696e74735b6e5d2e797d7d7d666f722876617220723d303b723c752e6c656e6774683b722b2b297b666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b6966286e3d3d327c7c6e3d3d33297b755b725d2e706f696e74735b6e5d2e792b3d3165332d617d7d7d7d66756e6374696f6e206128297b666f722876617220723d313b723c752e6c656e6774683b722b2b297b696628723c752e6c656e6774682d31297b766172206f3d303b7768696c6528217428755b725d2c755b7061727365496e7428722d31295d29297b755b725d2e706f696e74735b305d2e782d3d313b755b725d2e706f696e74735b315d2e782d3d313b755b725d2e706f696e74735b325d2e782d3d313b755b725d2e706f696e74735b335d2e782d3d317d7d656c73657b7768696c6528217428755b722d315d2c755b725d29297b755b725d2e706f696e74735b305d2e782d3d313b755b725d2e706f696e74735b335d2e782d3d313b755b725d2e706f696e74735b315d2e782d3d313b755b725d2e706f696e74735b325d2e782d3d317d7d7d7d66756e6374696f6e207628297b76617220723d4d6174682e6d617828755b752e6c656e6774682d315d2e706f696e74735b315d2e782c755b752e6c656e6774682d315d2e706f696e74735b325d2e78293b636f6e736f6c652e6c6f672872293b696628723e316533297b666f7228766172206f3d303b6f3c752e6c656e6774683b6f2b2b297b666f722876617220743d303b743c755b6f5d2e706f696e74732e6c656e6774683b742b2b297b636f6e737420653d755b6f5d2e706f696e74735b745d2e782f723b636f6e737420663d652a3165333b755b6f5d2e706f696e74735b745d2e783d667d7d7d656c73657b766172206e3d3165332d723b666f7228766172206f3d303b6f3c752e6c656e6774683b6f2b2b297b666f722876617220743d303b743c755b6f5d2e706f696e74732e6c656e6774683b742b2b297b755b6f5d2e706f696e74735b745d2e782b3d6e2f327d7d7d7d76617220633d3132303b66756e6374696f6e207328297b666f722876617220723d303b723c752e6c656e6774683b722b2b297b666f7228766172206f3d303b6f3c755b725d2e706f696e74732e6c656e6774683b6f2b2b297b755b725d2e706f696e74735b6f5d2e783d632f322b755b725d2e706f696e74735b6f5d2e782f3165332a283165332d63293b755b725d2e706f696e74735b6f5d2e793d632f322b755b725d2e706f696e74735b6f5d2e792f3165332a283165332d63297d7d7d66756e6374696f6e206c28297b636f6e737420723d27687474703a2f2f7777772e77332e6f72672f323030302f737667273b636f6e7374206f3d646f63756d656e742e637265617465456c656d656e744e5328722c2773766727293b6f2e736574417474726962757465282776696577426f78272c273020302031303030203130303027293b6f2e73657441747472696275746528277072657365727665417370656374526174696f272c276e6f6e6527293b6f2e73657441747472696275746528276964272c2773766727293b6f2e7365744174747269627574652827786d6c6e73272c72293b6f2e73657441747472696275746528277769647468272c273130303027293b6f2e7365744174747269627574652827686569676874272c273130303027293b6f2e7374796c652e77696474683d2731303025273b6f2e7374796c652e6865696768743d2731303025273b636f6e737420743d646f63756d656e742e637265617465456c656d656e744e5328722c2766696c74657227293b742e73657441747472696275746528276964272c27663127293b742e7365744174747269627574652827786c6d6e73272c72293b6f2e617070656e644368696c642874293b636f6e7374206e3d646f63756d656e742e637265617465456c656d656e744e5328722c27666544726f70536861646f7727293b6e2e7365744174747269627574652827696e272c27536f757263654772617068696327293b6e2e7365744174747269627574652827737464446576696174696f6e272c273427293b6e2e73657441747472696275746528276479272c36293b6e2e73657441747472696275746528276478272c33293b742e617070656e644368696c64286e293b636f6e737420653d646f63756d656e742e637265617465456c656d656e744e5328722c2766696c74657227293b652e73657441747472696275746528276964272c27663227293b652e7365744174747269627574652827786c6d6e73272c72293b6f2e617070656e644368696c642865293b636f6e737420663d646f63756d656e742e637265617465456c656d656e744e5328722c27666544726f70536861646f7727293b662e7365744174747269627574652827696e272c27536f757263654772617068696327293b662e7365744174747269627574652827737464446576696174696f6e272c273427293b662e73657441747472696275746528276479272c36293b662e73657441747472696275746528276478272c2d33293b652e617070656e644368696c642866293b636f6e737420693d646f63756d656e742e637265617465456c656d656e744e5328722c2766696c74657227293b692e73657441747472696275746528276964272c27663327293b692e7365744174747269627574652827786c6d6e73272c72293b6f2e617070656e644368696c642869293b636f6e737420613d646f63756d656e742e637265617465456c656d656e744e5328722c27666544726f70536861646f7727293b612e7365744174747269627574652827696e272c27536f757263654772617068696327293b612e7365744174747269627574652827737464446576696174696f6e272c273227293b612e73657441747472696275746528276479272c33293b612e73657441747472696275746528276478272c30293b692e617070656e644368696c642861293b636f6e737420763d646f63756d656e742e637265617465456c656d656e744e5328722c277061746827293b762e736574417474726962757465282764272c27204d20302030204c20313030312030204c20313030312031303031204c20302031303031207a27293b762e736574417474726962757465282766696c6c272c272346464646464627293b762e73657441747472696275746528277374726f6b65272c276e6f6e6527293b762e73657441747472696275746528276f706163697479272c27312e3027293b6f2e617070656e644368696c642876293b666f722876617220633d303b633c752e6c656e6774683b632b2b297b76617220733d604d20247b755b635d2e706f696e74735b305d2e787d20247b755b635d2e706f696e74735b305d2e797d603b666f72286c657420723d313b723c755b635d2e706f696e74732e6c656e6774683b722b2b297b732b3d60204c20247b755b635d2e706f696e74735b725d2e787d20247b755b635d2e706f696e74735b725d2e797d607d732b3d60205a603b636f6e7374206c3d646f63756d656e742e637265617465456c656d656e744e5328722c277061746827293b6c2e736574417474726962757465282764272c73293b6c2e736574417474726962757465282766696c6c272c272330303030303027293b6c2e73657441747472696275746528276f706163697479272c2e38352b7028645b635d2c372c3830292f38302a2e3035293b696628752e6c656e6774683c3d32297b696628633d3d31297b6c2e736574417474726962757465282766696c746572272c2775726c282366312927297d656c73657b6c2e736574417474726962757465282766696c746572272c2775726c282366322927297d7d656c73657b6c2e736574417474726962757465282766696c746572272c2775726c282366332927297d6f2e617070656e644368696c64286c297d646f63756d656e742e626f64792e617070656e644368696c64286f297d6f28293b6528293b6928293b6128293b7628293b7328293b6c28293b4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220bb8b5293e90c373d9229d9ed84c00adad3b593984bdac9026509ffc35eb2ee1164736f6c63430008190033000000000000000000000000a729ecbbdf05c22ba7993dc510f4b2c56969ecf5
Deployed Bytecode
0x6080604052600436106101d7575f3560e01c8063841718a611610101578063c87b56dd11610094578063eb93406b11610063578063eb93406b146106b1578063f2bcd022146106cf578063f2fde38b146106f9578063fe3c465714610721576101d7565b8063c87b56dd146105d3578063cc33c8751461060f578063d082e3811461064b578063e985e9c514610675576101d7565b8063a06c603d116100d0578063a06c603d14610545578063a0ef91df1461056d578063a22cb46514610583578063b88d4fde146105ab576101d7565b8063841718a6146104a15780638da5cb5b146104c957806391b7f5ed146104f357806395d89b411461051b576101d7565b806323b872dd11610179578063575ca2c711610148578063575ca2c7146103e95780636352211e1461041357806370a082311461044f578063715018a61461048b576101d7565b806323b872dd1461033357806342842e0e1461035b57806353d0023d1461038357806354e9730a146103ad576101d7565b8063081812fc116101b5578063081812fc1461027d578063095ea7b3146102b95780632147425f146102e157806321b8092e1461030b576101d7565b806301ffc9a7146101db578063048220581461021757806306fdde0314610253575b5f80fd5b3480156101e6575f80fd5b5061020160048036038101906101fc919061294f565b61074b565b60405161020e9190612994565b60405180910390f35b348015610222575f80fd5b5061023d600480360381019061023891906129e0565b61082c565b60405161024a9190612b05565b60405180910390f35b34801561025e575f80fd5b5061026761090b565b6040516102749190612b95565b60405180910390f35b348015610288575f80fd5b506102a3600480360381019061029e9190612bb5565b61099a565b6040516102b09190612bef565b60405180910390f35b3480156102c4575f80fd5b506102df60048036038101906102da9190612c32565b6109b5565b005b3480156102ec575f80fd5b506102f56109cb565b6040516103029190612bef565b60405180910390f35b348015610316575f80fd5b50610331600480360381019061032c9190612cab565b6109f0565b005b34801561033e575f80fd5b5061035960048036038101906103549190612cd6565b610a3b565b005b348015610366575f80fd5b50610381600480360381019061037c9190612cd6565b610aba565b005b34801561038e575f80fd5b50610397610ad9565b6040516103a49190612994565b60405180910390f35b3480156103b8575f80fd5b506103d360048036038101906103ce91906129e0565b610aeb565b6040516103e09190612bef565b60405180910390f35b3480156103f4575f80fd5b506103fd610b33565b60405161040a9190612d35565b60405180910390f35b34801561041e575f80fd5b5061043960048036038101906104349190612bb5565b610b39565b6040516104469190612bef565b60405180910390f35b34801561045a575f80fd5b5061047560048036038101906104709190612d4e565b610b4a565b6040516104829190612d35565b60405180910390f35b348015610496575f80fd5b5061049f610c00565b005b3480156104ac575f80fd5b506104c760048036038101906104c29190612da3565b610c13565b005b3480156104d4575f80fd5b506104dd610c37565b6040516104ea9190612bef565b60405180910390f35b3480156104fe575f80fd5b5061051960048036038101906105149190612bb5565b610c5f565b005b348015610526575f80fd5b5061052f610c71565b60405161053c9190612b95565b60405180910390f35b348015610550575f80fd5b5061056b60048036038101906105669190612efa565b610d01565b005b348015610578575f80fd5b50610581610d1c565b005b34801561058e575f80fd5b506105a960048036038101906105a49190612f41565b610d51565b005b3480156105b6575f80fd5b506105d160048036038101906105cc919061301d565b610d67565b005b3480156105de575f80fd5b506105f960048036038101906105f49190612bb5565b610d84565b6040516106069190612b95565b60405180910390f35b34801561061a575f80fd5b5061063560048036038101906106309190612bb5565b611150565b6040516106429190612bef565b60405180910390f35b348015610656575f80fd5b5061065f611161565b60405161066c9190612d35565b60405180910390f35b348015610680575f80fd5b5061069b6004803603810190610696919061309d565b611167565b6040516106a89190612994565b60405180910390f35b6106b96111f5565b6040516106c69190612d35565b60405180910390f35b3480156106da575f80fd5b506106e36114b5565b6040516106f091906130ea565b60405180910390f35b348015610704575f80fd5b5061071f600480360381019061071a9190612d4e565b6114da565b005b34801561072c575f80fd5b5061073561155e565b6040516107429190612d35565b60405180910390f35b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610825575061082482611564565b5b9050919050565b60605f838361083b9190613130565b67ffffffffffffffff81111561085457610853612dd6565b5b6040519080825280602002602001820160405280156108825781602001602082028036833780820191505090505b5090505f8490505b838110156109005761089b81610b39565b8286836108a89190613130565b815181106108b9576108b8613163565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050808060010191505061088a565b508091505092915050565b60605f8054610919906131bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610945906131bd565b80156109905780601f1061096757610100808354040283529160200191610990565b820191905f5260205f20905b81548152906001019060200180831161097357829003601f168201915b5050505050905090565b5f6109a4826115cd565b506109ae82611653565b9050919050565b6109c782826109c261168c565b611693565b5050565b600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109f86116a5565b8060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c5f8281526020019081526020015f2082908060018154018082558091505060019003905f5260205f20015f9091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610ab583838361172c565b505050565b610ad483838360405180602001604052805f815250610d67565b505050565b600a5f9054906101000a900460ff1681565b600c602052815f5260405f208181548110610b04575f80fd5b905f5260205f20015f915091509054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b5f610b43826115cd565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bbb575f6040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401610bb29190612bef565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610c086116a5565b610c115f61182b565b565b610c1b6116a5565b80600a5f6101000a81548160ff02191690831515021790555050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610c676116a5565b80600b8190555050565b606060018054610c80906131bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610cac906131bd565b8015610cf75780601f10610cce57610100808354040283529160200191610cf7565b820191905f5260205f20905b815481529060010190602001808311610cda57829003601f168201915b5050505050905090565b610d096116a5565b80600e9081610d18919061338a565b5050565b610d246116a5565b610d4f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16476118ee565b565b610d63610d5c61168c565b83836119d7565b5050565b610d72848484610a3b565b610d7e84848484611b40565b50505050565b60605f6040518060400160405280600281526020017f5b2000000000000000000000000000000000000000000000000000000000000081525090505f5b600c5f8581526020019081526020015f2080549050811015610eb1575f811115610e085781604051602001610df691906134dd565b60405160208183030381529060405291505b81610e82600c5f8781526020019081526020015f208381548110610e2f57610e2e613163565b5b905f5260205f20015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051602001610e679190613543565b60405160208183030381529060405280519060200120611cf2565b604051602001610e939291906135a7565b60405160208183030381529060405291508080600101915050610dc1565b5080604051602001610ec3919061362a565b6040516020818303038152906040529050610edc6128c2565b6040518061016001604052806101398152602001613f716101399139815f60058110610f0b57610f0a613163565b5b60200201819052506040518060400160405280600681526020017f76617220643d000000000000000000000000000000000000000000000000000081525081600160058110610f5d57610f5c613163565b5b60200201819052508181600260058110610f7a57610f79613163565b5b60200201819052506040518061140001604052806113d181526020016140aa6113d1913981600360058110610fb257610fb1613163565b5b60200201819052506040518060400160405280601081526020017f3c2f7363726970743e3c2f68746d6c3e000000000000000000000000000000008152508160046005811061100457611003613163565b5b60200201819052505f815f600581106110205761101f613163565b5b60200201518260016005811061103957611038613163565b5b60200201518360026005811061105257611051613163565b5b60200201518460036005811061106b5761106a613163565b5b60200201518560046005811061108457611083613163565b5b602002015160405160200161109d95949392919061364b565b60405160208183030381529060405290505f6111206110bb87611f4b565b600e6110c689611f4b565b6110cf866120a4565b6110f86001600c5f8e81526020019081526020015f20805490506110f39190613130565b611f4b565b60405160200161110c9594939291906139b7565b6040516020818303038152906040526120a4565b9050806040516020016111339190613a82565b604051602081830303815290604052915081945050505050919050565b5f61115a82610b39565b9050919050565b60095481565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b5f600a5f9054906101000a900460ff16806112425750611213610c37565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890613aed565b60405180910390fd5b600b5434146112c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bc90613b55565b60405180910390fd5b6008546009541061130b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130290613bbd565b60405180910390fd5b5f6009549050600c5f8281526020019081526020015f20600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060018154018082558091505060019003905f5260205f20015f9091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600c5f8281526020019081526020015f2033908060018154018082558091505060019003905f5260205f20015f9091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600d5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061145a3382612211565b600160095f82825461146c9190613bdb565b925050819055507f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f3334836040516114a693929190613c0e565b60405180910390a18091505090565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114e26116a5565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611552575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016115499190612bef565b60405180910390fd5b61155b8161182b565b50565b60085481565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f806115d88361222e565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361164a57826040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016116419190612d35565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b6116a08383836001612267565b505050565b6116ad61168c565b73ffffffffffffffffffffffffffffffffffffffff166116cb610c37565b73ffffffffffffffffffffffffffffffffffffffff161461172a576116ee61168c565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117219190612bef565b60405180910390fd5b565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361179c575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016117939190612bef565b60405180910390fd5b5f6117af83836117aa61168c565b612426565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611825578382826040517f64283d7b00000000000000000000000000000000000000000000000000000000815260040161181c93929190613c43565b60405180910390fd5b50505050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8047101561193357306040517fcd78605900000000000000000000000000000000000000000000000000000000815260040161192a9190612bef565b60405180910390fd5b5f8273ffffffffffffffffffffffffffffffffffffffff168260405161195890613ca5565b5f6040518083038185875af1925050503d805f8114611992576040519150601f19603f3d011682016040523d82523d5f602084013e611997565b606091505b50509050806119d2576040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a4757816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401611a3e9190612bef565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b339190612994565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1115611cec578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02611b8361168c565b8685856040518563ffffffff1660e01b8152600401611ba59493929190613d0b565b6020604051808303815f875af1925050508015611be057506040513d601f19601f82011682018060405250810190611bdd9190613d69565b60015b611c61573d805f8114611c0e576040519150601f19603f3d011682016040523d82523d5f602084013e611c13565b606091505b505f815103611c5957836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401611c509190612bef565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611cea57836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401611ce19190612bef565b60405180910390fd5b505b50505050565b60605f604267ffffffffffffffff811115611d1057611d0f612dd6565b5b6040519080825280601f01601f191660200182016040528015611d425781602001600182028036833780820191505090505b5090505f600290507f3000000000000000000000000000000000000000000000000000000000000000825f81518110611d7e57611d7d613163565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053507f780000000000000000000000000000000000000000000000000000000000000082600181518110611de157611de0613163565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505f5b6020811015611f40575f600882611e289190613d94565b86901b60f81c90505f601082611e3e9190613e0e565b90505f601083611e4e9190613e3e565b9050600a8260ff1610611e62576057611e65565b60305b82611e709190613e6e565b60f81b868680611e7f90613ea2565b975081518110611e9257611e91613163565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600a8160ff1610611ed2576057611ed5565b60305b81611ee09190613e6e565b60f81b868680611eef90613ea2565b975081518110611f0257611f01613163565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505050508080600101915050611e11565b508192505050919050565b60605f8203611f91576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061209f565b5f8290505f5b5f8214611fc0578080611fa990613ea2565b915050600a82611fb99190613ee9565b9150611f97565b5f8167ffffffffffffffff811115611fdb57611fda612dd6565b5b6040519080825280601f01601f19166020018201604052801561200d5781602001600182028036833780820191505090505b5090505b5f8514612098576001826120259190613130565b9150600a856120349190613f19565b60306120409190613bdb565b60f81b81838151811061205657612055613163565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600a856120919190613ee9565b9450612011565b8093505050505b919050565b60605f8251036120c45760405180602001604052805f815250905061220c565b5f60405180606001604052806040815260200161547b6040913990505f6003600285516120f19190613bdb565b6120fb9190613ee9565b60046121079190613d94565b67ffffffffffffffff8111156121205761211f612dd6565b5b6040519080825280601f01601f1916602001820160405280156121525781602001600182028036833780820191505090505b509050600182016020820185865187016020810180515f82525b828410156121c7576003840193508351603f8160121c168701518653600186019550603f81600c1c168701518653600186019550603f8160061c168701518653600186019550603f811687015186536001860195505061216c565b80825260038a5106600181146121e457600281146121f7576121ff565b603d6001870353603d60028703536121ff565b603d60018703535b5050505050505080925050505b919050565b61222a828260405180602001604052805f815250612631565b5050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061229f57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156123d1575f6122ae846115cd565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561231857508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b801561232b57506123298184611167565b155b1561236d57826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016123649190612bef565b60405180910390fd5b81156123cf57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b5f806124318461222e565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146124725761247181848661264c565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146124fd576124b15f855f80612267565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461257c57600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b61263b838361270f565b6126475f848484611b40565b505050565b612657838383612802565b61270a575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036126cb57806040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016126c29190612d35565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401612701929190613f49565b60405180910390fd5b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361277f575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016127769190612bef565b60405180910390fd5b5f61278b83835f612426565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146127fd575f6040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081526004016127f49190612bef565b60405180910390fd5b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156128b957508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061287a57506128798484611167565b5b806128b857508273ffffffffffffffffffffffffffffffffffffffff166128a083611653565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b6040518060a001604052806005905b60608152602001906001900390816128d15790505090565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61292e816128fa565b8114612938575f80fd5b50565b5f8135905061294981612925565b92915050565b5f60208284031215612964576129636128f2565b5b5f6129718482850161293b565b91505092915050565b5f8115159050919050565b61298e8161297a565b82525050565b5f6020820190506129a75f830184612985565b92915050565b5f819050919050565b6129bf816129ad565b81146129c9575f80fd5b50565b5f813590506129da816129b6565b92915050565b5f80604083850312156129f6576129f56128f2565b5b5f612a03858286016129cc565b9250506020612a14858286016129cc565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612a7082612a47565b9050919050565b612a8081612a66565b82525050565b5f612a918383612a77565b60208301905092915050565b5f602082019050919050565b5f612ab382612a1e565b612abd8185612a28565b9350612ac883612a38565b805f5b83811015612af8578151612adf8882612a86565b9750612aea83612a9d565b925050600181019050612acb565b5085935050505092915050565b5f6020820190508181035f830152612b1d8184612aa9565b905092915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612b6782612b25565b612b718185612b2f565b9350612b81818560208601612b3f565b612b8a81612b4d565b840191505092915050565b5f6020820190508181035f830152612bad8184612b5d565b905092915050565b5f60208284031215612bca57612bc96128f2565b5b5f612bd7848285016129cc565b91505092915050565b612be981612a66565b82525050565b5f602082019050612c025f830184612be0565b92915050565b612c1181612a66565b8114612c1b575f80fd5b50565b5f81359050612c2c81612c08565b92915050565b5f8060408385031215612c4857612c476128f2565b5b5f612c5585828601612c1e565b9250506020612c66858286016129cc565b9150509250929050565b5f612c7a82612a47565b9050919050565b612c8a81612c70565b8114612c94575f80fd5b50565b5f81359050612ca581612c81565b92915050565b5f60208284031215612cc057612cbf6128f2565b5b5f612ccd84828501612c97565b91505092915050565b5f805f60608486031215612ced57612cec6128f2565b5b5f612cfa86828701612c1e565b9350506020612d0b86828701612c1e565b9250506040612d1c868287016129cc565b9150509250925092565b612d2f816129ad565b82525050565b5f602082019050612d485f830184612d26565b92915050565b5f60208284031215612d6357612d626128f2565b5b5f612d7084828501612c1e565b91505092915050565b612d828161297a565b8114612d8c575f80fd5b50565b5f81359050612d9d81612d79565b92915050565b5f60208284031215612db857612db76128f2565b5b5f612dc584828501612d8f565b91505092915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612e0c82612b4d565b810181811067ffffffffffffffff82111715612e2b57612e2a612dd6565b5b80604052505050565b5f612e3d6128e9565b9050612e498282612e03565b919050565b5f67ffffffffffffffff821115612e6857612e67612dd6565b5b612e7182612b4d565b9050602081019050919050565b828183375f83830152505050565b5f612e9e612e9984612e4e565b612e34565b905082815260208101848484011115612eba57612eb9612dd2565b5b612ec5848285612e7e565b509392505050565b5f82601f830112612ee157612ee0612dce565b5b8135612ef1848260208601612e8c565b91505092915050565b5f60208284031215612f0f57612f0e6128f2565b5b5f82013567ffffffffffffffff811115612f2c57612f2b6128f6565b5b612f3884828501612ecd565b91505092915050565b5f8060408385031215612f5757612f566128f2565b5b5f612f6485828601612c1e565b9250506020612f7585828601612d8f565b9150509250929050565b5f67ffffffffffffffff821115612f9957612f98612dd6565b5b612fa282612b4d565b9050602081019050919050565b5f612fc1612fbc84612f7f565b612e34565b905082815260208101848484011115612fdd57612fdc612dd2565b5b612fe8848285612e7e565b509392505050565b5f82601f83011261300457613003612dce565b5b8135613014848260208601612faf565b91505092915050565b5f805f8060808587031215613035576130346128f2565b5b5f61304287828801612c1e565b945050602061305387828801612c1e565b9350506040613064878288016129cc565b925050606085013567ffffffffffffffff811115613085576130846128f6565b5b61309187828801612ff0565b91505092959194509250565b5f80604083850312156130b3576130b26128f2565b5b5f6130c085828601612c1e565b92505060206130d185828601612c1e565b9150509250929050565b6130e481612c70565b82525050565b5f6020820190506130fd5f8301846130db565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61313a826129ad565b9150613145836129ad565b925082820390508181111561315d5761315c613103565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806131d457607f821691505b6020821081036131e7576131e6613190565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026132497fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261320e565b613253868361320e565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61328e613289613284846129ad565b61326b565b6129ad565b9050919050565b5f819050919050565b6132a783613274565b6132bb6132b382613295565b84845461321a565b825550505050565b5f90565b6132cf6132c3565b6132da81848461329e565b505050565b5b818110156132fd576132f25f826132c7565b6001810190506132e0565b5050565b601f82111561334257613313816131ed565b61331c846131ff565b8101602085101561332b578190505b61333f613337856131ff565b8301826132df565b50505b505050565b5f82821c905092915050565b5f6133625f1984600802613347565b1980831691505092915050565b5f61337a8383613353565b9150826002028217905092915050565b61339382612b25565b67ffffffffffffffff8111156133ac576133ab612dd6565b5b6133b682546131bd565b6133c1828285613301565b5f60209050601f8311600181146133f2575f84156133e0578287015190505b6133ea858261336f565b865550613451565b601f198416613400866131ed565b5f5b8281101561342757848901518255600182019150602085019450602081019050613402565b868310156134445784890151613440601f891682613353565b8355505b6001600288020188555050505b505050505050565b5f81905092915050565b5f61346d82612b25565b6134778185613459565b9350613487818560208601612b3f565b80840191505092915050565b7f2c200000000000000000000000000000000000000000000000000000000000005f82015250565b5f6134c7600283613459565b91506134d282613493565b600282019050919050565b5f6134e88284613463565b91506134f3826134bb565b915081905092915050565b5f8160601b9050919050565b5f613514826134fe565b9050919050565b5f6135258261350a565b9050919050565b61353d61353882612a66565b61351b565b82525050565b5f61354e828461352c565b60148201915081905092915050565b7f22000000000000000000000000000000000000000000000000000000000000005f82015250565b5f613591600183613459565b915061359c8261355d565b600182019050919050565b5f6135b28285613463565b91506135bd82613585565b91506135c98284613463565b91506135d482613585565b91508190509392505050565b7f5d000000000000000000000000000000000000000000000000000000000000005f82015250565b5f613614600183613459565b915061361f826135e0565b600182019050919050565b5f6136358284613463565b915061364082613608565b915081905092915050565b5f6136568288613463565b91506136628287613463565b915061366e8286613463565b915061367a8285613463565b91506136868284613463565b91508190509695505050505050565b7f7b226e616d65223a2022436f6e7374616e7420000000000000000000000000005f82015250565b5f6136c9601383613459565b91506136d482613695565b601382019050919050565b7f222c20226465736372697074696f6e223a2022436f6e7374616e7420647261775f8201527f732061206c696e65206f6620636f6e6e656374696f6e2066726f6d207468652060208201527f617274697374207468726f75676820616c6c20636f6c6c6563746f727320766960408201527f61207468652072616e646f6d6c7920646572697665642068617368207768696360608201527f6820736572766573206173206f6e2d636861696e206964656e746974793b207460808201527f68652077616c6c657420616464726573732e204a6f6e617468616e2043686f6d60a08201527f6b6f2c20323032342e222c2022696d616765223a20220000000000000000000060c082015250565b5f6137f760d683613459565b9150613802826136df565b60d682019050919050565b5f8154613819816131bd565b6138238186613459565b9450600182165f811461383d576001811461385257613884565b60ff1983168652811515820286019350613884565b61385b856131ed565b5f5b8381101561387c5781548189015260018201915060208101905061385d565b838801955050505b50505092915050565b7f222c2022616e696d6174696f6e5f75726c223a2022646174613a696d6167652f5f8201527f7376672b786d6c3b6261736536342c0000000000000000000000000000000000602082015250565b5f6138e7602f83613459565b91506138f28261388d565b602f82019050919050565b7f222c202261747472696275746573223a205b207b202274726169745f747970655f8201527f223a20225472616e7366657273222c202276616c7565223a2022000000000000602082015250565b5f613957603a83613459565b9150613962826138fd565b603a82019050919050565b7f22207d205d20207d0000000000000000000000000000000000000000000000005f82015250565b5f6139a1600883613459565b91506139ac8261396d565b600882019050919050565b5f6139c1826136bd565b91506139cd8288613463565b91506139d8826137eb565b91506139e4828761380d565b91506139f08286613463565b91506139fb826138db565b9150613a078285613463565b9150613a128261394b565b9150613a1e8284613463565b9150613a2982613995565b91508190509695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000005f82015250565b5f613a6c601d83613459565b9150613a7782613a38565b601d82019050919050565b5f613a8c82613a60565b9150613a988284613463565b915081905092915050565b7f73616c65206d75737420626520616374697665000000000000000000000000005f82015250565b5f613ad7601383612b2f565b9150613ae282613aa3565b602082019050919050565b5f6020820190508181035f830152613b0481613acb565b9050919050565b7f6d7573742073656e6420696e20636f727265637420616d6f756e7400000000005f82015250565b5f613b3f601b83612b2f565b9150613b4a82613b0b565b602082019050919050565b5f6020820190508181035f830152613b6c81613b33565b9050919050565b7f73616c65206973206d696e746564206f757400000000000000000000000000005f82015250565b5f613ba7601283612b2f565b9150613bb282613b73565b602082019050919050565b5f6020820190508181035f830152613bd481613b9b565b9050919050565b5f613be5826129ad565b9150613bf0836129ad565b9250828201905080821115613c0857613c07613103565b5b92915050565b5f606082019050613c215f830186612be0565b613c2e6020830185612d26565b613c3b6040830184612d26565b949350505050565b5f606082019050613c565f830186612be0565b613c636020830185612d26565b613c706040830184612be0565b949350505050565b5f81905092915050565b50565b5f613c905f83613c78565b9150613c9b82613c82565b5f82019050919050565b5f613caf82613c85565b9150819050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613cdd82613cb9565b613ce78185613cc3565b9350613cf7818560208601612b3f565b613d0081612b4d565b840191505092915050565b5f608082019050613d1e5f830187612be0565b613d2b6020830186612be0565b613d386040830185612d26565b8181036060830152613d4a8184613cd3565b905095945050505050565b5f81519050613d6381612925565b92915050565b5f60208284031215613d7e57613d7d6128f2565b5b5f613d8b84828501613d55565b91505092915050565b5f613d9e826129ad565b9150613da9836129ad565b9250828202613db7816129ad565b91508282048414831517613dce57613dcd613103565b5b5092915050565b5f60ff82169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f613e1882613dd5565b9150613e2383613dd5565b925082613e3357613e32613de1565b5b828204905092915050565b5f613e4882613dd5565b9150613e5383613dd5565b925082613e6357613e62613de1565b5b828206905092915050565b5f613e7882613dd5565b9150613e8383613dd5565b9250828201905060ff811115613e9c57613e9b613103565b5b92915050565b5f613eac826129ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ede57613edd613103565b5b600182019050919050565b5f613ef3826129ad565b9150613efe836129ad565b925082613f0e57613f0d613de1565b5b828204905092915050565b5f613f23826129ad565b9150613f2e836129ad565b925082613f3e57613f3d613de1565b5b828206905092915050565b5f604082019050613f5c5f830185612be0565b613f696020830184612d26565b939250505056fe3c21444f43545950452068746d6c3e3c68746d6c206c616e673d27656e273e3c686561643e3c6d657461206e616d653d2776696577706f72742720636f6e74656e743d2777696474683d6465766963652d77696474682c20696e697469616c2d7363616c653d312c206d6178696d756d2d7363616c653d31273e3c6d65746120636861727365743d5554462d383e3c7374796c6520747970653d27746578742f637373273e626f64797b6d617267696e3a303b70616464696e673a303b77696474683a313030253b6865696768743a313030257d7376677b77696474683a313030253b6865696768743a31303076683b646973706c61793a626c6f636b7d3c2f7374796c653e3c2f686561643e3c626f64793e3c2f626f64793e3c73637269707420747970653d27746578742f6a617661736372697074273e3b76617220753d5b5d3b666f722876617220723d303b723c642e6c656e6774683b722b2b297b645b725d3d426967496e7428645b725d297d66756e6374696f6e207028722c6f2c74297b72657475726e207061727365496e742828426967496e742872293e3e426967496e74286f2a382926426967496e7428323535292925426967496e74287429297d66756e6374696f6e2074286f2c74297b666f72286c657420723d303b723c343b722b2b297b6966286e286f2e706f696e74735b725d2c7429297b72657475726e20747275657d7d666f72286c657420723d303b723c343b722b2b297b6966286e28742e706f696e74735b725d2c6f29297b72657475726e20747275657d7d72657475726e2066616c73657d66756e6374696f6e206e286f2c74297b666f72286c657420723d303b723c343b722b2b297b636f6e7374206e3d742e706f696e74735b725d3b636f6e737420653d742e706f696e74735b28722b312925345d3b636f6e737420663d7b783a6f2e782d6e2e782c793a6f2e792d6e2e797d3b636f6e737420693d7b783a6f2e782d652e782c793a6f2e792d652e797d3b636f6e737420613d662e782a692e792d692e782a662e793b696628613c30297b72657475726e2066616c73657d7d72657475726e20747275657d66756e6374696f6e206f28297b666f722876617220723d303b723c642e6c656e6774683b722b2b297b755b725d3d7b7d3b755b725d2e706f696e74733d5b5d3b755b725d2e706f696e74735b305d3d7b783a302c793a307d3b755b725d2e706f696e74735b315d3d7b783a3730302c793a307d3b755b725d2e706f696e74735b325d3d7b783a3730302c793a3165337d3b755b725d2e706f696e74735b335d3d7b783a302c793a3165337d7d7d66756e6374696f6e206528297b76617220723d303b766172206f3d303b666f722876617220743d303b743c642e6c656e6774683b742b2b297b766172206e3d35302b7028645b745d2c31312c3535293b76617220653d7028645b745d2c31302c6e293b723d653b76617220663d7028645b745d2c322c32293b696628663e3d31297b636f6e736f6c652e6c6f6728652c276c656674272c74293b755b745d2e706f696e74735b305d2e792b3d653b755b745d2e706f696e74735b315d2e782d3d653b755b745d2e706f696e74735b325d2e792d3d653b755b745d2e706f696e74735b335d2e782b3d657d656c73657b636f6e736f6c652e6c6f6728652c277269676874272c74293b755b745d2e706f696e74735b305d2e782b3d653b755b745d2e706f696e74735b315d2e792b3d653b755b745d2e706f696e74735b325d2e782d3d653b755b745d2e706f696e74735b335d2e792d3d657d6f3d667d7d76617220663d303b66756e6374696f6e206928297b666f722876617220723d303b723c752e6c656e6774683b722b2b297b766172206f3d287061727365496e7428426967496e7428645b725d2925426967496e742835303029292b287028645b725d2c31392c323535292b7028645b725d2c31382c3235352929292f323b636f6e736f6c652e6c6f67286f293b755b725d2e706f696e74735b315d2e782d3d6f3b755b725d2e706f696e74735b325d2e782d3d6f7d666f722876617220723d303b723c752e6c656e6774682d313b722b2b297b76617220743d303b666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b696628755b725d2e706f696e74735b6e5d2e783e74297b743d755b725d2e706f696e74735b6e5d2e787d7d666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b755b722b315d2e706f696e74735b6e5d2e782b3d747d7d666f722876617220723d303b723c752e6c656e6774683b722b2b297b76617220653d7061727365496e7428426967496e7428645b725d2925426967496e742831343829293b755b725d2e706f696e74735b305d2e792b3d653b755b725d2e706f696e74735b315d2e792b3d653b6966287028645b725d2c31342c313030293e3530297b755b725d2e706f696e74735b325d2e792d3d653b755b725d2e706f696e74735b335d2e792d3d657d7d666f722876617220723d303b723c752e6c656e6774683b722b2b297b76617220653d2d33302b7028645b725d2c31362c3630293b76617220663d2d33302b7028645b725d2c31352c3630293b6966287028645b725d2c392c3630293e3330297b755b725d2e706f696e74735b315d2e792d3d653b755b725d2e706f696e74735b325d2e792b3d653b755b725d2e706f696e74735b305d2e792b3d663b755b725d2e706f696e74735b335d2e792d3d667d656c73657b755b725d2e706f696e74735b305d2e792d3d653b755b725d2e706f696e74735b335d2e792b3d653b755b725d2e706f696e74735b315d2e792b3d663b755b725d2e706f696e74735b325d2e792d3d667d7d76617220693d3165333b666f722876617220723d303b723c752e6c656e6774683b722b2b297b666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b696628755b725d2e706f696e74735b6e5d2e793c69297b693d755b725d2e706f696e74735b6e5d2e797d7d7d696628693c30297b666f722876617220723d303b723c752e6c656e6774683b722b2b297b666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b6966286e3d3d307c7c6e3d3d31297b755b725d2e706f696e74735b6e5d2e792b3d2d697d7d7d7d76617220613d303b666f722876617220723d303b723c752e6c656e6774683b722b2b297b666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b696628755b725d2e706f696e74735b6e5d2e793e61297b613d755b725d2e706f696e74735b6e5d2e797d7d7d666f722876617220723d303b723c752e6c656e6774683b722b2b297b666f7228766172206e3d303b6e3c755b725d2e706f696e74732e6c656e6774683b6e2b2b297b6966286e3d3d327c7c6e3d3d33297b755b725d2e706f696e74735b6e5d2e792b3d3165332d617d7d7d7d66756e6374696f6e206128297b666f722876617220723d313b723c752e6c656e6774683b722b2b297b696628723c752e6c656e6774682d31297b766172206f3d303b7768696c6528217428755b725d2c755b7061727365496e7428722d31295d29297b755b725d2e706f696e74735b305d2e782d3d313b755b725d2e706f696e74735b315d2e782d3d313b755b725d2e706f696e74735b325d2e782d3d313b755b725d2e706f696e74735b335d2e782d3d317d7d656c73657b7768696c6528217428755b722d315d2c755b725d29297b755b725d2e706f696e74735b305d2e782d3d313b755b725d2e706f696e74735b335d2e782d3d313b755b725d2e706f696e74735b315d2e782d3d313b755b725d2e706f696e74735b325d2e782d3d317d7d7d7d66756e6374696f6e207628297b76617220723d4d6174682e6d617828755b752e6c656e6774682d315d2e706f696e74735b315d2e782c755b752e6c656e6774682d315d2e706f696e74735b325d2e78293b636f6e736f6c652e6c6f672872293b696628723e316533297b666f7228766172206f3d303b6f3c752e6c656e6774683b6f2b2b297b666f722876617220743d303b743c755b6f5d2e706f696e74732e6c656e6774683b742b2b297b636f6e737420653d755b6f5d2e706f696e74735b745d2e782f723b636f6e737420663d652a3165333b755b6f5d2e706f696e74735b745d2e783d667d7d7d656c73657b766172206e3d3165332d723b666f7228766172206f3d303b6f3c752e6c656e6774683b6f2b2b297b666f722876617220743d303b743c755b6f5d2e706f696e74732e6c656e6774683b742b2b297b755b6f5d2e706f696e74735b745d2e782b3d6e2f327d7d7d7d76617220633d3132303b66756e6374696f6e207328297b666f722876617220723d303b723c752e6c656e6774683b722b2b297b666f7228766172206f3d303b6f3c755b725d2e706f696e74732e6c656e6774683b6f2b2b297b755b725d2e706f696e74735b6f5d2e783d632f322b755b725d2e706f696e74735b6f5d2e782f3165332a283165332d63293b755b725d2e706f696e74735b6f5d2e793d632f322b755b725d2e706f696e74735b6f5d2e792f3165332a283165332d63297d7d7d66756e6374696f6e206c28297b636f6e737420723d27687474703a2f2f7777772e77332e6f72672f323030302f737667273b636f6e7374206f3d646f63756d656e742e637265617465456c656d656e744e5328722c2773766727293b6f2e736574417474726962757465282776696577426f78272c273020302031303030203130303027293b6f2e73657441747472696275746528277072657365727665417370656374526174696f272c276e6f6e6527293b6f2e73657441747472696275746528276964272c2773766727293b6f2e7365744174747269627574652827786d6c6e73272c72293b6f2e73657441747472696275746528277769647468272c273130303027293b6f2e7365744174747269627574652827686569676874272c273130303027293b6f2e7374796c652e77696474683d2731303025273b6f2e7374796c652e6865696768743d2731303025273b636f6e737420743d646f63756d656e742e637265617465456c656d656e744e5328722c2766696c74657227293b742e73657441747472696275746528276964272c27663127293b742e7365744174747269627574652827786c6d6e73272c72293b6f2e617070656e644368696c642874293b636f6e7374206e3d646f63756d656e742e637265617465456c656d656e744e5328722c27666544726f70536861646f7727293b6e2e7365744174747269627574652827696e272c27536f757263654772617068696327293b6e2e7365744174747269627574652827737464446576696174696f6e272c273427293b6e2e73657441747472696275746528276479272c36293b6e2e73657441747472696275746528276478272c33293b742e617070656e644368696c64286e293b636f6e737420653d646f63756d656e742e637265617465456c656d656e744e5328722c2766696c74657227293b652e73657441747472696275746528276964272c27663227293b652e7365744174747269627574652827786c6d6e73272c72293b6f2e617070656e644368696c642865293b636f6e737420663d646f63756d656e742e637265617465456c656d656e744e5328722c27666544726f70536861646f7727293b662e7365744174747269627574652827696e272c27536f757263654772617068696327293b662e7365744174747269627574652827737464446576696174696f6e272c273427293b662e73657441747472696275746528276479272c36293b662e73657441747472696275746528276478272c2d33293b652e617070656e644368696c642866293b636f6e737420693d646f63756d656e742e637265617465456c656d656e744e5328722c2766696c74657227293b692e73657441747472696275746528276964272c27663327293b692e7365744174747269627574652827786c6d6e73272c72293b6f2e617070656e644368696c642869293b636f6e737420613d646f63756d656e742e637265617465456c656d656e744e5328722c27666544726f70536861646f7727293b612e7365744174747269627574652827696e272c27536f757263654772617068696327293b612e7365744174747269627574652827737464446576696174696f6e272c273227293b612e73657441747472696275746528276479272c33293b612e73657441747472696275746528276478272c30293b692e617070656e644368696c642861293b636f6e737420763d646f63756d656e742e637265617465456c656d656e744e5328722c277061746827293b762e736574417474726962757465282764272c27204d20302030204c20313030312030204c20313030312031303031204c20302031303031207a27293b762e736574417474726962757465282766696c6c272c272346464646464627293b762e73657441747472696275746528277374726f6b65272c276e6f6e6527293b762e73657441747472696275746528276f706163697479272c27312e3027293b6f2e617070656e644368696c642876293b666f722876617220633d303b633c752e6c656e6774683b632b2b297b76617220733d604d20247b755b635d2e706f696e74735b305d2e787d20247b755b635d2e706f696e74735b305d2e797d603b666f72286c657420723d313b723c755b635d2e706f696e74732e6c656e6774683b722b2b297b732b3d60204c20247b755b635d2e706f696e74735b725d2e787d20247b755b635d2e706f696e74735b725d2e797d607d732b3d60205a603b636f6e7374206c3d646f63756d656e742e637265617465456c656d656e744e5328722c277061746827293b6c2e736574417474726962757465282764272c73293b6c2e736574417474726962757465282766696c6c272c272330303030303027293b6c2e73657441747472696275746528276f706163697479272c2e38352b7028645b635d2c372c3830292f38302a2e3035293b696628752e6c656e6774683c3d32297b696628633d3d31297b6c2e736574417474726962757465282766696c746572272c2775726c282366312927297d656c73657b6c2e736574417474726962757465282766696c746572272c2775726c282366322927297d7d656c73657b6c2e736574417474726962757465282766696c746572272c2775726c282366332927297d6f2e617070656e644368696c64286c297d646f63756d656e742e626f64792e617070656e644368696c64286f297d6f28293b6528293b6928293b6128293b7628293b7328293b6c28293b4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220bb8b5293e90c373d9229d9ed84c00adad3b593984bdac9026509ffc35eb2ee1164736f6c63430008190033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a729ecbbdf05c22ba7993dc510f4b2c56969ecf5
-----Decoded View---------------
Arg [0] : givenWithdrawalAddress (address): 0xA729ecbBdf05C22bA7993dC510f4B2C56969eCf5
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a729ecbbdf05c22ba7993dc510f4b2c56969ecf5
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.