Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Plot
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; import "./IBlock.sol"; import "./IPlotMetadata.sol"; import "./extensions/ERC721Stakable.sol"; contract Plot is ERC721Stakable, ReentrancyGuardUpgradeable { using SafeMath for uint256; address public blockAddress; address public metadataAddress; uint256 public constant MAX_DIMENSION = 250; uint256 public price; uint256 public dimension; uint256 public totalSupply; mapping(uint256 => bool) public spawns; function initialize( address _stakingAddress, address _blockAddress, address _metadataAddress ) public initializer { __ERC721Stakable_init("Plot", "PLOT"); __ReentrancyGuard_init_unchained(); price = 1000 * 10**18; dimension = 150; stakingAddress = _stakingAddress; blockAddress = _blockAddress; metadataAddress = _metadataAddress; // prettier-ignore uint16[232] memory spawnIds = [31375,31376,31374,31625,31125,31626,31124,31126,31624,31373,31123,31623,30875,30874,30876,30873,43875,43876,43874,44125,43625,44126,43624,43626,44124,43925,43926,43924,44175,43675,44176,43674,43676,44174,31425,31426,31424,31675,31175,31676,31174,31176,31674,18925,18926,18924,19175,18675,19176,18674,18676,19174,18875,18876,18874,19125,18625,19126,18624,18626,19124,18825,18826,18824,19075,18575,19076,18574,18576,19074,31325,31326,31324,31575,31075,31576,31074,31076,31574,43825,43826,43824,44075,43575,44076,43574,43576,44074,56375,56376,56374,56625,56125,56626,56124,56126,56624,56425,56426,56424,56675,56175,56676,56174,56176,56674,56475,56476,56474,56725,56225,56726,56224,56226,56724,43975,43976,43974,44225,43725,44226,43724,43726,44224,31475,31476,31474,31725,31225,31726,31224,31226,31724,18975,18976,18974,19225,18725,19226,18724,18726,19224,6475,6476,6474,6725,6225,6726,6224,6226,6724,6425,6426,6424,6675,6175,6676,6174,6176,6674,6375,6376,6374,6625,6125,6626,6124,6126,6624,6325,6326,6324,6575,6075,6576,6074,6076,6574,6275,6276,6274,6525,6025,6526,6024,6026,6524,18775,18776,18774,19025,18525,19026,18524,18526,19024,31275,31276,31274,31525,31025,31526,31024,31026,31524,43775,43776,43774,44025,43525,44026,43524,43526,44024,56275,56276,56274,56525,56025,56526,56024,56026,56524,56325,56326,56324,56575,56075,56576,56074,56076,56574]; for (uint256 i = 0; i < 232; i++) { spawns[spawnIds[i]] = true; } } /* WRITE FUNCTIONS */ function claimCoordinate( int256 x, int256 y, bool stake ) public nonReentrant { int256 halfDimensionAbs = int256(dimension) / 2; require( x >= -halfDimensionAbs && x < halfDimensionAbs && y >= -halfDimensionAbs && y < halfDimensionAbs, "Coordinate out of bounds" ); _claim(getPlotTokenId(x, y), stake); } function claim(uint256[] calldata tokenIds, bool stake) external nonReentrant { int256 halfDimensionAbs = int256(dimension) / 2; for (uint256 i = 0; i < tokenIds.length; i++) { uint256 tokenId = tokenIds[i]; (int256 x, int256 y) = getPlotCoordinate(tokenId); require( x >= -halfDimensionAbs && x < halfDimensionAbs && y >= -halfDimensionAbs && y < halfDimensionAbs, "Coordinate out of bounds" ); } _claim(tokenIds, stake); } function _claim(uint256 tokenId, bool stake) internal { uint256[] memory tokenIds = new uint256[](1); tokenIds[0] = tokenId; _claim(tokenIds, stake); } function _claim(uint256[] memory tokenIds, bool stake) internal { uint256 _totalSupply = totalSupply; uint256 _price = price; uint256 _totalPrice = 0; for (uint256 i = 0; i < tokenIds.length; i++) { uint256 tokenId = tokenIds[i]; require(!spawns[tokenId], "Cannot claim spawn"); _totalPrice += _price; // increase price by 1.00004 if (_totalSupply < 22500) { _price = (_price * 100004) / 100000; } else { // 1000 * 10 ^ 18 * ln(1.00004) * 1.00004 ^ 22500 _price += 98380386000000000; } _safeMint( stake ? stakingAddress : msg.sender, tokenId, abi.encode(msg.sender) ); _totalSupply += 1; } totalSupply = _totalSupply; price = _price; IBlock(blockAddress).burnFrom(msg.sender, _totalPrice); } /* READ FUNCTIONS */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { return IPlotMetadata(metadataAddress).getMetadata( tokenId, false, new string[](0) ); } function getPlotCoordinate(uint256 tokenId) public pure returns (int256, int256) { int256 halfDimension = int256(MAX_DIMENSION / 2); int256 x = int256(tokenId % MAX_DIMENSION) - halfDimension; int256 y = int256(tokenId / MAX_DIMENSION) - halfDimension; return (x, y); } function getPlotTokenId(int256 x, int256 y) public pure returns (uint256) { int256 halfDimension = int256(MAX_DIMENSION / 2); uint256 tokenId = uint256(y + halfDimension) * MAX_DIMENSION + uint256(x + halfDimension); return tokenId; } /* OWNER FUNCTIONS */ function setBlockAddress(address _blockAddress) external onlyOwner { blockAddress = _blockAddress; } function setMetadataAddress(address _metadataAddress) external onlyOwner { metadataAddress = _metadataAddress; } function claimSpawn(uint256 tokenId) external onlyOwner { require(spawns[tokenId], "Not a spawn"); _safeMint(msg.sender, tokenId); } function setDimension(uint256 _dimension) external onlyOwner { require(_dimension <= MAX_DIMENSION, "Dimension too large"); dimension = _dimension; } }
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuardUpgradeable is Initializable { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; function __ReentrancyGuard_init() internal initializer { __ReentrancyGuard_init_unchained(); } function __ReentrancyGuard_init_unchained() internal initializer { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } uint256[49] private __gap; }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; interface IBlock is IERC20Upgradeable { function burnFrom(address account, uint256 amount) external; function claim( address to, uint256 amount, uint256 startBlockNumber, uint256 endBlockNumber, bytes calldata signature ) external; }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IPlotMetadata { function getMetadata( uint256 tokenId, bool staked, string[] calldata additionalAttributes ) external view returns (string memory); }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; abstract contract ERC721Stakable is ERC721Upgradeable, OwnableUpgradeable { address public stakingAddress; function __ERC721Stakable_init(string memory name_, string memory symbol_) internal initializer { __ERC721_init(name_, symbol_); __Ownable_init_unchained(); } function __ERC721Stakable_init_unchained() internal initializer {} function setStakingAddress(address _stakingAddress) external onlyOwner { stakingAddress = _stakingAddress; } /* OVERRIDE FUNCTIONS */ /** * @dev allow staking contract to transfer on behalf of owner */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { address sender = _msgSender(); require( _isApprovedOrOwner(sender, tokenId) || sender == stakingAddress, "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (proxy/utils/Initializable.sol) pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() initializer {} * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721Upgradeable.sol"; import "./IERC721ReceiverUpgradeable.sol"; import "./extensions/IERC721MetadataUpgradeable.sol"; import "../../utils/AddressUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../utils/StringsUpgradeable.sol"; import "../../utils/introspection/ERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable 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. */ function __ERC721_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __ERC721_init_unchained(name_, symbol_); } function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721Upgradeable.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 = ERC721Upgradeable.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721Upgradeable.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721Upgradeable.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 IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721ReceiverUpgradeable.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 {} uint256[44] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { _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); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165Upgradeable.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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 IERC721ReceiverUpgradeable { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev 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.0 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal initializer { __ERC165_init_unchained(); } function __ERC165_init_unchained() internal initializer { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 IERC165Upgradeable { /** * @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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"},{"inputs":[],"name":"MAX_DIMENSION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int256","name":"x","type":"int256"},{"internalType":"int256","name":"y","type":"int256"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"claimCoordinate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimSpawn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dimension","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPlotCoordinate","outputs":[{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"int256","name":"x","type":"int256"},{"internalType":"int256","name":"y","type":"int256"}],"name":"getPlotTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingAddress","type":"address"},{"internalType":"address","name":"_blockAddress","type":"address"},{"internalType":"address","name":"_metadataAddress","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_blockAddress","type":"address"}],"name":"setBlockAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dimension","type":"uint256"}],"name":"setDimension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_metadataAddress","type":"address"}],"name":"setMetadataAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingAddress","type":"address"}],"name":"setStakingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"spawns","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"}]
Contract Creation Code
608060405234801561001057600080fd5b506154e6806100206000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80638025786d1161011a578063c0c53b8b116100ad578063d7b4be241161007c578063d7b4be24146105d8578063e17b25af146105f6578063e985e9c514610612578063f2fde38b14610642578063f4e0d9ac1461065e57610206565b8063c0c53b8b1461053f578063c50cda121461055b578063c87b56dd14610577578063cb6f3ff2146105a757610206565b8063a035b1fe116100e9578063a035b1fe146104cd578063a22cb465146104eb578063a282d2e114610507578063b88d4fde1461052357610206565b80638025786d146104575780638da5cb5b146104735780639498202d1461049157806395d89b41146104af57610206565b806353d3f4581161019d5780636352211e1161016c5780636352211e146103b15780636eb3500d146103e157806370a08231146103ff578063715018a61461042f578063783f869e1461043957610206565b806353d3f4581461031757806357175cd814610347578063575b68f61461037757806360f205b41461039557610206565b806318160ddd116101d957806318160ddd146102a557806323b872dd146102c35780632f620e49146102df57806342842e0e146102fb57610206565b806301ffc9a71461020b57806306fdde031461023b578063081812fc14610259578063095ea7b314610289575b600080fd5b61022560048036038101906102209190613f30565b61067a565b6040516102329190614556565b60405180910390f35b61024361075c565b604051610250919061459a565b60405180910390f35b610273600480360381019061026e919061404e565b6107ee565b60405161028091906144c6565b60405180910390f35b6102a3600480360381019061029e9190613e9c565b610873565b005b6102ad61098b565b6040516102ba919061485c565b60405180910390f35b6102dd60048036038101906102d89190613d96565b610992565b005b6102f960048036038101906102f4919061404e565b610a50565b005b61031560048036038101906103109190613d96565b610b1a565b005b610331600480360381019061032c9190613f82565b610b3a565b60405161033e919061485c565b60405180910390f35b610361600480360381019061035c919061404e565b610b8a565b60405161036e9190614556565b60405180910390f35b61037f610bab565b60405161038c919061485c565b60405180910390f35b6103af60048036038101906103aa9190613ce2565b610bb0565b005b6103cb60048036038101906103c6919061404e565b610c70565b6040516103d891906144c6565b60405180910390f35b6103e9610d22565b6040516103f691906144c6565b60405180910390f35b61041960048036038101906104149190613ce2565b610d48565b604051610426919061485c565b60405180910390f35b610437610e00565b005b610441610e88565b60405161044e91906144c6565b60405180910390f35b610471600480360381019061046c9190613fbe565b610eae565b005b61047b610fa7565b60405161048891906144c6565b60405180910390f35b610499610fd1565b6040516104a6919061485c565b60405180910390f35b6104b7610fd7565b6040516104c4919061459a565b60405180910390f35b6104d5611069565b6040516104e2919061485c565b60405180910390f35b61050560048036038101906105009190613e60565b61106f565b005b610521600480360381019061051c919061404e565b611085565b005b61053d60048036038101906105389190613de5565b61116f565b005b61055960048036038101906105549190613d47565b6111d1565b005b61057560048036038101906105709190613ed8565b611f81565b005b610591600480360381019061058c919061404e565b61212b565b60405161059e919061459a565b60405180910390f35b6105c160048036038101906105bc919061404e565b61225c565b6040516105cf929190614571565b60405180910390f35b6105e06122b7565b6040516105ed91906144c6565b60405180910390f35b610610600480360381019061060b9190613ce2565b6122dd565b005b61062c60048036038101906106279190613d0b565b61239d565b6040516106399190614556565b60405180910390f35b61065c60048036038101906106579190613ce2565b612431565b005b61067860048036038101906106739190613ce2565b612529565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061074557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107555750610754826125e9565b5b9050919050565b60606065805461076b90614d25565b80601f016020809104026020016040519081016040528092919081815260200182805461079790614d25565b80156107e45780601f106107b9576101008083540402835291602001916107e4565b820191906000526020600020905b8154815290600101906020018083116107c757829003601f168201915b5050505050905090565b60006107f982612653565b610838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082f9061471c565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061087e82610c70565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e69061477c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661090e6126bf565b73ffffffffffffffffffffffffffffffffffffffff16148061093d575061093c816109376126bf565b61239d565b5b61097c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109739061467c565b60405180910390fd5b61098683836126c7565b505050565b6101005481565b600061099c6126bf565b90506109a88183612780565b80610a00575060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a36906147dc565b60405180910390fd5b610a4a84848461285e565b50505050565b610a586126bf565b73ffffffffffffffffffffffffffffffffffffffff16610a76610fa7565b73ffffffffffffffffffffffffffffffffffffffff1614610acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac39061473c565b60405180910390fd5b60fa811115610b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b079061479c565b60405180910390fd5b8060ff8190555050565b610b358383836040518060200160405280600081525061116f565b505050565b600080600260fa610b4b9190614b12565b905060008185610b5b91906149be565b60fa8386610b6991906149be565b610b739190614b43565b610b7d9190614a52565b9050809250505092915050565b6101016020528060005260406000206000915054906101000a900460ff1681565b60fa81565b610bb86126bf565b73ffffffffffffffffffffffffffffffffffffffff16610bd6610fa7565b73ffffffffffffffffffffffffffffffffffffffff1614610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c239061473c565b60405180910390fd5b8060fc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d10906146bc565b60405180910390fd5b80915050919050565b60fd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db09061469c565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e086126bf565b73ffffffffffffffffffffffffffffffffffffffff16610e26610fa7565b73ffffffffffffffffffffffffffffffffffffffff1614610e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e739061473c565b60405180910390fd5b610e866000612aba565b565b60fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260ca541415610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb9061481c565b60405180910390fd5b600260ca819055506000600260ff54610f0d9190614aa8565b905080610f1990614e02565b8412158015610f2757508084125b8015610f3c575080610f3890614e02565b8312155b8015610f4757508083125b610f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7d9061483c565b60405180910390fd5b610f99610f938585610b3a565b83612b80565b50600160ca81905550505050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60ff5481565b606060668054610fe690614d25565b80601f016020809104026020016040519081016040528092919081815260200182805461101290614d25565b801561105f5780601f106110345761010080835404028352916020019161105f565b820191906000526020600020905b81548152906001019060200180831161104257829003601f168201915b5050505050905090565b60fe5481565b61108161107a6126bf565b8383612c4a565b5050565b61108d6126bf565b73ffffffffffffffffffffffffffffffffffffffff166110ab610fa7565b73ffffffffffffffffffffffffffffffffffffffff1614611101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f89061473c565b60405180910390fd5b610101600082815260200190815260200160002060009054906101000a900460ff16611162576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611159906147bc565b60405180910390fd5b61116c3382612db7565b50565b61118061117a6126bf565b83612780565b6111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b6906147dc565b60405180910390fd5b6111cb84848484612dd5565b50505050565b600060019054906101000a900460ff16806111f7575060008054906101000a900460ff16155b611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d906146dc565b60405180910390fd5b60008060019054906101000a900460ff161590508015611286576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6112fa6040518060400160405280600481526020017f506c6f74000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f504c4f5400000000000000000000000000000000000000000000000000000000815250612e31565b611302612f1e565b683635c9adc5dea0000060fe81905550609660ff819055508360c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260fc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160fd60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600060405180611d000160405280617a8f61ffff168152602001617a9061ffff168152602001617a8e61ffff168152602001617b8961ffff16815260200161799561ffff168152602001617b8a61ffff16815260200161799461ffff16815260200161799661ffff168152602001617b8861ffff168152602001617a8d61ffff16815260200161799361ffff168152602001617b8761ffff16815260200161789b61ffff16815260200161789a61ffff16815260200161789c61ffff16815260200161789961ffff16815260200161ab6361ffff16815260200161ab6461ffff16815260200161ab6261ffff16815260200161ac5d61ffff16815260200161aa6961ffff16815260200161ac5e61ffff16815260200161aa6861ffff16815260200161aa6a61ffff16815260200161ac5c61ffff16815260200161ab9561ffff16815260200161ab9661ffff16815260200161ab9461ffff16815260200161ac8f61ffff16815260200161aa9b61ffff16815260200161ac9061ffff16815260200161aa9a61ffff16815260200161aa9c61ffff16815260200161ac8e61ffff168152602001617ac161ffff168152602001617ac261ffff168152602001617ac061ffff168152602001617bbb61ffff1681526020016179c761ffff168152602001617bbc61ffff1681526020016179c661ffff1681526020016179c861ffff168152602001617bba61ffff1681526020016149ed61ffff1681526020016149ee61ffff1681526020016149ec61ffff168152602001614ae761ffff1681526020016148f361ffff168152602001614ae861ffff1681526020016148f261ffff1681526020016148f461ffff168152602001614ae661ffff1681526020016149bb61ffff1681526020016149bc61ffff1681526020016149ba61ffff168152602001614ab561ffff1681526020016148c161ffff168152602001614ab661ffff1681526020016148c061ffff1681526020016148c261ffff168152602001614ab461ffff16815260200161498961ffff16815260200161498a61ffff16815260200161498861ffff168152602001614a8361ffff16815260200161488f61ffff168152602001614a8461ffff16815260200161488e61ffff16815260200161489061ffff168152602001614a8261ffff168152602001617a5d61ffff168152602001617a5e61ffff168152602001617a5c61ffff168152602001617b5761ffff16815260200161796361ffff168152602001617b5861ffff16815260200161796261ffff16815260200161796461ffff168152602001617b5661ffff16815260200161ab3161ffff16815260200161ab3261ffff16815260200161ab3061ffff16815260200161ac2b61ffff16815260200161aa3761ffff16815260200161ac2c61ffff16815260200161aa3661ffff16815260200161aa3861ffff16815260200161ac2a61ffff16815260200161dc3761ffff16815260200161dc3861ffff16815260200161dc3661ffff16815260200161dd3161ffff16815260200161db3d61ffff16815260200161dd3261ffff16815260200161db3c61ffff16815260200161db3e61ffff16815260200161dd3061ffff16815260200161dc6961ffff16815260200161dc6a61ffff16815260200161dc6861ffff16815260200161dd6361ffff16815260200161db6f61ffff16815260200161dd6461ffff16815260200161db6e61ffff16815260200161db7061ffff16815260200161dd6261ffff16815260200161dc9b61ffff16815260200161dc9c61ffff16815260200161dc9a61ffff16815260200161dd9561ffff16815260200161dba161ffff16815260200161dd9661ffff16815260200161dba061ffff16815260200161dba261ffff16815260200161dd9461ffff16815260200161abc761ffff16815260200161abc861ffff16815260200161abc661ffff16815260200161acc161ffff16815260200161aacd61ffff16815260200161acc261ffff16815260200161aacc61ffff16815260200161aace61ffff16815260200161acc061ffff168152602001617af361ffff168152602001617af461ffff168152602001617af261ffff168152602001617bed61ffff1681526020016179f961ffff168152602001617bee61ffff1681526020016179f861ffff1681526020016179fa61ffff168152602001617bec61ffff168152602001614a1f61ffff168152602001614a2061ffff168152602001614a1e61ffff168152602001614b1961ffff16815260200161492561ffff168152602001614b1a61ffff16815260200161492461ffff16815260200161492661ffff168152602001614b1861ffff16815260200161194b61ffff16815260200161194c61ffff16815260200161194a61ffff168152602001611a4561ffff16815260200161185161ffff168152602001611a4661ffff16815260200161185061ffff16815260200161185261ffff168152602001611a4461ffff16815260200161191961ffff16815260200161191a61ffff16815260200161191861ffff168152602001611a1361ffff16815260200161181f61ffff168152602001611a1461ffff16815260200161181e61ffff16815260200161182061ffff168152602001611a1261ffff1681526020016118e761ffff1681526020016118e861ffff1681526020016118e661ffff1681526020016119e161ffff1681526020016117ed61ffff1681526020016119e261ffff1681526020016117ec61ffff1681526020016117ee61ffff1681526020016119e061ffff1681526020016118b561ffff1681526020016118b661ffff1681526020016118b461ffff1681526020016119af61ffff1681526020016117bb61ffff1681526020016119b061ffff1681526020016117ba61ffff1681526020016117bc61ffff1681526020016119ae61ffff16815260200161188361ffff16815260200161188461ffff16815260200161188261ffff16815260200161197d61ffff16815260200161178961ffff16815260200161197e61ffff16815260200161178861ffff16815260200161178a61ffff16815260200161197c61ffff16815260200161495761ffff16815260200161495861ffff16815260200161495661ffff168152602001614a5161ffff16815260200161485d61ffff168152602001614a5261ffff16815260200161485c61ffff16815260200161485e61ffff168152602001614a5061ffff168152602001617a2b61ffff168152602001617a2c61ffff168152602001617a2a61ffff168152602001617b2561ffff16815260200161793161ffff168152602001617b2661ffff16815260200161793061ffff16815260200161793261ffff168152602001617b2461ffff16815260200161aaff61ffff16815260200161ab0061ffff16815260200161aafe61ffff16815260200161abf961ffff16815260200161aa0561ffff16815260200161abfa61ffff16815260200161aa0461ffff16815260200161aa0661ffff16815260200161abf861ffff16815260200161dbd361ffff16815260200161dbd461ffff16815260200161dbd261ffff16815260200161dccd61ffff16815260200161dad961ffff16815260200161dcce61ffff16815260200161dad861ffff16815260200161dada61ffff16815260200161dccc61ffff16815260200161dc0561ffff16815260200161dc0661ffff16815260200161dc0461ffff16815260200161dcff61ffff16815260200161db0b61ffff16815260200161dd0061ffff16815260200161db0a61ffff16815260200161db0c61ffff16815260200161dcfe61ffff16815250905060005b60e8811015611f585760016101016000848460e88110611f17577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015161ffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611f5090614d88565b915050611ece565b50508015611f7b5760008060016101000a81548160ff0219169083151502179055505b50505050565b600260ca541415611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe9061481c565b60405180910390fd5b600260ca819055506000600260ff54611fe09190614aa8565b905060005b848490508110156120d157600085858381811061202b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013590506000806120408361225c565b915091508461204e90614e02565b821215801561205c57508482125b801561207157508461206d90614e02565b8112155b801561207c57508481125b6120bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b29061483c565b60405180910390fd5b50505080806120c990614d88565b915050611fe5565b5061211d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505083612fff565b50600160ca81905550505050565b606060fd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166357449eca8360008067ffffffffffffffff8111156121ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156121e157816020015b60608152602001906001900390816121cc5790505b506040518463ffffffff1660e01b815260040161220093929190614877565b60006040518083038186803b15801561221857600080fd5b505afa15801561222c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612255919061400d565b9050919050565b6000806000600260fa61226f9190614b12565b905060008160fa866122819190614dd1565b61228b9190614b9d565b905060008260fa8761229d9190614b12565b6122a79190614b9d565b9050818194509450505050915091565b60c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6122e56126bf565b73ffffffffffffffffffffffffffffffffffffffff16612303610fa7565b73ffffffffffffffffffffffffffffffffffffffff1614612359576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123509061473c565b60405180910390fd5b8060fd60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124396126bf565b73ffffffffffffffffffffffffffffffffffffffff16612457610fa7565b73ffffffffffffffffffffffffffffffffffffffff16146124ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a49061473c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561251d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612514906145dc565b60405180910390fd5b61252681612aba565b50565b6125316126bf565b73ffffffffffffffffffffffffffffffffffffffff1661254f610fa7565b73ffffffffffffffffffffffffffffffffffffffff16146125a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259c9061473c565b60405180910390fd5b8060c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661273a83610c70565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061278b82612653565b6127ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c19061465c565b60405180910390fd5b60006127d583610c70565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061284457508373ffffffffffffffffffffffffffffffffffffffff1661282c846107ee565b73ffffffffffffffffffffffffffffffffffffffff16145b806128555750612854818561239d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661287e82610c70565b73ffffffffffffffffffffffffffffffffffffffff16146128d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cb9061475c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293b9061461c565b60405180910390fd5b61294f838383613236565b61295a6000826126c7565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129aa9190614c31565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a019190614a52565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081609760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600167ffffffffffffffff811115612bc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612bf15781602001602082028036833780820191505090505b5090508281600081518110612c2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050612c458183612fff565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb09061463c565b60405180910390fd5b80606a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612daa9190614556565b60405180910390a3505050565b612dd182826040518060200160405280600081525061323b565b5050565b612de084848461285e565b612dec84848484613296565b612e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e22906145bc565b60405180910390fd5b50505050565b600060019054906101000a900460ff1680612e57575060008054906101000a900460ff16155b612e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8d906146dc565b60405180910390fd5b60008060019054906101000a900460ff161590508015612ee6576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612ef0838361342d565b612ef8613522565b8015612f195760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680612f44575060008054906101000a900460ff16155b612f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7a906146dc565b60405180910390fd5b60008060019054906101000a900460ff161590508015612fd3576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b600160ca819055508015612ffc5760008060016101000a81548160ff0219169083151502179055505b50565b6000610100549050600060fe5490506000805b8551811015613190576000868281518110613056577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050610101600082815260200190815260200160002060009054906101000a900460ff16156130c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b9906147fc565b60405180910390fd5b83836130ce9190614a52565b92506157e48510156130fe57620186a0620186a4856130ed9190614b43565b6130f79190614b12565b9350613115565b67015d847098655400846131129190614a52565b93505b61316d866131235733613147565b60c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b823360405160200161315991906144c6565b60405160208183030381529060405261323b565b60018561317a9190614a52565b945050808061318890614d88565b915050613012565b5082610100819055508160fe8190555060fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033836040518363ffffffff1660e01b81526004016131fd92919061452d565b600060405180830381600087803b15801561321757600080fd5b505af115801561322b573d6000803e3d6000fd5b505050505050505050565b505050565b613245838361360b565b6132526000848484613296565b613291576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613288906145bc565b60405180910390fd5b505050565b60006132b78473ffffffffffffffffffffffffffffffffffffffff166137d9565b15613420578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132e06126bf565b8786866040518563ffffffff1660e01b815260040161330294939291906144e1565b602060405180830381600087803b15801561331c57600080fd5b505af192505050801561334d57506040513d601f19601f8201168201806040525081019061334a9190613f59565b60015b6133d0573d806000811461337d576040519150601f19603f3d011682016040523d82523d6000602084013e613382565b606091505b506000815114156133c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133bf906145bc565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613425565b600190505b949350505050565b600060019054906101000a900460ff1680613453575060008054906101000a900460ff16155b613492576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613489906146dc565b60405180910390fd5b60008060019054906101000a900460ff1615905080156134e2576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6134ea6137ec565b6134f26138c5565b6134fc838361399e565b801561351d5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680613548575060008054906101000a900460ff16155b613587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357e906146dc565b60405180910390fd5b60008060019054906101000a900460ff1615905080156135d7576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6135e76135e26126bf565b612aba565b80156136085760008060016101000a81548160ff0219169083151502179055505b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561367b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613672906146fc565b60405180910390fd5b61368481612653565b156136c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136bb906145fc565b60405180910390fd5b6136d060008383613236565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137209190614a52565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b600060019054906101000a900460ff1680613812575060008054906101000a900460ff16155b613851576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613848906146dc565b60405180910390fd5b60008060019054906101000a900460ff1615905080156138a1576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156138c25760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806138eb575060008054906101000a900460ff16155b61392a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613921906146dc565b60405180910390fd5b60008060019054906101000a900460ff16159050801561397a576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b801561399b5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806139c4575060008054906101000a900460ff16155b613a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139fa906146dc565b60405180910390fd5b60008060019054906101000a900460ff161590508015613a53576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260659080519060200190613a69929190613aa7565b508160669080519060200190613a80929190613aa7565b508015613aa25760008060016101000a81548160ff0219169083151502179055505b505050565b828054613ab390614d25565b90600052602060002090601f016020900481019282613ad55760008555613b1c565b82601f10613aee57805160ff1916838001178555613b1c565b82800160010185558215613b1c579182015b82811115613b1b578251825591602001919060010190613b00565b5b509050613b299190613b2d565b5090565b5b80821115613b46576000816000905550600101613b2e565b5090565b6000613b5d613b58846148da565b6148b5565b905082815260208101848484011115613b7557600080fd5b613b80848285614ce3565b509392505050565b6000613b9b613b968461490b565b6148b5565b905082815260208101848484011115613bb357600080fd5b613bbe848285614cf2565b509392505050565b600081359050613bd58161543d565b92915050565b60008083601f840112613bed57600080fd5b8235905067ffffffffffffffff811115613c0657600080fd5b602083019150836020820283011115613c1e57600080fd5b9250929050565b600081359050613c3481615454565b92915050565b600081359050613c498161546b565b92915050565b600081519050613c5e8161546b565b92915050565b600082601f830112613c7557600080fd5b8135613c85848260208601613b4a565b91505092915050565b600081359050613c9d81615482565b92915050565b600082601f830112613cb457600080fd5b8151613cc4848260208601613b88565b91505092915050565b600081359050613cdc81615499565b92915050565b600060208284031215613cf457600080fd5b6000613d0284828501613bc6565b91505092915050565b60008060408385031215613d1e57600080fd5b6000613d2c85828601613bc6565b9250506020613d3d85828601613bc6565b9150509250929050565b600080600060608486031215613d5c57600080fd5b6000613d6a86828701613bc6565b9350506020613d7b86828701613bc6565b9250506040613d8c86828701613bc6565b9150509250925092565b600080600060608486031215613dab57600080fd5b6000613db986828701613bc6565b9350506020613dca86828701613bc6565b9250506040613ddb86828701613ccd565b9150509250925092565b60008060008060808587031215613dfb57600080fd5b6000613e0987828801613bc6565b9450506020613e1a87828801613bc6565b9350506040613e2b87828801613ccd565b925050606085013567ffffffffffffffff811115613e4857600080fd5b613e5487828801613c64565b91505092959194509250565b60008060408385031215613e7357600080fd5b6000613e8185828601613bc6565b9250506020613e9285828601613c25565b9150509250929050565b60008060408385031215613eaf57600080fd5b6000613ebd85828601613bc6565b9250506020613ece85828601613ccd565b9150509250929050565b600080600060408486031215613eed57600080fd5b600084013567ffffffffffffffff811115613f0757600080fd5b613f1386828701613bdb565b93509350506020613f2686828701613c25565b9150509250925092565b600060208284031215613f4257600080fd5b6000613f5084828501613c3a565b91505092915050565b600060208284031215613f6b57600080fd5b6000613f7984828501613c4f565b91505092915050565b60008060408385031215613f9557600080fd5b6000613fa385828601613c8e565b9250506020613fb485828601613c8e565b9150509250929050565b600080600060608486031215613fd357600080fd5b6000613fe186828701613c8e565b9350506020613ff286828701613c8e565b925050604061400386828701613c25565b9150509250925092565b60006020828403121561401f57600080fd5b600082015167ffffffffffffffff81111561403957600080fd5b61404584828501613ca3565b91505092915050565b60006020828403121561406057600080fd5b600061406e84828501613ccd565b91505092915050565b60006140838383614166565b905092915050565b61409481614c65565b82525050565b60006140a58261494c565b6140af818561497a565b9350836020820285016140c18561493c565b8060005b858110156140fd57848403895281516140de8582614077565b94506140e98361496d565b925060208a019950506001810190506140c5565b50829750879550505050505092915050565b61411881614c77565b82525050565b600061412982614957565b614133818561498b565b9350614143818560208601614cf2565b61414c81614f07565b840191505092915050565b61416081614caf565b82525050565b600061417182614962565b61417b818561499c565b935061418b818560208601614cf2565b61419481614f07565b840191505092915050565b60006141aa82614962565b6141b481856149ad565b93506141c4818560208601614cf2565b6141cd81614f07565b840191505092915050565b60006141e56032836149ad565b91506141f082614f18565b604082019050919050565b60006142086026836149ad565b915061421382614f67565b604082019050919050565b600061422b601c836149ad565b915061423682614fb6565b602082019050919050565b600061424e6024836149ad565b915061425982614fdf565b604082019050919050565b60006142716019836149ad565b915061427c8261502e565b602082019050919050565b6000614294602c836149ad565b915061429f82615057565b604082019050919050565b60006142b76038836149ad565b91506142c2826150a6565b604082019050919050565b60006142da602a836149ad565b91506142e5826150f5565b604082019050919050565b60006142fd6029836149ad565b915061430882615144565b604082019050919050565b6000614320602e836149ad565b915061432b82615193565b604082019050919050565b60006143436020836149ad565b915061434e826151e2565b602082019050919050565b6000614366602c836149ad565b91506143718261520b565b604082019050919050565b60006143896020836149ad565b91506143948261525a565b602082019050919050565b60006143ac6029836149ad565b91506143b782615283565b604082019050919050565b60006143cf6021836149ad565b91506143da826152d2565b604082019050919050565b60006143f26013836149ad565b91506143fd82615321565b602082019050919050565b6000614415600b836149ad565b91506144208261534a565b602082019050919050565b60006144386031836149ad565b915061444382615373565b604082019050919050565b600061445b6012836149ad565b9150614466826153c2565b602082019050919050565b600061447e601f836149ad565b9150614489826153eb565b602082019050919050565b60006144a16018836149ad565b91506144ac82615414565b602082019050919050565b6144c081614cd9565b82525050565b60006020820190506144db600083018461408b565b92915050565b60006080820190506144f6600083018761408b565b614503602083018661408b565b61451060408301856144b7565b8181036060830152614522818461411e565b905095945050505050565b6000604082019050614542600083018561408b565b61454f60208301846144b7565b9392505050565b600060208201905061456b600083018461410f565b92915050565b60006040820190506145866000830185614157565b6145936020830184614157565b9392505050565b600060208201905081810360008301526145b4818461419f565b905092915050565b600060208201905081810360008301526145d5816141d8565b9050919050565b600060208201905081810360008301526145f5816141fb565b9050919050565b600060208201905081810360008301526146158161421e565b9050919050565b6000602082019050818103600083015261463581614241565b9050919050565b6000602082019050818103600083015261465581614264565b9050919050565b6000602082019050818103600083015261467581614287565b9050919050565b60006020820190508181036000830152614695816142aa565b9050919050565b600060208201905081810360008301526146b5816142cd565b9050919050565b600060208201905081810360008301526146d5816142f0565b9050919050565b600060208201905081810360008301526146f581614313565b9050919050565b6000602082019050818103600083015261471581614336565b9050919050565b6000602082019050818103600083015261473581614359565b9050919050565b600060208201905081810360008301526147558161437c565b9050919050565b600060208201905081810360008301526147758161439f565b9050919050565b60006020820190508181036000830152614795816143c2565b9050919050565b600060208201905081810360008301526147b5816143e5565b9050919050565b600060208201905081810360008301526147d581614408565b9050919050565b600060208201905081810360008301526147f58161442b565b9050919050565b600060208201905081810360008301526148158161444e565b9050919050565b6000602082019050818103600083015261483581614471565b9050919050565b6000602082019050818103600083015261485581614494565b9050919050565b600060208201905061487160008301846144b7565b92915050565b600060608201905061488c60008301866144b7565b614899602083018561410f565b81810360408301526148ab818461409a565b9050949350505050565b60006148bf6148d0565b90506148cb8282614d57565b919050565b6000604051905090565b600067ffffffffffffffff8211156148f5576148f4614ed8565b5b6148fe82614f07565b9050602081019050919050565b600067ffffffffffffffff82111561492657614925614ed8565b5b61492f82614f07565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006149c982614caf565b91506149d483614caf565b9250817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03831360008312151615614a0f57614a0e614e4b565b5b817f8000000000000000000000000000000000000000000000000000000000000000038312600083121615614a4757614a46614e4b565b5b828201905092915050565b6000614a5d82614cd9565b9150614a6883614cd9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a9d57614a9c614e4b565b5b828201905092915050565b6000614ab382614caf565b9150614abe83614caf565b925082614ace57614acd614e7a565b5b600160000383147f800000000000000000000000000000000000000000000000000000000000000083141615614b0757614b06614e4b565b5b828205905092915050565b6000614b1d82614cd9565b9150614b2883614cd9565b925082614b3857614b37614e7a565b5b828204905092915050565b6000614b4e82614cd9565b9150614b5983614cd9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b9257614b91614e4b565b5b828202905092915050565b6000614ba882614caf565b9150614bb383614caf565b9250827f800000000000000000000000000000000000000000000000000000000000000001821260008412151615614bee57614bed614e4b565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018213600084121615614c2657614c25614e4b565b5b828203905092915050565b6000614c3c82614cd9565b9150614c4783614cd9565b925082821015614c5a57614c59614e4b565b5b828203905092915050565b6000614c7082614cb9565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614d10578082015181840152602081019050614cf5565b83811115614d1f576000848401525b50505050565b60006002820490506001821680614d3d57607f821691505b60208210811415614d5157614d50614ea9565b5b50919050565b614d6082614f07565b810181811067ffffffffffffffff82111715614d7f57614d7e614ed8565b5b80604052505050565b6000614d9382614cd9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614dc657614dc5614e4b565b5b600182019050919050565b6000614ddc82614cd9565b9150614de783614cd9565b925082614df757614df6614e7a565b5b828206905092915050565b6000614e0d82614caf565b91507f8000000000000000000000000000000000000000000000000000000000000000821415614e4057614e3f614e4b565b5b816000039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f44696d656e73696f6e20746f6f206c6172676500000000000000000000000000600082015250565b7f4e6f74206120737061776e000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f43616e6e6f7420636c61696d20737061776e0000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f436f6f7264696e617465206f7574206f6620626f756e64730000000000000000600082015250565b61544681614c65565b811461545157600080fd5b50565b61545d81614c77565b811461546857600080fd5b50565b61547481614c83565b811461547f57600080fd5b50565b61548b81614caf565b811461549657600080fd5b50565b6154a281614cd9565b81146154ad57600080fd5b5056fea264697066735822122006741a01cddf3d8e20993e9b262b29d4c263ca4ca3a9be5c197f10ad34c781dc64736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c80638025786d1161011a578063c0c53b8b116100ad578063d7b4be241161007c578063d7b4be24146105d8578063e17b25af146105f6578063e985e9c514610612578063f2fde38b14610642578063f4e0d9ac1461065e57610206565b8063c0c53b8b1461053f578063c50cda121461055b578063c87b56dd14610577578063cb6f3ff2146105a757610206565b8063a035b1fe116100e9578063a035b1fe146104cd578063a22cb465146104eb578063a282d2e114610507578063b88d4fde1461052357610206565b80638025786d146104575780638da5cb5b146104735780639498202d1461049157806395d89b41146104af57610206565b806353d3f4581161019d5780636352211e1161016c5780636352211e146103b15780636eb3500d146103e157806370a08231146103ff578063715018a61461042f578063783f869e1461043957610206565b806353d3f4581461031757806357175cd814610347578063575b68f61461037757806360f205b41461039557610206565b806318160ddd116101d957806318160ddd146102a557806323b872dd146102c35780632f620e49146102df57806342842e0e146102fb57610206565b806301ffc9a71461020b57806306fdde031461023b578063081812fc14610259578063095ea7b314610289575b600080fd5b61022560048036038101906102209190613f30565b61067a565b6040516102329190614556565b60405180910390f35b61024361075c565b604051610250919061459a565b60405180910390f35b610273600480360381019061026e919061404e565b6107ee565b60405161028091906144c6565b60405180910390f35b6102a3600480360381019061029e9190613e9c565b610873565b005b6102ad61098b565b6040516102ba919061485c565b60405180910390f35b6102dd60048036038101906102d89190613d96565b610992565b005b6102f960048036038101906102f4919061404e565b610a50565b005b61031560048036038101906103109190613d96565b610b1a565b005b610331600480360381019061032c9190613f82565b610b3a565b60405161033e919061485c565b60405180910390f35b610361600480360381019061035c919061404e565b610b8a565b60405161036e9190614556565b60405180910390f35b61037f610bab565b60405161038c919061485c565b60405180910390f35b6103af60048036038101906103aa9190613ce2565b610bb0565b005b6103cb60048036038101906103c6919061404e565b610c70565b6040516103d891906144c6565b60405180910390f35b6103e9610d22565b6040516103f691906144c6565b60405180910390f35b61041960048036038101906104149190613ce2565b610d48565b604051610426919061485c565b60405180910390f35b610437610e00565b005b610441610e88565b60405161044e91906144c6565b60405180910390f35b610471600480360381019061046c9190613fbe565b610eae565b005b61047b610fa7565b60405161048891906144c6565b60405180910390f35b610499610fd1565b6040516104a6919061485c565b60405180910390f35b6104b7610fd7565b6040516104c4919061459a565b60405180910390f35b6104d5611069565b6040516104e2919061485c565b60405180910390f35b61050560048036038101906105009190613e60565b61106f565b005b610521600480360381019061051c919061404e565b611085565b005b61053d60048036038101906105389190613de5565b61116f565b005b61055960048036038101906105549190613d47565b6111d1565b005b61057560048036038101906105709190613ed8565b611f81565b005b610591600480360381019061058c919061404e565b61212b565b60405161059e919061459a565b60405180910390f35b6105c160048036038101906105bc919061404e565b61225c565b6040516105cf929190614571565b60405180910390f35b6105e06122b7565b6040516105ed91906144c6565b60405180910390f35b610610600480360381019061060b9190613ce2565b6122dd565b005b61062c60048036038101906106279190613d0b565b61239d565b6040516106399190614556565b60405180910390f35b61065c60048036038101906106579190613ce2565b612431565b005b61067860048036038101906106739190613ce2565b612529565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061074557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107555750610754826125e9565b5b9050919050565b60606065805461076b90614d25565b80601f016020809104026020016040519081016040528092919081815260200182805461079790614d25565b80156107e45780601f106107b9576101008083540402835291602001916107e4565b820191906000526020600020905b8154815290600101906020018083116107c757829003601f168201915b5050505050905090565b60006107f982612653565b610838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082f9061471c565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061087e82610c70565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e69061477c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661090e6126bf565b73ffffffffffffffffffffffffffffffffffffffff16148061093d575061093c816109376126bf565b61239d565b5b61097c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109739061467c565b60405180910390fd5b61098683836126c7565b505050565b6101005481565b600061099c6126bf565b90506109a88183612780565b80610a00575060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a36906147dc565b60405180910390fd5b610a4a84848461285e565b50505050565b610a586126bf565b73ffffffffffffffffffffffffffffffffffffffff16610a76610fa7565b73ffffffffffffffffffffffffffffffffffffffff1614610acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac39061473c565b60405180910390fd5b60fa811115610b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b079061479c565b60405180910390fd5b8060ff8190555050565b610b358383836040518060200160405280600081525061116f565b505050565b600080600260fa610b4b9190614b12565b905060008185610b5b91906149be565b60fa8386610b6991906149be565b610b739190614b43565b610b7d9190614a52565b9050809250505092915050565b6101016020528060005260406000206000915054906101000a900460ff1681565b60fa81565b610bb86126bf565b73ffffffffffffffffffffffffffffffffffffffff16610bd6610fa7565b73ffffffffffffffffffffffffffffffffffffffff1614610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c239061473c565b60405180910390fd5b8060fc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d10906146bc565b60405180910390fd5b80915050919050565b60fd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db09061469c565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e086126bf565b73ffffffffffffffffffffffffffffffffffffffff16610e26610fa7565b73ffffffffffffffffffffffffffffffffffffffff1614610e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e739061473c565b60405180910390fd5b610e866000612aba565b565b60fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260ca541415610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb9061481c565b60405180910390fd5b600260ca819055506000600260ff54610f0d9190614aa8565b905080610f1990614e02565b8412158015610f2757508084125b8015610f3c575080610f3890614e02565b8312155b8015610f4757508083125b610f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7d9061483c565b60405180910390fd5b610f99610f938585610b3a565b83612b80565b50600160ca81905550505050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60ff5481565b606060668054610fe690614d25565b80601f016020809104026020016040519081016040528092919081815260200182805461101290614d25565b801561105f5780601f106110345761010080835404028352916020019161105f565b820191906000526020600020905b81548152906001019060200180831161104257829003601f168201915b5050505050905090565b60fe5481565b61108161107a6126bf565b8383612c4a565b5050565b61108d6126bf565b73ffffffffffffffffffffffffffffffffffffffff166110ab610fa7565b73ffffffffffffffffffffffffffffffffffffffff1614611101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f89061473c565b60405180910390fd5b610101600082815260200190815260200160002060009054906101000a900460ff16611162576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611159906147bc565b60405180910390fd5b61116c3382612db7565b50565b61118061117a6126bf565b83612780565b6111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b6906147dc565b60405180910390fd5b6111cb84848484612dd5565b50505050565b600060019054906101000a900460ff16806111f7575060008054906101000a900460ff16155b611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d906146dc565b60405180910390fd5b60008060019054906101000a900460ff161590508015611286576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6112fa6040518060400160405280600481526020017f506c6f74000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f504c4f5400000000000000000000000000000000000000000000000000000000815250612e31565b611302612f1e565b683635c9adc5dea0000060fe81905550609660ff819055508360c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260fc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160fd60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600060405180611d000160405280617a8f61ffff168152602001617a9061ffff168152602001617a8e61ffff168152602001617b8961ffff16815260200161799561ffff168152602001617b8a61ffff16815260200161799461ffff16815260200161799661ffff168152602001617b8861ffff168152602001617a8d61ffff16815260200161799361ffff168152602001617b8761ffff16815260200161789b61ffff16815260200161789a61ffff16815260200161789c61ffff16815260200161789961ffff16815260200161ab6361ffff16815260200161ab6461ffff16815260200161ab6261ffff16815260200161ac5d61ffff16815260200161aa6961ffff16815260200161ac5e61ffff16815260200161aa6861ffff16815260200161aa6a61ffff16815260200161ac5c61ffff16815260200161ab9561ffff16815260200161ab9661ffff16815260200161ab9461ffff16815260200161ac8f61ffff16815260200161aa9b61ffff16815260200161ac9061ffff16815260200161aa9a61ffff16815260200161aa9c61ffff16815260200161ac8e61ffff168152602001617ac161ffff168152602001617ac261ffff168152602001617ac061ffff168152602001617bbb61ffff1681526020016179c761ffff168152602001617bbc61ffff1681526020016179c661ffff1681526020016179c861ffff168152602001617bba61ffff1681526020016149ed61ffff1681526020016149ee61ffff1681526020016149ec61ffff168152602001614ae761ffff1681526020016148f361ffff168152602001614ae861ffff1681526020016148f261ffff1681526020016148f461ffff168152602001614ae661ffff1681526020016149bb61ffff1681526020016149bc61ffff1681526020016149ba61ffff168152602001614ab561ffff1681526020016148c161ffff168152602001614ab661ffff1681526020016148c061ffff1681526020016148c261ffff168152602001614ab461ffff16815260200161498961ffff16815260200161498a61ffff16815260200161498861ffff168152602001614a8361ffff16815260200161488f61ffff168152602001614a8461ffff16815260200161488e61ffff16815260200161489061ffff168152602001614a8261ffff168152602001617a5d61ffff168152602001617a5e61ffff168152602001617a5c61ffff168152602001617b5761ffff16815260200161796361ffff168152602001617b5861ffff16815260200161796261ffff16815260200161796461ffff168152602001617b5661ffff16815260200161ab3161ffff16815260200161ab3261ffff16815260200161ab3061ffff16815260200161ac2b61ffff16815260200161aa3761ffff16815260200161ac2c61ffff16815260200161aa3661ffff16815260200161aa3861ffff16815260200161ac2a61ffff16815260200161dc3761ffff16815260200161dc3861ffff16815260200161dc3661ffff16815260200161dd3161ffff16815260200161db3d61ffff16815260200161dd3261ffff16815260200161db3c61ffff16815260200161db3e61ffff16815260200161dd3061ffff16815260200161dc6961ffff16815260200161dc6a61ffff16815260200161dc6861ffff16815260200161dd6361ffff16815260200161db6f61ffff16815260200161dd6461ffff16815260200161db6e61ffff16815260200161db7061ffff16815260200161dd6261ffff16815260200161dc9b61ffff16815260200161dc9c61ffff16815260200161dc9a61ffff16815260200161dd9561ffff16815260200161dba161ffff16815260200161dd9661ffff16815260200161dba061ffff16815260200161dba261ffff16815260200161dd9461ffff16815260200161abc761ffff16815260200161abc861ffff16815260200161abc661ffff16815260200161acc161ffff16815260200161aacd61ffff16815260200161acc261ffff16815260200161aacc61ffff16815260200161aace61ffff16815260200161acc061ffff168152602001617af361ffff168152602001617af461ffff168152602001617af261ffff168152602001617bed61ffff1681526020016179f961ffff168152602001617bee61ffff1681526020016179f861ffff1681526020016179fa61ffff168152602001617bec61ffff168152602001614a1f61ffff168152602001614a2061ffff168152602001614a1e61ffff168152602001614b1961ffff16815260200161492561ffff168152602001614b1a61ffff16815260200161492461ffff16815260200161492661ffff168152602001614b1861ffff16815260200161194b61ffff16815260200161194c61ffff16815260200161194a61ffff168152602001611a4561ffff16815260200161185161ffff168152602001611a4661ffff16815260200161185061ffff16815260200161185261ffff168152602001611a4461ffff16815260200161191961ffff16815260200161191a61ffff16815260200161191861ffff168152602001611a1361ffff16815260200161181f61ffff168152602001611a1461ffff16815260200161181e61ffff16815260200161182061ffff168152602001611a1261ffff1681526020016118e761ffff1681526020016118e861ffff1681526020016118e661ffff1681526020016119e161ffff1681526020016117ed61ffff1681526020016119e261ffff1681526020016117ec61ffff1681526020016117ee61ffff1681526020016119e061ffff1681526020016118b561ffff1681526020016118b661ffff1681526020016118b461ffff1681526020016119af61ffff1681526020016117bb61ffff1681526020016119b061ffff1681526020016117ba61ffff1681526020016117bc61ffff1681526020016119ae61ffff16815260200161188361ffff16815260200161188461ffff16815260200161188261ffff16815260200161197d61ffff16815260200161178961ffff16815260200161197e61ffff16815260200161178861ffff16815260200161178a61ffff16815260200161197c61ffff16815260200161495761ffff16815260200161495861ffff16815260200161495661ffff168152602001614a5161ffff16815260200161485d61ffff168152602001614a5261ffff16815260200161485c61ffff16815260200161485e61ffff168152602001614a5061ffff168152602001617a2b61ffff168152602001617a2c61ffff168152602001617a2a61ffff168152602001617b2561ffff16815260200161793161ffff168152602001617b2661ffff16815260200161793061ffff16815260200161793261ffff168152602001617b2461ffff16815260200161aaff61ffff16815260200161ab0061ffff16815260200161aafe61ffff16815260200161abf961ffff16815260200161aa0561ffff16815260200161abfa61ffff16815260200161aa0461ffff16815260200161aa0661ffff16815260200161abf861ffff16815260200161dbd361ffff16815260200161dbd461ffff16815260200161dbd261ffff16815260200161dccd61ffff16815260200161dad961ffff16815260200161dcce61ffff16815260200161dad861ffff16815260200161dada61ffff16815260200161dccc61ffff16815260200161dc0561ffff16815260200161dc0661ffff16815260200161dc0461ffff16815260200161dcff61ffff16815260200161db0b61ffff16815260200161dd0061ffff16815260200161db0a61ffff16815260200161db0c61ffff16815260200161dcfe61ffff16815250905060005b60e8811015611f585760016101016000848460e88110611f17577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015161ffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611f5090614d88565b915050611ece565b50508015611f7b5760008060016101000a81548160ff0219169083151502179055505b50505050565b600260ca541415611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe9061481c565b60405180910390fd5b600260ca819055506000600260ff54611fe09190614aa8565b905060005b848490508110156120d157600085858381811061202b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013590506000806120408361225c565b915091508461204e90614e02565b821215801561205c57508482125b801561207157508461206d90614e02565b8112155b801561207c57508481125b6120bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b29061483c565b60405180910390fd5b50505080806120c990614d88565b915050611fe5565b5061211d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505083612fff565b50600160ca81905550505050565b606060fd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166357449eca8360008067ffffffffffffffff8111156121ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156121e157816020015b60608152602001906001900390816121cc5790505b506040518463ffffffff1660e01b815260040161220093929190614877565b60006040518083038186803b15801561221857600080fd5b505afa15801561222c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612255919061400d565b9050919050565b6000806000600260fa61226f9190614b12565b905060008160fa866122819190614dd1565b61228b9190614b9d565b905060008260fa8761229d9190614b12565b6122a79190614b9d565b9050818194509450505050915091565b60c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6122e56126bf565b73ffffffffffffffffffffffffffffffffffffffff16612303610fa7565b73ffffffffffffffffffffffffffffffffffffffff1614612359576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123509061473c565b60405180910390fd5b8060fd60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124396126bf565b73ffffffffffffffffffffffffffffffffffffffff16612457610fa7565b73ffffffffffffffffffffffffffffffffffffffff16146124ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a49061473c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561251d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612514906145dc565b60405180910390fd5b61252681612aba565b50565b6125316126bf565b73ffffffffffffffffffffffffffffffffffffffff1661254f610fa7565b73ffffffffffffffffffffffffffffffffffffffff16146125a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259c9061473c565b60405180910390fd5b8060c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661273a83610c70565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061278b82612653565b6127ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c19061465c565b60405180910390fd5b60006127d583610c70565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061284457508373ffffffffffffffffffffffffffffffffffffffff1661282c846107ee565b73ffffffffffffffffffffffffffffffffffffffff16145b806128555750612854818561239d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661287e82610c70565b73ffffffffffffffffffffffffffffffffffffffff16146128d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cb9061475c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293b9061461c565b60405180910390fd5b61294f838383613236565b61295a6000826126c7565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129aa9190614c31565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a019190614a52565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081609760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600167ffffffffffffffff811115612bc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612bf15781602001602082028036833780820191505090505b5090508281600081518110612c2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050612c458183612fff565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb09061463c565b60405180910390fd5b80606a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612daa9190614556565b60405180910390a3505050565b612dd182826040518060200160405280600081525061323b565b5050565b612de084848461285e565b612dec84848484613296565b612e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e22906145bc565b60405180910390fd5b50505050565b600060019054906101000a900460ff1680612e57575060008054906101000a900460ff16155b612e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8d906146dc565b60405180910390fd5b60008060019054906101000a900460ff161590508015612ee6576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612ef0838361342d565b612ef8613522565b8015612f195760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680612f44575060008054906101000a900460ff16155b612f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7a906146dc565b60405180910390fd5b60008060019054906101000a900460ff161590508015612fd3576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b600160ca819055508015612ffc5760008060016101000a81548160ff0219169083151502179055505b50565b6000610100549050600060fe5490506000805b8551811015613190576000868281518110613056577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050610101600082815260200190815260200160002060009054906101000a900460ff16156130c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b9906147fc565b60405180910390fd5b83836130ce9190614a52565b92506157e48510156130fe57620186a0620186a4856130ed9190614b43565b6130f79190614b12565b9350613115565b67015d847098655400846131129190614a52565b93505b61316d866131235733613147565b60c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b823360405160200161315991906144c6565b60405160208183030381529060405261323b565b60018561317a9190614a52565b945050808061318890614d88565b915050613012565b5082610100819055508160fe8190555060fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033836040518363ffffffff1660e01b81526004016131fd92919061452d565b600060405180830381600087803b15801561321757600080fd5b505af115801561322b573d6000803e3d6000fd5b505050505050505050565b505050565b613245838361360b565b6132526000848484613296565b613291576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613288906145bc565b60405180910390fd5b505050565b60006132b78473ffffffffffffffffffffffffffffffffffffffff166137d9565b15613420578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132e06126bf565b8786866040518563ffffffff1660e01b815260040161330294939291906144e1565b602060405180830381600087803b15801561331c57600080fd5b505af192505050801561334d57506040513d601f19601f8201168201806040525081019061334a9190613f59565b60015b6133d0573d806000811461337d576040519150601f19603f3d011682016040523d82523d6000602084013e613382565b606091505b506000815114156133c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133bf906145bc565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613425565b600190505b949350505050565b600060019054906101000a900460ff1680613453575060008054906101000a900460ff16155b613492576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613489906146dc565b60405180910390fd5b60008060019054906101000a900460ff1615905080156134e2576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6134ea6137ec565b6134f26138c5565b6134fc838361399e565b801561351d5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680613548575060008054906101000a900460ff16155b613587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357e906146dc565b60405180910390fd5b60008060019054906101000a900460ff1615905080156135d7576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6135e76135e26126bf565b612aba565b80156136085760008060016101000a81548160ff0219169083151502179055505b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561367b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613672906146fc565b60405180910390fd5b61368481612653565b156136c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136bb906145fc565b60405180910390fd5b6136d060008383613236565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137209190614a52565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b600060019054906101000a900460ff1680613812575060008054906101000a900460ff16155b613851576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613848906146dc565b60405180910390fd5b60008060019054906101000a900460ff1615905080156138a1576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156138c25760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806138eb575060008054906101000a900460ff16155b61392a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613921906146dc565b60405180910390fd5b60008060019054906101000a900460ff16159050801561397a576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b801561399b5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806139c4575060008054906101000a900460ff16155b613a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139fa906146dc565b60405180910390fd5b60008060019054906101000a900460ff161590508015613a53576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260659080519060200190613a69929190613aa7565b508160669080519060200190613a80929190613aa7565b508015613aa25760008060016101000a81548160ff0219169083151502179055505b505050565b828054613ab390614d25565b90600052602060002090601f016020900481019282613ad55760008555613b1c565b82601f10613aee57805160ff1916838001178555613b1c565b82800160010185558215613b1c579182015b82811115613b1b578251825591602001919060010190613b00565b5b509050613b299190613b2d565b5090565b5b80821115613b46576000816000905550600101613b2e565b5090565b6000613b5d613b58846148da565b6148b5565b905082815260208101848484011115613b7557600080fd5b613b80848285614ce3565b509392505050565b6000613b9b613b968461490b565b6148b5565b905082815260208101848484011115613bb357600080fd5b613bbe848285614cf2565b509392505050565b600081359050613bd58161543d565b92915050565b60008083601f840112613bed57600080fd5b8235905067ffffffffffffffff811115613c0657600080fd5b602083019150836020820283011115613c1e57600080fd5b9250929050565b600081359050613c3481615454565b92915050565b600081359050613c498161546b565b92915050565b600081519050613c5e8161546b565b92915050565b600082601f830112613c7557600080fd5b8135613c85848260208601613b4a565b91505092915050565b600081359050613c9d81615482565b92915050565b600082601f830112613cb457600080fd5b8151613cc4848260208601613b88565b91505092915050565b600081359050613cdc81615499565b92915050565b600060208284031215613cf457600080fd5b6000613d0284828501613bc6565b91505092915050565b60008060408385031215613d1e57600080fd5b6000613d2c85828601613bc6565b9250506020613d3d85828601613bc6565b9150509250929050565b600080600060608486031215613d5c57600080fd5b6000613d6a86828701613bc6565b9350506020613d7b86828701613bc6565b9250506040613d8c86828701613bc6565b9150509250925092565b600080600060608486031215613dab57600080fd5b6000613db986828701613bc6565b9350506020613dca86828701613bc6565b9250506040613ddb86828701613ccd565b9150509250925092565b60008060008060808587031215613dfb57600080fd5b6000613e0987828801613bc6565b9450506020613e1a87828801613bc6565b9350506040613e2b87828801613ccd565b925050606085013567ffffffffffffffff811115613e4857600080fd5b613e5487828801613c64565b91505092959194509250565b60008060408385031215613e7357600080fd5b6000613e8185828601613bc6565b9250506020613e9285828601613c25565b9150509250929050565b60008060408385031215613eaf57600080fd5b6000613ebd85828601613bc6565b9250506020613ece85828601613ccd565b9150509250929050565b600080600060408486031215613eed57600080fd5b600084013567ffffffffffffffff811115613f0757600080fd5b613f1386828701613bdb565b93509350506020613f2686828701613c25565b9150509250925092565b600060208284031215613f4257600080fd5b6000613f5084828501613c3a565b91505092915050565b600060208284031215613f6b57600080fd5b6000613f7984828501613c4f565b91505092915050565b60008060408385031215613f9557600080fd5b6000613fa385828601613c8e565b9250506020613fb485828601613c8e565b9150509250929050565b600080600060608486031215613fd357600080fd5b6000613fe186828701613c8e565b9350506020613ff286828701613c8e565b925050604061400386828701613c25565b9150509250925092565b60006020828403121561401f57600080fd5b600082015167ffffffffffffffff81111561403957600080fd5b61404584828501613ca3565b91505092915050565b60006020828403121561406057600080fd5b600061406e84828501613ccd565b91505092915050565b60006140838383614166565b905092915050565b61409481614c65565b82525050565b60006140a58261494c565b6140af818561497a565b9350836020820285016140c18561493c565b8060005b858110156140fd57848403895281516140de8582614077565b94506140e98361496d565b925060208a019950506001810190506140c5565b50829750879550505050505092915050565b61411881614c77565b82525050565b600061412982614957565b614133818561498b565b9350614143818560208601614cf2565b61414c81614f07565b840191505092915050565b61416081614caf565b82525050565b600061417182614962565b61417b818561499c565b935061418b818560208601614cf2565b61419481614f07565b840191505092915050565b60006141aa82614962565b6141b481856149ad565b93506141c4818560208601614cf2565b6141cd81614f07565b840191505092915050565b60006141e56032836149ad565b91506141f082614f18565b604082019050919050565b60006142086026836149ad565b915061421382614f67565b604082019050919050565b600061422b601c836149ad565b915061423682614fb6565b602082019050919050565b600061424e6024836149ad565b915061425982614fdf565b604082019050919050565b60006142716019836149ad565b915061427c8261502e565b602082019050919050565b6000614294602c836149ad565b915061429f82615057565b604082019050919050565b60006142b76038836149ad565b91506142c2826150a6565b604082019050919050565b60006142da602a836149ad565b91506142e5826150f5565b604082019050919050565b60006142fd6029836149ad565b915061430882615144565b604082019050919050565b6000614320602e836149ad565b915061432b82615193565b604082019050919050565b60006143436020836149ad565b915061434e826151e2565b602082019050919050565b6000614366602c836149ad565b91506143718261520b565b604082019050919050565b60006143896020836149ad565b91506143948261525a565b602082019050919050565b60006143ac6029836149ad565b91506143b782615283565b604082019050919050565b60006143cf6021836149ad565b91506143da826152d2565b604082019050919050565b60006143f26013836149ad565b91506143fd82615321565b602082019050919050565b6000614415600b836149ad565b91506144208261534a565b602082019050919050565b60006144386031836149ad565b915061444382615373565b604082019050919050565b600061445b6012836149ad565b9150614466826153c2565b602082019050919050565b600061447e601f836149ad565b9150614489826153eb565b602082019050919050565b60006144a16018836149ad565b91506144ac82615414565b602082019050919050565b6144c081614cd9565b82525050565b60006020820190506144db600083018461408b565b92915050565b60006080820190506144f6600083018761408b565b614503602083018661408b565b61451060408301856144b7565b8181036060830152614522818461411e565b905095945050505050565b6000604082019050614542600083018561408b565b61454f60208301846144b7565b9392505050565b600060208201905061456b600083018461410f565b92915050565b60006040820190506145866000830185614157565b6145936020830184614157565b9392505050565b600060208201905081810360008301526145b4818461419f565b905092915050565b600060208201905081810360008301526145d5816141d8565b9050919050565b600060208201905081810360008301526145f5816141fb565b9050919050565b600060208201905081810360008301526146158161421e565b9050919050565b6000602082019050818103600083015261463581614241565b9050919050565b6000602082019050818103600083015261465581614264565b9050919050565b6000602082019050818103600083015261467581614287565b9050919050565b60006020820190508181036000830152614695816142aa565b9050919050565b600060208201905081810360008301526146b5816142cd565b9050919050565b600060208201905081810360008301526146d5816142f0565b9050919050565b600060208201905081810360008301526146f581614313565b9050919050565b6000602082019050818103600083015261471581614336565b9050919050565b6000602082019050818103600083015261473581614359565b9050919050565b600060208201905081810360008301526147558161437c565b9050919050565b600060208201905081810360008301526147758161439f565b9050919050565b60006020820190508181036000830152614795816143c2565b9050919050565b600060208201905081810360008301526147b5816143e5565b9050919050565b600060208201905081810360008301526147d581614408565b9050919050565b600060208201905081810360008301526147f58161442b565b9050919050565b600060208201905081810360008301526148158161444e565b9050919050565b6000602082019050818103600083015261483581614471565b9050919050565b6000602082019050818103600083015261485581614494565b9050919050565b600060208201905061487160008301846144b7565b92915050565b600060608201905061488c60008301866144b7565b614899602083018561410f565b81810360408301526148ab818461409a565b9050949350505050565b60006148bf6148d0565b90506148cb8282614d57565b919050565b6000604051905090565b600067ffffffffffffffff8211156148f5576148f4614ed8565b5b6148fe82614f07565b9050602081019050919050565b600067ffffffffffffffff82111561492657614925614ed8565b5b61492f82614f07565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006149c982614caf565b91506149d483614caf565b9250817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03831360008312151615614a0f57614a0e614e4b565b5b817f8000000000000000000000000000000000000000000000000000000000000000038312600083121615614a4757614a46614e4b565b5b828201905092915050565b6000614a5d82614cd9565b9150614a6883614cd9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a9d57614a9c614e4b565b5b828201905092915050565b6000614ab382614caf565b9150614abe83614caf565b925082614ace57614acd614e7a565b5b600160000383147f800000000000000000000000000000000000000000000000000000000000000083141615614b0757614b06614e4b565b5b828205905092915050565b6000614b1d82614cd9565b9150614b2883614cd9565b925082614b3857614b37614e7a565b5b828204905092915050565b6000614b4e82614cd9565b9150614b5983614cd9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b9257614b91614e4b565b5b828202905092915050565b6000614ba882614caf565b9150614bb383614caf565b9250827f800000000000000000000000000000000000000000000000000000000000000001821260008412151615614bee57614bed614e4b565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018213600084121615614c2657614c25614e4b565b5b828203905092915050565b6000614c3c82614cd9565b9150614c4783614cd9565b925082821015614c5a57614c59614e4b565b5b828203905092915050565b6000614c7082614cb9565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614d10578082015181840152602081019050614cf5565b83811115614d1f576000848401525b50505050565b60006002820490506001821680614d3d57607f821691505b60208210811415614d5157614d50614ea9565b5b50919050565b614d6082614f07565b810181811067ffffffffffffffff82111715614d7f57614d7e614ed8565b5b80604052505050565b6000614d9382614cd9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614dc657614dc5614e4b565b5b600182019050919050565b6000614ddc82614cd9565b9150614de783614cd9565b925082614df757614df6614e7a565b5b828206905092915050565b6000614e0d82614caf565b91507f8000000000000000000000000000000000000000000000000000000000000000821415614e4057614e3f614e4b565b5b816000039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f44696d656e73696f6e20746f6f206c6172676500000000000000000000000000600082015250565b7f4e6f74206120737061776e000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f43616e6e6f7420636c61696d20737061776e0000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f436f6f7264696e617465206f7574206f6620626f756e64730000000000000000600082015250565b61544681614c65565b811461545157600080fd5b50565b61545d81614c77565b811461546857600080fd5b50565b61547481614c83565b811461547f57600080fd5b50565b61548b81614caf565b811461549657600080fd5b50565b6154a281614cd9565b81146154ad57600080fd5b5056fea264697066735822122006741a01cddf3d8e20993e9b262b29d4c263ca4ca3a9be5c197f10ad34c781dc64736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.