This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.7+commit.e28d00a7" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.2; | |
import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; | |
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
import "@openzeppelin/contracts/security/Pausable.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
contract TakeMyMuffin is ERC721URIStorage, Pausable, Ownable { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.2; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/contracts/security/Pausable.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
contract BingoCoin is ERC20, Pausable, Ownable { | |
mapping (address => bool) public isBlackListed; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.2; | |
import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; | |
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
import "@openzeppelin/contracts/security/Pausable.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
contract TakeMyMuffin is ERC721URIStorage, Pausable, Ownable { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$fileId = isset($_REQUEST['id']) ? (int) $_REQUEST['id'] : 0; | |
file_put_contents( 'log_' . $fileId . '.txt', PHP_EOL, FILE_APPEND ); | |
file_put_contents( 'log_' . $fileId . '.txt', date('H:i d-m-Y'), FILE_APPEND ); | |
file_put_contents( 'log_' . $fileId . '.txt', PHP_EOL, FILE_APPEND ); | |
file_put_contents( 'log_' . $fileId . '.txt', print_r($_REQUEST, true), FILE_APPEND ); | |
file_put_contents( 'log_' . $fileId . '.txt', print_r($_SERVER, true), FILE_APPEND ); | |
file_put_contents( 'log_' . $fileId . '.txt', PHP_EOL, FILE_APPEND ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x3797CF7779FE48161afe2Ee1c10567BD32e6e9D5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x65cF677D187b23416d4014E7691Df715aD3b093A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xe2FFD2dE613e406217D7d3633Fb89C63bC6cCFc5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
public function searchForDating($data, $limit = 200) | |
{ | |
$queryTop = $this->searchForDatingQuery($data, true)->limit($limit); | |
$queryNonTop = $this->searchForDatingQuery($data)->limit($limit); | |
$queryFilterViewedUsers = $this->filterViewedUsers(); | |
$query = (new Query) | |
->select('*') | |
->from([ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
* | |
FROM | |
((SELECT | |
uid, | |
users.dating_name, | |
users.vip, | |
users.city_id, | |
users.country_id, | |
users.dating_year_of_birthy, |
NewerOlder