Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Multi Chain
Multichain Addresses
6 addresses found via
Latest 25 from a total of 53 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 17508521 | 101 days 2 hrs ago | IN | 0 ETH | 0.00064847 | ||||
Transfer From | 17268732 | 134 days 20 hrs ago | IN | 0 ETH | 0.00307311 | ||||
Safe Transfer Fr... | 17248232 | 137 days 18 hrs ago | IN | 0 ETH | 0.00247337 | ||||
Safe Transfer Fr... | 17247746 | 137 days 20 hrs ago | IN | 0 ETH | 0.00480252 | ||||
Mod M | 17159265 | 150 days 7 hrs ago | IN | 0 ETH | 0.00132031 | ||||
Transfer From | 17158650 | 150 days 9 hrs ago | IN | 0 ETH | 0.00207172 | ||||
Mint | 17154515 | 150 days 23 hrs ago | IN | 0.1 ETH | 0.05191144 | ||||
Noise Mint | 17153055 | 151 days 4 hrs ago | IN | 0.1 ETH | 0.0639278 | ||||
Create Random Pu... | 17151912 | 151 days 8 hrs ago | IN | 0 ETH | 0.0364687 | ||||
Create Random Pu... | 17151663 | 151 days 9 hrs ago | IN | 0 ETH | 0.03945865 | ||||
Set Approval For... | 17151622 | 151 days 9 hrs ago | IN | 0 ETH | 0.00188029 | ||||
Set Approval For... | 17151559 | 151 days 9 hrs ago | IN | 0 ETH | 0.00181665 | ||||
Create Random Pu... | 17151526 | 151 days 9 hrs ago | IN | 0 ETH | 0.03584622 | ||||
Create Random Pu... | 17151508 | 151 days 9 hrs ago | IN | 0 ETH | 0.03662134 | ||||
Create Random Pu... | 17151489 | 151 days 9 hrs ago | IN | 0 ETH | 0.0353698 | ||||
Noise Mint | 17151425 | 151 days 10 hrs ago | IN | 0.1 ETH | 0.05138538 | ||||
Noise Mint | 17149962 | 151 days 14 hrs ago | IN | 0.1 ETH | 0.05600522 | ||||
Create Random Pu... | 17147875 | 151 days 22 hrs ago | IN | 0 ETH | 0.08267903 | ||||
Noise Mint | 17147410 | 151 days 23 hrs ago | IN | 0.1 ETH | 0.06157192 | ||||
Create Random Pu... | 17147339 | 151 days 23 hrs ago | IN | 0 ETH | 0.03961792 | ||||
Transfer From | 17147089 | 152 days 39 mins ago | IN | 0 ETH | 0.0021784 | ||||
Transfer From | 17144481 | 152 days 9 hrs ago | IN | 0 ETH | 0.00166652 | ||||
Transfer From | 17144481 | 152 days 9 hrs ago | IN | 0 ETH | 0.00228046 | ||||
Mint | 17141941 | 152 days 18 hrs ago | IN | 0.1 ETH | 0.05583302 | ||||
Noise Mint | 17140967 | 152 days 21 hrs ago | IN | 0.1 ETH | 0.05345246 |
Latest 19 internal transactions
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
17154515 | 150 days 23 hrs ago | 0.1 ETH | ||||
17153055 | 151 days 4 hrs ago | 0.1 ETH | ||||
17151425 | 151 days 10 hrs ago | 0.1 ETH | ||||
17149962 | 151 days 14 hrs ago | 0.1 ETH | ||||
17147410 | 151 days 23 hrs ago | 0.1 ETH | ||||
17141941 | 152 days 18 hrs ago | 0.1 ETH | ||||
17140967 | 152 days 21 hrs ago | 0.1 ETH | ||||
17140327 | 152 days 23 hrs ago | 0.1 ETH | ||||
17122810 | 155 days 10 hrs ago | 0.1 ETH | ||||
17122774 | 155 days 10 hrs ago | 0.1 ETH | ||||
17113331 | 156 days 18 hrs ago | 0.15 ETH | ||||
17113020 | 156 days 19 hrs ago | 0.15 ETH | ||||
17112799 | 156 days 20 hrs ago | 0.15 ETH | ||||
17109279 | 157 days 8 hrs ago | 0.15 ETH | ||||
17106157 | 157 days 18 hrs ago | 0.15 ETH | ||||
17101976 | 158 days 8 hrs ago | 0.15 ETH | ||||
17073231 | 162 days 10 hrs ago | 0.2 ETH | ||||
17069811 | 162 days 21 hrs ago | 0.2 ETH | ||||
17063615 | 163 days 18 hrs ago | 0.1 ETH |
Loading...
Loading
Contract Name:
AnarchyOnchain
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // solhint-disable-next-line pragma solidity ^0.8.19; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Base64.sol"; // @author: Bård Ionson // @website: bardIonson.com // // We Are Anarchy On Chain // We Are The Noise of Anarchy // Inspired by Robness We Are Noise contract AnarchyOnchain is ERC721, ERC721URIStorage, ERC721Burnable, ERC721Royalty, Ownable{ using Counters for Counters.Counter; uint256 public mintPrice; uint8 public randomsUsed; uint8 public randomsLoaded; address public bard_address; uint8 public maxSupply = 250; mapping(uint256 => address) private mintedAddress; struct RandomArt { string[3] matrix; string noise; string path; } struct NumberParts { string[16] parts; uint[16] numParts; } mapping(uint256 => RandomArt) internal randomArts; Counters.Counter private _tokenIdCounter; constructor() ERC721("We Are Anarchy On Chain", "AOC") { _setDefaultRoyalty(0x72774bc572ef9a2dFF47c3F8Cc200DC2fe3830C0,1000); mintPrice = 100000000000000000; setBard(msg.sender); mintedAddress[0]=msg.sender; } function changeRoyalty(address _address, uint96 _amount) public onlyOwner { _setDefaultRoyalty(_address, _amount); } function getMintedAddress(uint8 tokenId) public view returns (address){ return mintedAddress[tokenId]; } function setBard(address _new_bard_address) public { if(msg.sender == bard_address || msg.sender == owner()) bard_address = _new_bard_address; } function modM(uint8 _m) public onlyOwner { maxSupply = _m; } function setMintPrice(uint256 _newPrice) public onlyOwner { mintPrice = _newPrice; } function createRandomPub(uint[] memory _randomSeed) public { if (msg.sender == bard_address) createRandom(_randomSeed); } function createRandom(uint[] memory _randomSeed) internal onlyOwner { NumberParts memory division; uint seed; for (uint256 i = 0; i < _randomSeed.length; ++i) { seed = _randomSeed[i]; division = divide(seed); randomArts[randomsLoaded].noise = concatenate(division.parts); randomArts[randomsLoaded].matrix[0] = matrix(division.numParts[0]); randomArts[randomsLoaded].matrix[1] = matrix(division.numParts[1]); randomArts[randomsLoaded].matrix[2] = matrix(division.numParts[2]); randomArts[randomsLoaded].path = calcPath(seed); randomsLoaded++; } } /* Converts an SVG to Base64 string */ function svgToImageURI(string memory svg) internal pure returns (string memory) { string memory baseURL = "data:image/svg+xml;base64,"; string memory svgBase64Encoded = Base64.encode(bytes(svg)); return string(abi.encodePacked(baseURL, svgBase64Encoded)); } /* Generates a tokenURI using Base64 string as the image */ function formatTokenURI(string memory imageURI, string memory artist) internal pure returns (string memory) { return string( abi.encodePacked( "data:application/json;base64,", Base64.encode( bytes( abi.encodePacked( '{"name": "We Are Anarchy On Chain", "description": "Noise of Anarchy" , "image":"', imageURI, '","attributes": [{"trait_type": "Artist","value":"',artist,'"},{"trait_type": "Type","value":"Noise of Anarchy"}]}' ) ) ) ) ); } function appendString(string memory _a, string memory _b, string memory _c, string memory _d, string memory _e, string memory _f, string memory _g, string memory _h, string memory _i, string memory _j, string memory _k) internal pure returns (string memory) { return string(abi.encodePacked(_a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k)); } // Fallback function is called when msg.data is not empty receive() external payable { require(msg.value >= mintPrice, "Not enough ETH sent; check price!"); noiseMint(msg.sender); } fallback() external payable { require(msg.value >= mintPrice, "Not enough ETH sent; check price!"); noiseMint(msg.sender); } function noiseMint(address _to) public payable { require(_tokenIdCounter.current() < maxSupply, "The noise is finished here."); require(msg.value >= mintPrice, "Not enough ETH sent; check price!"); require(randomsUsed < randomsLoaded, "Mint is closed, Sorry."); RandomArt memory oneArt = randomArts[randomsUsed]; randomsUsed++; string memory theFirstObj = appendString(unicode"<svg viewBox='0 0 4e3 2250' xmlns='http://www.w3.org/2000/svg'><filter id='static'><feTurbulence type='turbulence' baseFrequency='0.99' numOctaves='10' result='turbulence'><animate id='sd' attributeName='seed' dur='2s' values='", oneArt.noise,"' repeatCount='indefinite'/></feTurbulence><feColorMatrix type='saturate' values='1' result='saturate'/><feComponentTransfer><feFuncR id='r' type='discrete' tableValues='",oneArt.matrix[0],"'/><feFuncG id='g' type='discrete' tableValues='", oneArt.matrix[1],"'/><feFuncB id='b' type='discrete' tableValues='",oneArt.matrix[2],"'/><feFuncA type='discrete' tableValues='1 1'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(#static)'/><path id='MP' fill='red' stroke='red' stroke-width='0' d='", oneArt.path ,"'/></svg>"); string memory imageURI = svgToImageURI(theFirstObj); string memory uri = formatTokenURI(imageURI, "Bard Ionson"); uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(_to, tokenId); _setTokenURI(tokenId, uri); mintedAddress[randomsUsed] = _to; payable(bard_address).transfer(msg.value); } function calcPath(uint256 endpoint) internal pure returns (string memory) { // Split the number into groups of 4 digits uint256[] memory groups = new uint256[](20); uint256 counter = 0; uint256 num = endpoint; while (num > 0) { groups[counter] = num % 10000; num = num / 10000; counter++; } // Scale down the coordinates to fit within an SVG viewport and round to the nearest integer uint256 scaleX = 4000; uint256 scaleY = 2250; uint256[] memory x = new uint256[](10); uint256[] memory y = new uint256[](10); for (uint256 i = 0; i < 10; i++) { x[i] = (groups[i] * scaleX) / 10000; y[i] = (groups[i+10] * scaleY) / 10000; } // Create an SVG path string that draws a line through the defined points string memory svgPath = string(abi.encodePacked("M", Strings.toString(x[0]), ",", Strings.toString(y[0]))); for (uint256 i = 1; i < 10; i++) { svgPath = string(abi.encodePacked(svgPath, " L", Strings.toString(x[i]), ",", Strings.toString(y[i]))); } return svgPath; } function divide(uint256 number) internal pure returns (NumberParts memory) { NumberParts memory division; for (uint i = 0; i < 16; i++) { uint theNum = number % 100000; division.parts[i] = Strings.toString(theNum); division.numParts[i] = theNum; number = number / 100000; } return division; } function concatenate(string[16] memory arr) internal pure returns (string memory) { string memory result = ""; for (uint i = 0; i < arr.length-3; i++) { if (i==0) { result = arr[i]; } else { result = string.concat(result, ";", arr[i]); } } return result; } function matrix(uint initial) internal pure returns (string memory) { string memory matrixVar; string memory a = Strings.toString((initial % 10)%2); string memory b = Strings.toString((initial % 100 / 10)%2); string memory c = Strings.toString((initial % 1000 / 100)%2); string memory d = Strings.toString((initial % 10000 / 1000)%2); string memory e = Strings.toString((initial % 100000 / 10000)%2); matrixVar = string(abi.encodePacked(a," ",b," ",c," ",d," ",e)); return matrixVar; } // The following functions are overrides required by Solidity. function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage, ERC721Royalty) { super._burn(tokenId); } function totalSupply() public view virtual returns (uint256) { return _tokenIdCounter.current(); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Royalty) returns(bool) { return super.supportsInterface(interfaceId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ 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, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits 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 } // 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 v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/ERC721Royalty.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../common/ERC2981.sol"; import "../../../utils/introspection/ERC165.sol"; /** * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment * information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC721Royalty is ERC2981, ERC721 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); _resetTokenRoyalty(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
{ "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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bard_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint96","name":"_amount","type":"uint96"}],"name":"changeRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_randomSeed","type":"uint256[]"}],"name":"createRandomPub","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"tokenId","type":"uint8"}],"name":"getMintedAddress","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":"maxSupply","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_m","type":"uint8"}],"name":"modM","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"noiseMint","outputs":[],"stateMutability":"payable","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":"randomsLoaded","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomsUsed","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_new_bard_address","type":"address"}],"name":"setBard","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260fa600b60166101000a81548160ff021916908360ff1602179055503480156200002d57600080fd5b506040518060400160405280601781526020017f57652041726520416e6172636879204f6e20436861696e0000000000000000008152506040518060400160405280600381526020017f414f4300000000000000000000000000000000000000000000000000000000008152508160029081620000ab919062000780565b508060039081620000bd919062000780565b505050620000e0620000d46200018060201b60201c565b6200018860201b60201c565b620001087372774bc572ef9a2dff47c3f8cc200dc2fe3830c06103e86200024e60201b60201c565b67016345785d8a0000600a819055506200012833620003f060201b60201c565b33600c600080815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000982565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025e620004d260201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620002bf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002b690620008ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000331576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003289062000960565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600b60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148062000487575062000458620004dc60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b15620004cf5780600b60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b6000612710905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200058857607f821691505b6020821081036200059e576200059d62000540565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620005c9565b620006148683620005c9565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620006616200065b62000655846200062c565b62000636565b6200062c565b9050919050565b6000819050919050565b6200067d8362000640565b620006956200068c8262000668565b848454620005d6565b825550505050565b600090565b620006ac6200069d565b620006b981848462000672565b505050565b5b81811015620006e157620006d5600082620006a2565b600181019050620006bf565b5050565b601f8211156200073057620006fa81620005a4565b6200070584620005b9565b8101602085101562000715578190505b6200072d6200072485620005b9565b830182620006be565b50505b505050565b600082821c905092915050565b6000620007556000198460080262000735565b1980831691505092915050565b600062000770838362000742565b9150826002028217905092915050565b6200078b8262000506565b67ffffffffffffffff811115620007a757620007a662000511565b5b620007b382546200056f565b620007c0828285620006e5565b600060209050601f831160018114620007f85760008415620007e3578287015190505b620007ef858262000762565b8655506200085f565b601f1984166200080886620005a4565b60005b8281101562000832578489015182556001820191506020850194506020810190506200080b565b868310156200085257848901516200084e601f89168262000742565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000620008d6602a8362000867565b9150620008e38262000878565b604082019050919050565b600060208201905081810360008301526200090981620008c7565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006200094860198362000867565b9150620009558262000910565b602082019050919050565b600060208201905081810360008301526200097b8162000939565b9050919050565b615ef680620009926000396000f3fe6080604052600436106101dc5760003560e01c8063715018a611610102578063d5abeb0111610095578063e985e9c511610064578063e985e9c514610761578063ebc2528e1461079e578063f2fde38b146107ba578063f4a0a528146107e357610231565b8063d5abeb01146106b9578063d6e005ae146106e4578063da2f1a7e1461070f578063e8e0fffd1461073857610231565b8063b2fbe9d5116100d1578063b2fbe9d514610601578063b88d4fde1461062a578063c87b56dd14610653578063d4738d5c1461069057610231565b8063715018a61461056b5780638da5cb5b1461058257806395d89b41146105ad578063a22cb465146105d857610231565b80632fd682da1161017a5780635860f9ec116101495780635860f9ec1461049b5780636352211e146104c65780636817c76c1461050357806370a082311461052e57610231565b80632fd682da146103e157806342842e0e1461040c57806342966c68146104355780634542716c1461045e57610231565b8063095ea7b3116101b6578063095ea7b31461032657806318160ddd1461034f57806323b872dd1461037a5780632a55205a146103a357610231565b806301ffc9a71461028157806306fdde03146102be578063081812fc146102e957610231565b3661023157600a54341015610226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021d90613bf4565b60405180910390fd5b61022f3361080c565b005b600a54341015610276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026d90613bf4565b60405180910390fd5b61027f3361080c565b005b34801561028d57600080fd5b506102a860048036038101906102a39190613c80565b610ddd565b6040516102b59190613cc8565b60405180910390f35b3480156102ca57600080fd5b506102d3610def565b6040516102e09190613d62565b60405180910390f35b3480156102f557600080fd5b50610310600480360381019061030b9190613dba565b610e81565b60405161031d9190613e28565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190613e6f565b610f06565b005b34801561035b57600080fd5b5061036461101d565b6040516103719190613ebe565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c9190613ed9565b61102e565b005b3480156103af57600080fd5b506103ca60048036038101906103c59190613f2c565b61108e565b6040516103d8929190613f6c565b60405180910390f35b3480156103ed57600080fd5b506103f6611278565b6040516104039190613e28565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190613ed9565b61129e565b005b34801561044157600080fd5b5061045c60048036038101906104579190613dba565b6112be565b005b34801561046a57600080fd5b5061048560048036038101906104809190613fce565b61131a565b6040516104929190613e28565b60405180910390f35b3480156104a757600080fd5b506104b061135a565b6040516104bd919061400a565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190613dba565b61136d565b6040516104fa9190613e28565b60405180910390f35b34801561050f57600080fd5b5061051861141e565b6040516105259190613ebe565b60405180910390f35b34801561053a57600080fd5b5061055560048036038101906105509190614025565b611424565b6040516105629190613ebe565b60405180910390f35b34801561057757600080fd5b506105806114db565b005b34801561058e57600080fd5b50610597611563565b6040516105a49190613e28565b60405180910390f35b3480156105b957600080fd5b506105c261158d565b6040516105cf9190613d62565b60405180910390f35b3480156105e457600080fd5b506105ff60048036038101906105fa919061407e565b61161f565b005b34801561060d57600080fd5b5061062860048036038101906106239190613fce565b611635565b005b34801561063657600080fd5b50610651600480360381019061064c91906141f3565b6116cf565b005b34801561065f57600080fd5b5061067a60048036038101906106759190613dba565b611731565b6040516106879190613d62565b60405180910390f35b34801561069c57600080fd5b506106b760048036038101906106b291906142ba565b611743565b005b3480156106c557600080fd5b506106ce6117cd565b6040516106db919061400a565b60405180910390f35b3480156106f057600080fd5b506106f96117e0565b604051610706919061400a565b60405180910390f35b34801561071b57600080fd5b50610736600480360381019061073191906143c2565b6117f3565b005b34801561074457600080fd5b5061075f600480360381019061075a9190614025565b611855565b005b34801561076d57600080fd5b506107886004803603810190610783919061440b565b61192d565b6040516107959190613cc8565b60405180910390f35b6107b860048036038101906107b39190614025565b61080c565b005b3480156107c657600080fd5b506107e160048036038101906107dc9190614025565b6119c1565b005b3480156107ef57600080fd5b5061080a60048036038101906108059190613dba565b611ab8565b005b600b60169054906101000a900460ff1660ff16610829600e611b3e565b10610869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086090614497565b60405180910390fd5b600a543410156108ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a590613bf4565b60405180910390fd5b600b60019054906101000a900460ff1660ff16600b60009054906101000a900460ff1660ff1610610914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090b90614503565b60405180910390fd5b6000600d6000600b60009054906101000a900460ff1660ff16815260200190815260200160002060405180606001604052908160008201600380602002604051908101604052809291906000905b82821015610a0557838201805461097890614552565b80601f01602080910402602001604051908101604052809291908181526020018280546109a490614552565b80156109f15780601f106109c6576101008083540402835291602001916109f1565b820191906000526020600020905b8154815290600101906020018083116109d457829003601f168201915b505050505081526020019060010190610962565b505050508152602001600382018054610a1d90614552565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4990614552565b8015610a965780601f10610a6b57610100808354040283529160200191610a96565b820191906000526020600020905b815481529060010190602001808311610a7957829003601f168201915b50505050508152602001600482018054610aaf90614552565b80601f0160208091040260200160405190810160405280929190818152602001828054610adb90614552565b8015610b285780601f10610afd57610100808354040283529160200191610b28565b820191906000526020600020905b815481529060010190602001808311610b0b57829003601f168201915b5050505050815250509050600b600081819054906101000a900460ff1680929190610b52906145b2565b91906101000a81548160ff021916908360ff160217905550506000610c8a60405180610120016040528060e38152602001615dde60e3913983602001516040518060e0016040528060aa8152602001615c0460aa91398560000151600060038110610bc057610bbf6145db565b5b6020020151604051806060016040528060308152602001615bd4603091398760000151600160038110610bf657610bf56145db565b5b6020020151604051806060016040528060308152602001615d6e603091398960000151600260038110610c2c57610c2b6145db565b5b60200201516040518060e0016040528060c08152602001615cae60c091398b604001516040518060400160405280600981526020017f272f3e3c2f7376673e0000000000000000000000000000000000000000000000815250611b4c565b90506000610c9782611b93565b90506000610cda826040518060400160405280600b81526020017f4261726420496f6e736f6e000000000000000000000000000000000000000000815250611c07565b90506000610ce8600e611b3e565b9050610cf4600e611c5a565b610cfe8682611c70565b610d088183611c8e565b85600c6000600b60009054906101000a900460ff1660ff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600b60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610dd4573d6000803e3d6000fd5b50505050505050565b6000610de882611cfb565b9050919050565b606060028054610dfe90614552565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2a90614552565b8015610e775780601f10610e4c57610100808354040283529160200191610e77565b820191906000526020600020905b815481529060010190602001808311610e5a57829003601f168201915b5050505050905090565b6000610e8c82611d0d565b610ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec29061467c565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f118261136d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f789061470e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610fa0611d79565b73ffffffffffffffffffffffffffffffffffffffff161480610fcf5750610fce81610fc9611d79565b61192d565b5b61100e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611005906147a0565b60405180910390fd5b6110188383611d81565b505050565b6000611029600e611b3e565b905090565b61103f611039611d79565b82611e3a565b61107e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107590614832565b60405180910390fd5b611089838383611f18565b505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036112235760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061122d61217e565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866112599190614852565b61126391906148c3565b90508160000151819350935050509250929050565b600b60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112b9838383604051806020016040528060008152506116cf565b505050565b6112cf6112c9611d79565b82611e3a565b61130e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130590614966565b60405180910390fd5b61131781612188565b50565b6000600c60008360ff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600b60009054906101000a900460ff1681565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c906149f8565b60405180910390fd5b80915050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90614a8a565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114e3611d79565b73ffffffffffffffffffffffffffffffffffffffff16611501611563565b73ffffffffffffffffffffffffffffffffffffffff1614611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e90614af6565b60405180910390fd5b6115616000612194565b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461159c90614552565b80601f01602080910402602001604051908101604052809291908181526020018280546115c890614552565b80156116155780601f106115ea57610100808354040283529160200191611615565b820191906000526020600020905b8154815290600101906020018083116115f857829003601f168201915b5050505050905090565b61163161162a611d79565b838361225a565b5050565b61163d611d79565b73ffffffffffffffffffffffffffffffffffffffff1661165b611563565b73ffffffffffffffffffffffffffffffffffffffff16146116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a890614af6565b60405180910390fd5b80600b60166101000a81548160ff021916908360ff16021790555050565b6116e06116da611d79565b83611e3a565b61171f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171690614832565b60405180910390fd5b61172b848484846123c6565b50505050565b606061173c82612422565b9050919050565b61174b611d79565b73ffffffffffffffffffffffffffffffffffffffff16611769611563565b73ffffffffffffffffffffffffffffffffffffffff16146117bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b690614af6565b60405180910390fd5b6117c98282612573565b5050565b600b60169054906101000a900460ff1681565b600b60019054906101000a900460ff1681565b600b60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036118525761185181612707565b5b50565b600b60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806118e357506118b4611563565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1561192a5780600b60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119c9611d79565b73ffffffffffffffffffffffffffffffffffffffff166119e7611563565b73ffffffffffffffffffffffffffffffffffffffff1614611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3490614af6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa390614b88565b60405180910390fd5b611ab581612194565b50565b611ac0611d79565b73ffffffffffffffffffffffffffffffffffffffff16611ade611563565b73ffffffffffffffffffffffffffffffffffffffff1614611b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2b90614af6565b60405180910390fd5b80600a8190555050565b600081600001549050919050565b60608b8b8b8b8b8b8b8b8b8b8b604051602001611b739b9a99989796959493929190614be4565b60405160208183030381529060405290509b9a5050505050505050505050565b606060006040518060400160405280601a81526020017f646174613a696d6167652f7376672b786d6c3b6261736536342c00000000000081525090506000611bda846129dd565b90508181604051602001611bef929190614c7d565b60405160208183030381529060405292505050919050565b6060611c338383604051602001611c1f929190614e1d565b6040516020818303038152906040526129dd565b604051602001611c439190614eae565b604051602081830303815290604052905092915050565b6001816000016000828254019250508190555050565b611c8a828260405180602001604052806000815250612b40565b5050565b611c9782611d0d565b611cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccd90614f42565b60405180910390fd5b80600860008481526020019081526020016000209081611cf6919061510e565b505050565b6000611d0682612b9b565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611df48361136d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e4582611d0d565b611e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7b90615252565b60405180910390fd5b6000611e8f8361136d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ed15750611ed0818561192d565b5b80611f0f57508373ffffffffffffffffffffffffffffffffffffffff16611ef784610e81565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f388261136d565b73ffffffffffffffffffffffffffffffffffffffff1614611f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f85906152e4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff490615376565b60405180910390fd5b612008838383612c7d565b612013600082611d81565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120639190615396565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120ba91906153ca565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612179838383612c82565b505050565b6000612710905090565b61219181612c87565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bf9061544a565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123b99190613cc8565b60405180910390a3505050565b6123d1848484611f18565b6123dd84848484612c9c565b61241c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612413906154dc565b60405180910390fd5b50505050565b606061242d82611d0d565b61246c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124639061556e565b60405180910390fd5b600060086000848152602001908152602001600020805461248c90614552565b80601f01602080910402602001604051908101604052809291908181526020018280546124b890614552565b80156125055780601f106124da57610100808354040283529160200191612505565b820191906000526020600020905b8154815290600101906020018083116124e857829003601f168201915b505050505090506000612516612e23565b9050600081510361252b57819250505061256e565b600082511115612560578082604051602001612548929190614c7d565b6040516020818303038152906040529250505061256e565b61256984612e3a565b925050505b919050565b61257b61217e565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156125d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d090615600565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263f9061566c565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b61270f611d79565b73ffffffffffffffffffffffffffffffffffffffff1661272d611563565b73ffffffffffffffffffffffffffffffffffffffff1614612783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277a90614af6565b60405180910390fd5b61278b613aa3565b600080600090505b83518110156129d7578381815181106127af576127ae6145db565b5b602002602001015191506127c282612ee1565b92506127d18360000151612f88565b600d6000600b60019054906101000a900460ff1660ff1681526020019081526020016000206003019081612805919061510e565b5061282b8360200151600060108110612821576128206145db565b5b6020020151613036565b600d6000600b60019054906101000a900460ff1660ff168152602001908152602001600020600001600060038110612866576128656145db565b5b019081612873919061510e565b50612899836020015160016010811061288f5761288e6145db565b5b6020020151613036565b600d6000600b60019054906101000a900460ff1660ff1681526020019081526020016000206000016001600381106128d4576128d36145db565b5b0190816128e1919061510e565b5061290783602001516002601081106128fd576128fc6145db565b5b6020020151613036565b600d6000600b60019054906101000a900460ff1660ff168152602001908152602001600020600001600260038110612942576129416145db565b5b01908161294f919061510e565b5061295982613160565b600d6000600b60019054906101000a900460ff1660ff168152602001908152602001600020600401908161298d919061510e565b50600b600181819054906101000a900460ff16809291906129ad906145b2565b91906101000a81548160ff021916908360ff16021790555050806129d09061568c565b9050612793565b50505050565b606060008251036129ff57604051806020016040528060008152509050612b3b565b6000604051806060016040528060408152602001615d9e6040913990506000600360028551612a2e91906153ca565b612a3891906148c3565b6004612a449190614852565b67ffffffffffffffff811115612a5d57612a5c6140c8565b5b6040519080825280601f01601f191660200182016040528015612a8f5781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612afb576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612aa0565b5050600386510660018114612b175760028114612b2a57612b32565b603d6001830353603d6002830353612b32565b603d60018303535b50505080925050505b919050565b612b4a8383613494565b612b576000848484612c9c565b612b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8d906154dc565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c6657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612c765750612c758261366d565b5b9050919050565b505050565b505050565b612c90816136e7565b612c998161373a565b50565b6000612cbd8473ffffffffffffffffffffffffffffffffffffffff16613799565b15612e16578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ce6611d79565b8786866040518563ffffffff1660e01b8152600401612d089493929190615729565b6020604051808303816000875af1925050508015612d4457506040513d601f19601f82011682018060405250810190612d41919061578a565b60015b612dc6573d8060008114612d74576040519150601f19603f3d011682016040523d82523d6000602084013e612d79565b606091505b506000815103612dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db5906154dc565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e1b565b600190505b949350505050565b606060405180602001604052806000815250905090565b6060612e4582611d0d565b612e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7b90615829565b60405180910390fd5b6000612e8e612e23565b90506000815111612eae5760405180602001604052806000815250612ed9565b80612eb8846137bc565b604051602001612ec9929190614c7d565b6040516020818303038152906040525b915050919050565b612ee9613aa3565b612ef1613aa3565b60005b6010811015612f7e576000620186a085612f0e9190615849565b9050612f19816137bc565b83600001518360108110612f3057612f2f6145db565b5b60200201819052508083602001518360108110612f5057612f4f6145db565b5b602002018181525050620186a085612f6891906148c3565b9450508080612f769061568c565b915050612ef4565b5080915050919050565b6060600060405180602001604052806000815250905060005b60036010612faf9190615396565b81101561302c5760008103612fdd57838160108110612fd157612fd06145db565b5b60200201519150613019565b81848260108110612ff157612ff06145db565b5b60200201516040516020016130079291906158a0565b60405160208183030381529060405291505b80806130249061568c565b915050612fa1565b5080915050919050565b606080600061305c6002600a8661304d9190615849565b6130579190615849565b6137bc565b9050600061308d6002600a6064886130749190615849565b61307e91906148c3565b6130889190615849565b6137bc565b905060006130bf600260646103e8896130a69190615849565b6130b091906148c3565b6130ba9190615849565b6137bc565b905060006130f260026103e86127108a6130d99190615849565b6130e391906148c3565b6130ed9190615849565b6137bc565b905060006131266002612710620186a08b61310d9190615849565b61311791906148c3565b6131219190615849565b6137bc565b9050848484848460405160200161314195949392919061591f565b6040516020818303038152906040529550859650505050505050919050565b60606000601467ffffffffffffffff81111561317f5761317e6140c8565b5b6040519080825280602002602001820160405280156131ad5781602001602082028036833780820191505090505b5090506000808490505b600081111561321057612710816131ce9190615849565b8383815181106131e1576131e06145db565b5b602002602001018181525050612710816131fb91906148c3565b905081806132089061568c565b9250506131b7565b6000610fa0905060006108ca90506000600a67ffffffffffffffff81111561323b5761323a6140c8565b5b6040519080825280602002602001820160405280156132695781602001602082028036833780820191505090505b5090506000600a67ffffffffffffffff811115613289576132886140c8565b5b6040519080825280602002602001820160405280156132b75781602001602082028036833780820191505090505b50905060005b600a81101561338957612710858983815181106132dd576132dc6145db565b5b60200260200101516132ef9190614852565b6132f991906148c3565b83828151811061330c5761330b6145db565b5b6020026020010181815250506127108489600a8461332a91906153ca565b8151811061333b5761333a6145db565b5b602002602001015161334d9190614852565b61335791906148c3565b82828151811061336a576133696145db565b5b60200260200101818152505080806133819061568c565b9150506132bd565b5060006133b0836000815181106133a3576133a26145db565b5b60200260200101516137bc565b6133d4836000815181106133c7576133c66145db565b5b60200260200101516137bc565b6040516020016133e5929190615a2e565b60405160208183030381529060405290506000600190505b600a811015613483578161342a85838151811061341d5761341c6145db565b5b60200260200101516137bc565b61344d8584815181106134405761343f6145db565b5b60200260200101516137bc565b60405160200161345f93929190615ab4565b6040516020818303038152906040529150808061347b9061568c565b9150506133fd565b508098505050505050505050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fa90615b47565b60405180910390fd5b61350c81611d0d565b1561354c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354390615bb3565b60405180910390fd5b61355860008383612c7d565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135a891906153ca565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461366960008383612c82565b5050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806136e057506136df8261391c565b5b9050919050565b6136f081613986565b600060086000838152602001908152602001600020805461371090614552565b905014613737576008600082815260200190815260200160002060006137369190613ac9565b5b50565b60016000828152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff0219169055505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606060008203613803576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613917565b600082905060005b6000821461383557808061381e9061568c565b915050600a8261382e91906148c3565b915061380b565b60008167ffffffffffffffff811115613851576138506140c8565b5b6040519080825280601f01601f1916602001820160405280156138835781602001600182028036833780820191505090505b5090505b600085146139105760018261389c9190615396565b9150600a856138ab9190615849565b60306138b791906153ca565b60f81b8183815181106138cd576138cc6145db565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561390991906148c3565b9450613887565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006139918261136d565b905061399f81600084612c7d565b6139aa600083611d81565b6001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139fa9190615396565b925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a9f81600084612c82565b5050565b6040518060400160405280613ab6613b09565b8152602001613ac3613b31565b81525090565b508054613ad590614552565b6000825580601f10613ae75750613b06565b601f016020900490600052602060002090810190613b059190613b54565b5b50565b6040518061020001604052806010905b6060815260200190600190039081613b195790505090565b604051806102000160405280601090602082028036833780820191505090505090565b5b80821115613b6d576000816000905550600101613b55565b5090565b600082825260208201905092915050565b7f4e6f7420656e6f756768204554482073656e743b20636865636b20707269636560008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bde602183613b71565b9150613be982613b82565b604082019050919050565b60006020820190508181036000830152613c0d81613bd1565b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c5d81613c28565b8114613c6857600080fd5b50565b600081359050613c7a81613c54565b92915050565b600060208284031215613c9657613c95613c1e565b5b6000613ca484828501613c6b565b91505092915050565b60008115159050919050565b613cc281613cad565b82525050565b6000602082019050613cdd6000830184613cb9565b92915050565b600081519050919050565b60005b83811015613d0c578082015181840152602081019050613cf1565b60008484015250505050565b6000601f19601f8301169050919050565b6000613d3482613ce3565b613d3e8185613b71565b9350613d4e818560208601613cee565b613d5781613d18565b840191505092915050565b60006020820190508181036000830152613d7c8184613d29565b905092915050565b6000819050919050565b613d9781613d84565b8114613da257600080fd5b50565b600081359050613db481613d8e565b92915050565b600060208284031215613dd057613dcf613c1e565b5b6000613dde84828501613da5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e1282613de7565b9050919050565b613e2281613e07565b82525050565b6000602082019050613e3d6000830184613e19565b92915050565b613e4c81613e07565b8114613e5757600080fd5b50565b600081359050613e6981613e43565b92915050565b60008060408385031215613e8657613e85613c1e565b5b6000613e9485828601613e5a565b9250506020613ea585828601613da5565b9150509250929050565b613eb881613d84565b82525050565b6000602082019050613ed36000830184613eaf565b92915050565b600080600060608486031215613ef257613ef1613c1e565b5b6000613f0086828701613e5a565b9350506020613f1186828701613e5a565b9250506040613f2286828701613da5565b9150509250925092565b60008060408385031215613f4357613f42613c1e565b5b6000613f5185828601613da5565b9250506020613f6285828601613da5565b9150509250929050565b6000604082019050613f816000830185613e19565b613f8e6020830184613eaf565b9392505050565b600060ff82169050919050565b613fab81613f95565b8114613fb657600080fd5b50565b600081359050613fc881613fa2565b92915050565b600060208284031215613fe457613fe3613c1e565b5b6000613ff284828501613fb9565b91505092915050565b61400481613f95565b82525050565b600060208201905061401f6000830184613ffb565b92915050565b60006020828403121561403b5761403a613c1e565b5b600061404984828501613e5a565b91505092915050565b61405b81613cad565b811461406657600080fd5b50565b60008135905061407881614052565b92915050565b6000806040838503121561409557614094613c1e565b5b60006140a385828601613e5a565b92505060206140b485828601614069565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61410082613d18565b810181811067ffffffffffffffff8211171561411f5761411e6140c8565b5b80604052505050565b6000614132613c14565b905061413e82826140f7565b919050565b600067ffffffffffffffff82111561415e5761415d6140c8565b5b61416782613d18565b9050602081019050919050565b82818337600083830152505050565b600061419661419184614143565b614128565b9050828152602081018484840111156141b2576141b16140c3565b5b6141bd848285614174565b509392505050565b600082601f8301126141da576141d96140be565b5b81356141ea848260208601614183565b91505092915050565b6000806000806080858703121561420d5761420c613c1e565b5b600061421b87828801613e5a565b945050602061422c87828801613e5a565b935050604061423d87828801613da5565b925050606085013567ffffffffffffffff81111561425e5761425d613c23565b5b61426a878288016141c5565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b61429781614276565b81146142a257600080fd5b50565b6000813590506142b48161428e565b92915050565b600080604083850312156142d1576142d0613c1e565b5b60006142df85828601613e5a565b92505060206142f0858286016142a5565b9150509250929050565b600067ffffffffffffffff821115614315576143146140c8565b5b602082029050602081019050919050565b600080fd5b600061433e614339846142fa565b614128565b9050808382526020820190506020840283018581111561436157614360614326565b5b835b8181101561438a57806143768882613da5565b845260208401935050602081019050614363565b5050509392505050565b600082601f8301126143a9576143a86140be565b5b81356143b984826020860161432b565b91505092915050565b6000602082840312156143d8576143d7613c1e565b5b600082013567ffffffffffffffff8111156143f6576143f5613c23565b5b61440284828501614394565b91505092915050565b6000806040838503121561442257614421613c1e565b5b600061443085828601613e5a565b925050602061444185828601613e5a565b9150509250929050565b7f546865206e6f6973652069732066696e697368656420686572652e0000000000600082015250565b6000614481601b83613b71565b915061448c8261444b565b602082019050919050565b600060208201905081810360008301526144b081614474565b9050919050565b7f4d696e7420697320636c6f7365642c20536f7272792e00000000000000000000600082015250565b60006144ed601683613b71565b91506144f8826144b7565b602082019050919050565b6000602082019050818103600083015261451c816144e0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061456a57607f821691505b60208210810361457d5761457c614523565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145bd82613f95565b915060ff82036145d0576145cf614583565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614666602c83613b71565b91506146718261460a565b604082019050919050565b6000602082019050818103600083015261469581614659565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006146f8602183613b71565b91506147038261469c565b604082019050919050565b60006020820190508181036000830152614727816146eb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061478a603883613b71565b91506147958261472e565b604082019050919050565b600060208201905081810360008301526147b98161477d565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061481c603183613b71565b9150614827826147c0565b604082019050919050565b6000602082019050818103600083015261484b8161480f565b9050919050565b600061485d82613d84565b915061486883613d84565b925082820261487681613d84565b9150828204841483151761488d5761488c614583565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006148ce82613d84565b91506148d983613d84565b9250826148e9576148e8614894565b5b828204905092915050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614950603083613b71565b915061495b826148f4565b604082019050919050565b6000602082019050818103600083015261497f81614943565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006149e2602983613b71565b91506149ed82614986565b604082019050919050565b60006020820190508181036000830152614a11816149d5565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614a74602a83613b71565b9150614a7f82614a18565b604082019050919050565b60006020820190508181036000830152614aa381614a67565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614ae0602083613b71565b9150614aeb82614aaa565b602082019050919050565b60006020820190508181036000830152614b0f81614ad3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b72602683613b71565b9150614b7d82614b16565b604082019050919050565b60006020820190508181036000830152614ba181614b65565b9050919050565b600081905092915050565b6000614bbe82613ce3565b614bc88185614ba8565b9350614bd8818560208601613cee565b80840191505092915050565b6000614bf0828e614bb3565b9150614bfc828d614bb3565b9150614c08828c614bb3565b9150614c14828b614bb3565b9150614c20828a614bb3565b9150614c2c8289614bb3565b9150614c388288614bb3565b9150614c448287614bb3565b9150614c508286614bb3565b9150614c5c8285614bb3565b9150614c688284614bb3565b91508190509c9b505050505050505050505050565b6000614c898285614bb3565b9150614c958284614bb3565b91508190509392505050565b7f7b226e616d65223a202257652041726520416e6172636879204f6e204368616960008201527f6e222c20226465736372697074696f6e223a20224e6f697365206f6620416e6160208201527f7263687922202c2022696d616765223a22000000000000000000000000000000604082015250565b6000614d23605183614ba8565b9150614d2e82614ca1565b605182019050919050565b7f222c2261747472696275746573223a205b7b2274726169745f74797065223a2060008201527f22417274697374222c2276616c7565223a220000000000000000000000000000602082015250565b6000614d95603283614ba8565b9150614da082614d39565b603282019050919050565b7f227d2c7b2274726169745f74797065223a202254797065222c2276616c75652260008201527f3a224e6f697365206f6620416e6172636879227d5d7d00000000000000000000602082015250565b6000614e07603683614ba8565b9150614e1282614dab565b603682019050919050565b6000614e2882614d16565b9150614e348285614bb3565b9150614e3f82614d88565b9150614e4b8284614bb3565b9150614e5682614dfa565b91508190509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614e98601d83614ba8565b9150614ea382614e62565b601d82019050919050565b6000614eb982614e8b565b9150614ec58284614bb3565b915081905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614f2c602e83613b71565b9150614f3782614ed0565b604082019050919050565b60006020820190508181036000830152614f5b81614f1f565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614fc47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614f87565b614fce8683614f87565b95508019841693508086168417925050509392505050565b6000819050919050565b600061500b61500661500184613d84565b614fe6565b613d84565b9050919050565b6000819050919050565b61502583614ff0565b61503961503182615012565b848454614f94565b825550505050565b600090565b61504e615041565b61505981848461501c565b505050565b5b8181101561507d57615072600082615046565b60018101905061505f565b5050565b601f8211156150c25761509381614f62565b61509c84614f77565b810160208510156150ab578190505b6150bf6150b785614f77565b83018261505e565b50505b505050565b600082821c905092915050565b60006150e5600019846008026150c7565b1980831691505092915050565b60006150fe83836150d4565b9150826002028217905092915050565b61511782613ce3565b67ffffffffffffffff8111156151305761512f6140c8565b5b61513a8254614552565b615145828285615081565b600060209050601f8311600181146151785760008415615166578287015190505b61517085826150f2565b8655506151d8565b601f19841661518686614f62565b60005b828110156151ae57848901518255600182019150602085019450602081019050615189565b868310156151cb57848901516151c7601f8916826150d4565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061523c602c83613b71565b9150615247826151e0565b604082019050919050565b6000602082019050818103600083015261526b8161522f565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006152ce602583613b71565b91506152d982615272565b604082019050919050565b600060208201905081810360008301526152fd816152c1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615360602483613b71565b915061536b82615304565b604082019050919050565b6000602082019050818103600083015261538f81615353565b9050919050565b60006153a182613d84565b91506153ac83613d84565b92508282039050818111156153c4576153c3614583565b5b92915050565b60006153d582613d84565b91506153e083613d84565b92508282019050808211156153f8576153f7614583565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615434601983613b71565b915061543f826153fe565b602082019050919050565b6000602082019050818103600083015261546381615427565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006154c6603283613b71565b91506154d18261546a565b604082019050919050565b600060208201905081810360008301526154f5816154b9565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000615558603183613b71565b9150615563826154fc565b604082019050919050565b600060208201905081810360008301526155878161554b565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006155ea602a83613b71565b91506155f58261558e565b604082019050919050565b60006020820190508181036000830152615619816155dd565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615656601983613b71565b915061566182615620565b602082019050919050565b6000602082019050818103600083015261568581615649565b9050919050565b600061569782613d84565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036156c9576156c8614583565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b60006156fb826156d4565b61570581856156df565b9350615715818560208601613cee565b61571e81613d18565b840191505092915050565b600060808201905061573e6000830187613e19565b61574b6020830186613e19565b6157586040830185613eaf565b818103606083015261576a81846156f0565b905095945050505050565b60008151905061578481613c54565b92915050565b6000602082840312156157a05761579f613c1e565b5b60006157ae84828501615775565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615813602f83613b71565b915061581e826157b7565b604082019050919050565b6000602082019050818103600083015261584281615806565b9050919050565b600061585482613d84565b915061585f83613d84565b92508261586f5761586e614894565b5b828206905092915050565b7f3b00000000000000000000000000000000000000000000000000000000000000815250565b60006158ac8285614bb3565b91506158b78261587a565b6001820191506158c78284614bb3565b91508190509392505050565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b6000615909600183614ba8565b9150615914826158d3565b600182019050919050565b600061592b8288614bb3565b9150615936826158fc565b91506159428287614bb3565b915061594d826158fc565b91506159598286614bb3565b9150615964826158fc565b91506159708285614bb3565b915061597b826158fc565b91506159878284614bb3565b91508190509695505050505050565b7f4d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006159cc600183614ba8565b91506159d782615996565b600182019050919050565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a18600183614ba8565b9150615a23826159e2565b600182019050919050565b6000615a39826159bf565b9150615a458285614bb3565b9150615a5082615a0b565b9150615a5c8284614bb3565b91508190509392505050565b7f204c000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a9e600283614ba8565b9150615aa982615a68565b600282019050919050565b6000615ac08286614bb3565b9150615acb82615a91565b9150615ad78285614bb3565b9150615ae282615a0b565b9150615aee8284614bb3565b9150819050949350505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615b31602083613b71565b9150615b3c82615afb565b602082019050919050565b60006020820190508181036000830152615b6081615b24565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615b9d601c83613b71565b9150615ba882615b67565b602082019050919050565b60006020820190508181036000830152615bcc81615b90565b905091905056fe272f3e3c666546756e63472069643d27672720747970653d27646973637265746527207461626c6556616c7565733d272720726570656174436f756e743d27696e646566696e697465272f3e3c2f666554757262756c656e63653e3c6665436f6c6f724d617472697820747970653d277361747572617465272076616c7565733d27312720726573756c743d277361747572617465272f3e3c6665436f6d706f6e656e745472616e736665723e3c666546756e63522069643d27722720747970653d27646973637265746527207461626c6556616c7565733d27272f3e3c666546756e634120747970653d27646973637265746527207461626c6556616c7565733d27312031272f3e3c2f6665436f6d706f6e656e745472616e736665723e3c2f66696c7465723e3c726563742077696474683d273130302527206865696768743d2731303025272066696c7465723d2775726c282373746174696329272f3e3c706174682069643d274d50272066696c6c3d2772656427207374726f6b653d2772656427207374726f6b652d77696474683d27302720643d27272f3e3c666546756e63422069643d27622720747970653d27646973637265746527207461626c6556616c7565733d274142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672076696577426f783d273020302034653320323235302720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f737667273e3c66696c7465722069643d27737461746963273e3c666554757262756c656e636520747970653d2774757262756c656e63652720626173654672657175656e63793d27302e393927206e756d4f6374617665733d2731302720726573756c743d2774757262756c656e6365273e3c616e696d6174652069643d27736427206174747269627574654e616d653d277365656427206475723d273273272076616c7565733d27a26469706673582212209a7e0ffa059f22c98d26ab5cbb586d4bcd352951f38fb598538e35a69f59f59d64736f6c63430008130033
Deployed Bytecode
0x6080604052600436106101dc5760003560e01c8063715018a611610102578063d5abeb0111610095578063e985e9c511610064578063e985e9c514610761578063ebc2528e1461079e578063f2fde38b146107ba578063f4a0a528146107e357610231565b8063d5abeb01146106b9578063d6e005ae146106e4578063da2f1a7e1461070f578063e8e0fffd1461073857610231565b8063b2fbe9d5116100d1578063b2fbe9d514610601578063b88d4fde1461062a578063c87b56dd14610653578063d4738d5c1461069057610231565b8063715018a61461056b5780638da5cb5b1461058257806395d89b41146105ad578063a22cb465146105d857610231565b80632fd682da1161017a5780635860f9ec116101495780635860f9ec1461049b5780636352211e146104c65780636817c76c1461050357806370a082311461052e57610231565b80632fd682da146103e157806342842e0e1461040c57806342966c68146104355780634542716c1461045e57610231565b8063095ea7b3116101b6578063095ea7b31461032657806318160ddd1461034f57806323b872dd1461037a5780632a55205a146103a357610231565b806301ffc9a71461028157806306fdde03146102be578063081812fc146102e957610231565b3661023157600a54341015610226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021d90613bf4565b60405180910390fd5b61022f3361080c565b005b600a54341015610276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026d90613bf4565b60405180910390fd5b61027f3361080c565b005b34801561028d57600080fd5b506102a860048036038101906102a39190613c80565b610ddd565b6040516102b59190613cc8565b60405180910390f35b3480156102ca57600080fd5b506102d3610def565b6040516102e09190613d62565b60405180910390f35b3480156102f557600080fd5b50610310600480360381019061030b9190613dba565b610e81565b60405161031d9190613e28565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190613e6f565b610f06565b005b34801561035b57600080fd5b5061036461101d565b6040516103719190613ebe565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c9190613ed9565b61102e565b005b3480156103af57600080fd5b506103ca60048036038101906103c59190613f2c565b61108e565b6040516103d8929190613f6c565b60405180910390f35b3480156103ed57600080fd5b506103f6611278565b6040516104039190613e28565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190613ed9565b61129e565b005b34801561044157600080fd5b5061045c60048036038101906104579190613dba565b6112be565b005b34801561046a57600080fd5b5061048560048036038101906104809190613fce565b61131a565b6040516104929190613e28565b60405180910390f35b3480156104a757600080fd5b506104b061135a565b6040516104bd919061400a565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190613dba565b61136d565b6040516104fa9190613e28565b60405180910390f35b34801561050f57600080fd5b5061051861141e565b6040516105259190613ebe565b60405180910390f35b34801561053a57600080fd5b5061055560048036038101906105509190614025565b611424565b6040516105629190613ebe565b60405180910390f35b34801561057757600080fd5b506105806114db565b005b34801561058e57600080fd5b50610597611563565b6040516105a49190613e28565b60405180910390f35b3480156105b957600080fd5b506105c261158d565b6040516105cf9190613d62565b60405180910390f35b3480156105e457600080fd5b506105ff60048036038101906105fa919061407e565b61161f565b005b34801561060d57600080fd5b5061062860048036038101906106239190613fce565b611635565b005b34801561063657600080fd5b50610651600480360381019061064c91906141f3565b6116cf565b005b34801561065f57600080fd5b5061067a60048036038101906106759190613dba565b611731565b6040516106879190613d62565b60405180910390f35b34801561069c57600080fd5b506106b760048036038101906106b291906142ba565b611743565b005b3480156106c557600080fd5b506106ce6117cd565b6040516106db919061400a565b60405180910390f35b3480156106f057600080fd5b506106f96117e0565b604051610706919061400a565b60405180910390f35b34801561071b57600080fd5b50610736600480360381019061073191906143c2565b6117f3565b005b34801561074457600080fd5b5061075f600480360381019061075a9190614025565b611855565b005b34801561076d57600080fd5b506107886004803603810190610783919061440b565b61192d565b6040516107959190613cc8565b60405180910390f35b6107b860048036038101906107b39190614025565b61080c565b005b3480156107c657600080fd5b506107e160048036038101906107dc9190614025565b6119c1565b005b3480156107ef57600080fd5b5061080a60048036038101906108059190613dba565b611ab8565b005b600b60169054906101000a900460ff1660ff16610829600e611b3e565b10610869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086090614497565b60405180910390fd5b600a543410156108ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a590613bf4565b60405180910390fd5b600b60019054906101000a900460ff1660ff16600b60009054906101000a900460ff1660ff1610610914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090b90614503565b60405180910390fd5b6000600d6000600b60009054906101000a900460ff1660ff16815260200190815260200160002060405180606001604052908160008201600380602002604051908101604052809291906000905b82821015610a0557838201805461097890614552565b80601f01602080910402602001604051908101604052809291908181526020018280546109a490614552565b80156109f15780601f106109c6576101008083540402835291602001916109f1565b820191906000526020600020905b8154815290600101906020018083116109d457829003601f168201915b505050505081526020019060010190610962565b505050508152602001600382018054610a1d90614552565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4990614552565b8015610a965780601f10610a6b57610100808354040283529160200191610a96565b820191906000526020600020905b815481529060010190602001808311610a7957829003601f168201915b50505050508152602001600482018054610aaf90614552565b80601f0160208091040260200160405190810160405280929190818152602001828054610adb90614552565b8015610b285780601f10610afd57610100808354040283529160200191610b28565b820191906000526020600020905b815481529060010190602001808311610b0b57829003601f168201915b5050505050815250509050600b600081819054906101000a900460ff1680929190610b52906145b2565b91906101000a81548160ff021916908360ff160217905550506000610c8a60405180610120016040528060e38152602001615dde60e3913983602001516040518060e0016040528060aa8152602001615c0460aa91398560000151600060038110610bc057610bbf6145db565b5b6020020151604051806060016040528060308152602001615bd4603091398760000151600160038110610bf657610bf56145db565b5b6020020151604051806060016040528060308152602001615d6e603091398960000151600260038110610c2c57610c2b6145db565b5b60200201516040518060e0016040528060c08152602001615cae60c091398b604001516040518060400160405280600981526020017f272f3e3c2f7376673e0000000000000000000000000000000000000000000000815250611b4c565b90506000610c9782611b93565b90506000610cda826040518060400160405280600b81526020017f4261726420496f6e736f6e000000000000000000000000000000000000000000815250611c07565b90506000610ce8600e611b3e565b9050610cf4600e611c5a565b610cfe8682611c70565b610d088183611c8e565b85600c6000600b60009054906101000a900460ff1660ff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600b60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610dd4573d6000803e3d6000fd5b50505050505050565b6000610de882611cfb565b9050919050565b606060028054610dfe90614552565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2a90614552565b8015610e775780601f10610e4c57610100808354040283529160200191610e77565b820191906000526020600020905b815481529060010190602001808311610e5a57829003601f168201915b5050505050905090565b6000610e8c82611d0d565b610ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec29061467c565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f118261136d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f789061470e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610fa0611d79565b73ffffffffffffffffffffffffffffffffffffffff161480610fcf5750610fce81610fc9611d79565b61192d565b5b61100e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611005906147a0565b60405180910390fd5b6110188383611d81565b505050565b6000611029600e611b3e565b905090565b61103f611039611d79565b82611e3a565b61107e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107590614832565b60405180910390fd5b611089838383611f18565b505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036112235760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061122d61217e565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866112599190614852565b61126391906148c3565b90508160000151819350935050509250929050565b600b60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112b9838383604051806020016040528060008152506116cf565b505050565b6112cf6112c9611d79565b82611e3a565b61130e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130590614966565b60405180910390fd5b61131781612188565b50565b6000600c60008360ff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600b60009054906101000a900460ff1681565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c906149f8565b60405180910390fd5b80915050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90614a8a565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114e3611d79565b73ffffffffffffffffffffffffffffffffffffffff16611501611563565b73ffffffffffffffffffffffffffffffffffffffff1614611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e90614af6565b60405180910390fd5b6115616000612194565b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461159c90614552565b80601f01602080910402602001604051908101604052809291908181526020018280546115c890614552565b80156116155780601f106115ea57610100808354040283529160200191611615565b820191906000526020600020905b8154815290600101906020018083116115f857829003601f168201915b5050505050905090565b61163161162a611d79565b838361225a565b5050565b61163d611d79565b73ffffffffffffffffffffffffffffffffffffffff1661165b611563565b73ffffffffffffffffffffffffffffffffffffffff16146116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a890614af6565b60405180910390fd5b80600b60166101000a81548160ff021916908360ff16021790555050565b6116e06116da611d79565b83611e3a565b61171f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171690614832565b60405180910390fd5b61172b848484846123c6565b50505050565b606061173c82612422565b9050919050565b61174b611d79565b73ffffffffffffffffffffffffffffffffffffffff16611769611563565b73ffffffffffffffffffffffffffffffffffffffff16146117bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b690614af6565b60405180910390fd5b6117c98282612573565b5050565b600b60169054906101000a900460ff1681565b600b60019054906101000a900460ff1681565b600b60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036118525761185181612707565b5b50565b600b60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806118e357506118b4611563565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1561192a5780600b60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119c9611d79565b73ffffffffffffffffffffffffffffffffffffffff166119e7611563565b73ffffffffffffffffffffffffffffffffffffffff1614611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3490614af6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa390614b88565b60405180910390fd5b611ab581612194565b50565b611ac0611d79565b73ffffffffffffffffffffffffffffffffffffffff16611ade611563565b73ffffffffffffffffffffffffffffffffffffffff1614611b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2b90614af6565b60405180910390fd5b80600a8190555050565b600081600001549050919050565b60608b8b8b8b8b8b8b8b8b8b8b604051602001611b739b9a99989796959493929190614be4565b60405160208183030381529060405290509b9a5050505050505050505050565b606060006040518060400160405280601a81526020017f646174613a696d6167652f7376672b786d6c3b6261736536342c00000000000081525090506000611bda846129dd565b90508181604051602001611bef929190614c7d565b60405160208183030381529060405292505050919050565b6060611c338383604051602001611c1f929190614e1d565b6040516020818303038152906040526129dd565b604051602001611c439190614eae565b604051602081830303815290604052905092915050565b6001816000016000828254019250508190555050565b611c8a828260405180602001604052806000815250612b40565b5050565b611c9782611d0d565b611cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccd90614f42565b60405180910390fd5b80600860008481526020019081526020016000209081611cf6919061510e565b505050565b6000611d0682612b9b565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611df48361136d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e4582611d0d565b611e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7b90615252565b60405180910390fd5b6000611e8f8361136d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ed15750611ed0818561192d565b5b80611f0f57508373ffffffffffffffffffffffffffffffffffffffff16611ef784610e81565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f388261136d565b73ffffffffffffffffffffffffffffffffffffffff1614611f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f85906152e4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff490615376565b60405180910390fd5b612008838383612c7d565b612013600082611d81565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120639190615396565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120ba91906153ca565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612179838383612c82565b505050565b6000612710905090565b61219181612c87565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bf9061544a565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123b99190613cc8565b60405180910390a3505050565b6123d1848484611f18565b6123dd84848484612c9c565b61241c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612413906154dc565b60405180910390fd5b50505050565b606061242d82611d0d565b61246c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124639061556e565b60405180910390fd5b600060086000848152602001908152602001600020805461248c90614552565b80601f01602080910402602001604051908101604052809291908181526020018280546124b890614552565b80156125055780601f106124da57610100808354040283529160200191612505565b820191906000526020600020905b8154815290600101906020018083116124e857829003601f168201915b505050505090506000612516612e23565b9050600081510361252b57819250505061256e565b600082511115612560578082604051602001612548929190614c7d565b6040516020818303038152906040529250505061256e565b61256984612e3a565b925050505b919050565b61257b61217e565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156125d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d090615600565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263f9061566c565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b61270f611d79565b73ffffffffffffffffffffffffffffffffffffffff1661272d611563565b73ffffffffffffffffffffffffffffffffffffffff1614612783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277a90614af6565b60405180910390fd5b61278b613aa3565b600080600090505b83518110156129d7578381815181106127af576127ae6145db565b5b602002602001015191506127c282612ee1565b92506127d18360000151612f88565b600d6000600b60019054906101000a900460ff1660ff1681526020019081526020016000206003019081612805919061510e565b5061282b8360200151600060108110612821576128206145db565b5b6020020151613036565b600d6000600b60019054906101000a900460ff1660ff168152602001908152602001600020600001600060038110612866576128656145db565b5b019081612873919061510e565b50612899836020015160016010811061288f5761288e6145db565b5b6020020151613036565b600d6000600b60019054906101000a900460ff1660ff1681526020019081526020016000206000016001600381106128d4576128d36145db565b5b0190816128e1919061510e565b5061290783602001516002601081106128fd576128fc6145db565b5b6020020151613036565b600d6000600b60019054906101000a900460ff1660ff168152602001908152602001600020600001600260038110612942576129416145db565b5b01908161294f919061510e565b5061295982613160565b600d6000600b60019054906101000a900460ff1660ff168152602001908152602001600020600401908161298d919061510e565b50600b600181819054906101000a900460ff16809291906129ad906145b2565b91906101000a81548160ff021916908360ff16021790555050806129d09061568c565b9050612793565b50505050565b606060008251036129ff57604051806020016040528060008152509050612b3b565b6000604051806060016040528060408152602001615d9e6040913990506000600360028551612a2e91906153ca565b612a3891906148c3565b6004612a449190614852565b67ffffffffffffffff811115612a5d57612a5c6140c8565b5b6040519080825280601f01601f191660200182016040528015612a8f5781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612afb576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612aa0565b5050600386510660018114612b175760028114612b2a57612b32565b603d6001830353603d6002830353612b32565b603d60018303535b50505080925050505b919050565b612b4a8383613494565b612b576000848484612c9c565b612b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8d906154dc565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c6657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612c765750612c758261366d565b5b9050919050565b505050565b505050565b612c90816136e7565b612c998161373a565b50565b6000612cbd8473ffffffffffffffffffffffffffffffffffffffff16613799565b15612e16578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ce6611d79565b8786866040518563ffffffff1660e01b8152600401612d089493929190615729565b6020604051808303816000875af1925050508015612d4457506040513d601f19601f82011682018060405250810190612d41919061578a565b60015b612dc6573d8060008114612d74576040519150601f19603f3d011682016040523d82523d6000602084013e612d79565b606091505b506000815103612dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db5906154dc565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e1b565b600190505b949350505050565b606060405180602001604052806000815250905090565b6060612e4582611d0d565b612e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7b90615829565b60405180910390fd5b6000612e8e612e23565b90506000815111612eae5760405180602001604052806000815250612ed9565b80612eb8846137bc565b604051602001612ec9929190614c7d565b6040516020818303038152906040525b915050919050565b612ee9613aa3565b612ef1613aa3565b60005b6010811015612f7e576000620186a085612f0e9190615849565b9050612f19816137bc565b83600001518360108110612f3057612f2f6145db565b5b60200201819052508083602001518360108110612f5057612f4f6145db565b5b602002018181525050620186a085612f6891906148c3565b9450508080612f769061568c565b915050612ef4565b5080915050919050565b6060600060405180602001604052806000815250905060005b60036010612faf9190615396565b81101561302c5760008103612fdd57838160108110612fd157612fd06145db565b5b60200201519150613019565b81848260108110612ff157612ff06145db565b5b60200201516040516020016130079291906158a0565b60405160208183030381529060405291505b80806130249061568c565b915050612fa1565b5080915050919050565b606080600061305c6002600a8661304d9190615849565b6130579190615849565b6137bc565b9050600061308d6002600a6064886130749190615849565b61307e91906148c3565b6130889190615849565b6137bc565b905060006130bf600260646103e8896130a69190615849565b6130b091906148c3565b6130ba9190615849565b6137bc565b905060006130f260026103e86127108a6130d99190615849565b6130e391906148c3565b6130ed9190615849565b6137bc565b905060006131266002612710620186a08b61310d9190615849565b61311791906148c3565b6131219190615849565b6137bc565b9050848484848460405160200161314195949392919061591f565b6040516020818303038152906040529550859650505050505050919050565b60606000601467ffffffffffffffff81111561317f5761317e6140c8565b5b6040519080825280602002602001820160405280156131ad5781602001602082028036833780820191505090505b5090506000808490505b600081111561321057612710816131ce9190615849565b8383815181106131e1576131e06145db565b5b602002602001018181525050612710816131fb91906148c3565b905081806132089061568c565b9250506131b7565b6000610fa0905060006108ca90506000600a67ffffffffffffffff81111561323b5761323a6140c8565b5b6040519080825280602002602001820160405280156132695781602001602082028036833780820191505090505b5090506000600a67ffffffffffffffff811115613289576132886140c8565b5b6040519080825280602002602001820160405280156132b75781602001602082028036833780820191505090505b50905060005b600a81101561338957612710858983815181106132dd576132dc6145db565b5b60200260200101516132ef9190614852565b6132f991906148c3565b83828151811061330c5761330b6145db565b5b6020026020010181815250506127108489600a8461332a91906153ca565b8151811061333b5761333a6145db565b5b602002602001015161334d9190614852565b61335791906148c3565b82828151811061336a576133696145db565b5b60200260200101818152505080806133819061568c565b9150506132bd565b5060006133b0836000815181106133a3576133a26145db565b5b60200260200101516137bc565b6133d4836000815181106133c7576133c66145db565b5b60200260200101516137bc565b6040516020016133e5929190615a2e565b60405160208183030381529060405290506000600190505b600a811015613483578161342a85838151811061341d5761341c6145db565b5b60200260200101516137bc565b61344d8584815181106134405761343f6145db565b5b60200260200101516137bc565b60405160200161345f93929190615ab4565b6040516020818303038152906040529150808061347b9061568c565b9150506133fd565b508098505050505050505050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fa90615b47565b60405180910390fd5b61350c81611d0d565b1561354c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354390615bb3565b60405180910390fd5b61355860008383612c7d565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135a891906153ca565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461366960008383612c82565b5050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806136e057506136df8261391c565b5b9050919050565b6136f081613986565b600060086000838152602001908152602001600020805461371090614552565b905014613737576008600082815260200190815260200160002060006137369190613ac9565b5b50565b60016000828152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff0219169055505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606060008203613803576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613917565b600082905060005b6000821461383557808061381e9061568c565b915050600a8261382e91906148c3565b915061380b565b60008167ffffffffffffffff811115613851576138506140c8565b5b6040519080825280601f01601f1916602001820160405280156138835781602001600182028036833780820191505090505b5090505b600085146139105760018261389c9190615396565b9150600a856138ab9190615849565b60306138b791906153ca565b60f81b8183815181106138cd576138cc6145db565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561390991906148c3565b9450613887565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006139918261136d565b905061399f81600084612c7d565b6139aa600083611d81565b6001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139fa9190615396565b925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a9f81600084612c82565b5050565b6040518060400160405280613ab6613b09565b8152602001613ac3613b31565b81525090565b508054613ad590614552565b6000825580601f10613ae75750613b06565b601f016020900490600052602060002090810190613b059190613b54565b5b50565b6040518061020001604052806010905b6060815260200190600190039081613b195790505090565b604051806102000160405280601090602082028036833780820191505090505090565b5b80821115613b6d576000816000905550600101613b55565b5090565b600082825260208201905092915050565b7f4e6f7420656e6f756768204554482073656e743b20636865636b20707269636560008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bde602183613b71565b9150613be982613b82565b604082019050919050565b60006020820190508181036000830152613c0d81613bd1565b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c5d81613c28565b8114613c6857600080fd5b50565b600081359050613c7a81613c54565b92915050565b600060208284031215613c9657613c95613c1e565b5b6000613ca484828501613c6b565b91505092915050565b60008115159050919050565b613cc281613cad565b82525050565b6000602082019050613cdd6000830184613cb9565b92915050565b600081519050919050565b60005b83811015613d0c578082015181840152602081019050613cf1565b60008484015250505050565b6000601f19601f8301169050919050565b6000613d3482613ce3565b613d3e8185613b71565b9350613d4e818560208601613cee565b613d5781613d18565b840191505092915050565b60006020820190508181036000830152613d7c8184613d29565b905092915050565b6000819050919050565b613d9781613d84565b8114613da257600080fd5b50565b600081359050613db481613d8e565b92915050565b600060208284031215613dd057613dcf613c1e565b5b6000613dde84828501613da5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e1282613de7565b9050919050565b613e2281613e07565b82525050565b6000602082019050613e3d6000830184613e19565b92915050565b613e4c81613e07565b8114613e5757600080fd5b50565b600081359050613e6981613e43565b92915050565b60008060408385031215613e8657613e85613c1e565b5b6000613e9485828601613e5a565b9250506020613ea585828601613da5565b9150509250929050565b613eb881613d84565b82525050565b6000602082019050613ed36000830184613eaf565b92915050565b600080600060608486031215613ef257613ef1613c1e565b5b6000613f0086828701613e5a565b9350506020613f1186828701613e5a565b9250506040613f2286828701613da5565b9150509250925092565b60008060408385031215613f4357613f42613c1e565b5b6000613f5185828601613da5565b9250506020613f6285828601613da5565b9150509250929050565b6000604082019050613f816000830185613e19565b613f8e6020830184613eaf565b9392505050565b600060ff82169050919050565b613fab81613f95565b8114613fb657600080fd5b50565b600081359050613fc881613fa2565b92915050565b600060208284031215613fe457613fe3613c1e565b5b6000613ff284828501613fb9565b91505092915050565b61400481613f95565b82525050565b600060208201905061401f6000830184613ffb565b92915050565b60006020828403121561403b5761403a613c1e565b5b600061404984828501613e5a565b91505092915050565b61405b81613cad565b811461406657600080fd5b50565b60008135905061407881614052565b92915050565b6000806040838503121561409557614094613c1e565b5b60006140a385828601613e5a565b92505060206140b485828601614069565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61410082613d18565b810181811067ffffffffffffffff8211171561411f5761411e6140c8565b5b80604052505050565b6000614132613c14565b905061413e82826140f7565b919050565b600067ffffffffffffffff82111561415e5761415d6140c8565b5b61416782613d18565b9050602081019050919050565b82818337600083830152505050565b600061419661419184614143565b614128565b9050828152602081018484840111156141b2576141b16140c3565b5b6141bd848285614174565b509392505050565b600082601f8301126141da576141d96140be565b5b81356141ea848260208601614183565b91505092915050565b6000806000806080858703121561420d5761420c613c1e565b5b600061421b87828801613e5a565b945050602061422c87828801613e5a565b935050604061423d87828801613da5565b925050606085013567ffffffffffffffff81111561425e5761425d613c23565b5b61426a878288016141c5565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b61429781614276565b81146142a257600080fd5b50565b6000813590506142b48161428e565b92915050565b600080604083850312156142d1576142d0613c1e565b5b60006142df85828601613e5a565b92505060206142f0858286016142a5565b9150509250929050565b600067ffffffffffffffff821115614315576143146140c8565b5b602082029050602081019050919050565b600080fd5b600061433e614339846142fa565b614128565b9050808382526020820190506020840283018581111561436157614360614326565b5b835b8181101561438a57806143768882613da5565b845260208401935050602081019050614363565b5050509392505050565b600082601f8301126143a9576143a86140be565b5b81356143b984826020860161432b565b91505092915050565b6000602082840312156143d8576143d7613c1e565b5b600082013567ffffffffffffffff8111156143f6576143f5613c23565b5b61440284828501614394565b91505092915050565b6000806040838503121561442257614421613c1e565b5b600061443085828601613e5a565b925050602061444185828601613e5a565b9150509250929050565b7f546865206e6f6973652069732066696e697368656420686572652e0000000000600082015250565b6000614481601b83613b71565b915061448c8261444b565b602082019050919050565b600060208201905081810360008301526144b081614474565b9050919050565b7f4d696e7420697320636c6f7365642c20536f7272792e00000000000000000000600082015250565b60006144ed601683613b71565b91506144f8826144b7565b602082019050919050565b6000602082019050818103600083015261451c816144e0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061456a57607f821691505b60208210810361457d5761457c614523565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145bd82613f95565b915060ff82036145d0576145cf614583565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614666602c83613b71565b91506146718261460a565b604082019050919050565b6000602082019050818103600083015261469581614659565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006146f8602183613b71565b91506147038261469c565b604082019050919050565b60006020820190508181036000830152614727816146eb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061478a603883613b71565b91506147958261472e565b604082019050919050565b600060208201905081810360008301526147b98161477d565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061481c603183613b71565b9150614827826147c0565b604082019050919050565b6000602082019050818103600083015261484b8161480f565b9050919050565b600061485d82613d84565b915061486883613d84565b925082820261487681613d84565b9150828204841483151761488d5761488c614583565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006148ce82613d84565b91506148d983613d84565b9250826148e9576148e8614894565b5b828204905092915050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614950603083613b71565b915061495b826148f4565b604082019050919050565b6000602082019050818103600083015261497f81614943565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006149e2602983613b71565b91506149ed82614986565b604082019050919050565b60006020820190508181036000830152614a11816149d5565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614a74602a83613b71565b9150614a7f82614a18565b604082019050919050565b60006020820190508181036000830152614aa381614a67565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614ae0602083613b71565b9150614aeb82614aaa565b602082019050919050565b60006020820190508181036000830152614b0f81614ad3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b72602683613b71565b9150614b7d82614b16565b604082019050919050565b60006020820190508181036000830152614ba181614b65565b9050919050565b600081905092915050565b6000614bbe82613ce3565b614bc88185614ba8565b9350614bd8818560208601613cee565b80840191505092915050565b6000614bf0828e614bb3565b9150614bfc828d614bb3565b9150614c08828c614bb3565b9150614c14828b614bb3565b9150614c20828a614bb3565b9150614c2c8289614bb3565b9150614c388288614bb3565b9150614c448287614bb3565b9150614c508286614bb3565b9150614c5c8285614bb3565b9150614c688284614bb3565b91508190509c9b505050505050505050505050565b6000614c898285614bb3565b9150614c958284614bb3565b91508190509392505050565b7f7b226e616d65223a202257652041726520416e6172636879204f6e204368616960008201527f6e222c20226465736372697074696f6e223a20224e6f697365206f6620416e6160208201527f7263687922202c2022696d616765223a22000000000000000000000000000000604082015250565b6000614d23605183614ba8565b9150614d2e82614ca1565b605182019050919050565b7f222c2261747472696275746573223a205b7b2274726169745f74797065223a2060008201527f22417274697374222c2276616c7565223a220000000000000000000000000000602082015250565b6000614d95603283614ba8565b9150614da082614d39565b603282019050919050565b7f227d2c7b2274726169745f74797065223a202254797065222c2276616c75652260008201527f3a224e6f697365206f6620416e6172636879227d5d7d00000000000000000000602082015250565b6000614e07603683614ba8565b9150614e1282614dab565b603682019050919050565b6000614e2882614d16565b9150614e348285614bb3565b9150614e3f82614d88565b9150614e4b8284614bb3565b9150614e5682614dfa565b91508190509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614e98601d83614ba8565b9150614ea382614e62565b601d82019050919050565b6000614eb982614e8b565b9150614ec58284614bb3565b915081905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614f2c602e83613b71565b9150614f3782614ed0565b604082019050919050565b60006020820190508181036000830152614f5b81614f1f565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614fc47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614f87565b614fce8683614f87565b95508019841693508086168417925050509392505050565b6000819050919050565b600061500b61500661500184613d84565b614fe6565b613d84565b9050919050565b6000819050919050565b61502583614ff0565b61503961503182615012565b848454614f94565b825550505050565b600090565b61504e615041565b61505981848461501c565b505050565b5b8181101561507d57615072600082615046565b60018101905061505f565b5050565b601f8211156150c25761509381614f62565b61509c84614f77565b810160208510156150ab578190505b6150bf6150b785614f77565b83018261505e565b50505b505050565b600082821c905092915050565b60006150e5600019846008026150c7565b1980831691505092915050565b60006150fe83836150d4565b9150826002028217905092915050565b61511782613ce3565b67ffffffffffffffff8111156151305761512f6140c8565b5b61513a8254614552565b615145828285615081565b600060209050601f8311600181146151785760008415615166578287015190505b61517085826150f2565b8655506151d8565b601f19841661518686614f62565b60005b828110156151ae57848901518255600182019150602085019450602081019050615189565b868310156151cb57848901516151c7601f8916826150d4565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061523c602c83613b71565b9150615247826151e0565b604082019050919050565b6000602082019050818103600083015261526b8161522f565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006152ce602583613b71565b91506152d982615272565b604082019050919050565b600060208201905081810360008301526152fd816152c1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615360602483613b71565b915061536b82615304565b604082019050919050565b6000602082019050818103600083015261538f81615353565b9050919050565b60006153a182613d84565b91506153ac83613d84565b92508282039050818111156153c4576153c3614583565b5b92915050565b60006153d582613d84565b91506153e083613d84565b92508282019050808211156153f8576153f7614583565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615434601983613b71565b915061543f826153fe565b602082019050919050565b6000602082019050818103600083015261546381615427565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006154c6603283613b71565b91506154d18261546a565b604082019050919050565b600060208201905081810360008301526154f5816154b9565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000615558603183613b71565b9150615563826154fc565b604082019050919050565b600060208201905081810360008301526155878161554b565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006155ea602a83613b71565b91506155f58261558e565b604082019050919050565b60006020820190508181036000830152615619816155dd565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615656601983613b71565b915061566182615620565b602082019050919050565b6000602082019050818103600083015261568581615649565b9050919050565b600061569782613d84565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036156c9576156c8614583565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b60006156fb826156d4565b61570581856156df565b9350615715818560208601613cee565b61571e81613d18565b840191505092915050565b600060808201905061573e6000830187613e19565b61574b6020830186613e19565b6157586040830185613eaf565b818103606083015261576a81846156f0565b905095945050505050565b60008151905061578481613c54565b92915050565b6000602082840312156157a05761579f613c1e565b5b60006157ae84828501615775565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615813602f83613b71565b915061581e826157b7565b604082019050919050565b6000602082019050818103600083015261584281615806565b9050919050565b600061585482613d84565b915061585f83613d84565b92508261586f5761586e614894565b5b828206905092915050565b7f3b00000000000000000000000000000000000000000000000000000000000000815250565b60006158ac8285614bb3565b91506158b78261587a565b6001820191506158c78284614bb3565b91508190509392505050565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b6000615909600183614ba8565b9150615914826158d3565b600182019050919050565b600061592b8288614bb3565b9150615936826158fc565b91506159428287614bb3565b915061594d826158fc565b91506159598286614bb3565b9150615964826158fc565b91506159708285614bb3565b915061597b826158fc565b91506159878284614bb3565b91508190509695505050505050565b7f4d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006159cc600183614ba8565b91506159d782615996565b600182019050919050565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a18600183614ba8565b9150615a23826159e2565b600182019050919050565b6000615a39826159bf565b9150615a458285614bb3565b9150615a5082615a0b565b9150615a5c8284614bb3565b91508190509392505050565b7f204c000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a9e600283614ba8565b9150615aa982615a68565b600282019050919050565b6000615ac08286614bb3565b9150615acb82615a91565b9150615ad78285614bb3565b9150615ae282615a0b565b9150615aee8284614bb3565b9150819050949350505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615b31602083613b71565b9150615b3c82615afb565b602082019050919050565b60006020820190508181036000830152615b6081615b24565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615b9d601c83613b71565b9150615ba882615b67565b602082019050919050565b60006020820190508181036000830152615bcc81615b90565b905091905056fe272f3e3c666546756e63472069643d27672720747970653d27646973637265746527207461626c6556616c7565733d272720726570656174436f756e743d27696e646566696e697465272f3e3c2f666554757262756c656e63653e3c6665436f6c6f724d617472697820747970653d277361747572617465272076616c7565733d27312720726573756c743d277361747572617465272f3e3c6665436f6d706f6e656e745472616e736665723e3c666546756e63522069643d27722720747970653d27646973637265746527207461626c6556616c7565733d27272f3e3c666546756e634120747970653d27646973637265746527207461626c6556616c7565733d27312031272f3e3c2f6665436f6d706f6e656e745472616e736665723e3c2f66696c7465723e3c726563742077696474683d273130302527206865696768743d2731303025272066696c7465723d2775726c282373746174696329272f3e3c706174682069643d274d50272066696c6c3d2772656427207374726f6b653d2772656427207374726f6b652d77696474683d27302720643d27272f3e3c666546756e63422069643d27622720747970653d27646973637265746527207461626c6556616c7565733d274142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672076696577426f783d273020302034653320323235302720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f737667273e3c66696c7465722069643d27737461746963273e3c666554757262756c656e636520747970653d2774757262756c656e63652720626173654672657175656e63793d27302e393927206e756d4f6374617665733d2731302720726573756c743d2774757262756c656e6365273e3c616e696d6174652069643d27736427206174747269627574654e616d653d277365656427206475723d273273272076616c7565733d27a26469706673582212209a7e0ffa059f22c98d26ab5cbb586d4bcd352951f38fb598538e35a69f59f59d64736f6c63430008130033
Loading...
Loading
Loading...
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.
[ 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.