Skip to content

Instantly share code, notes, and snippets.

View max-clinch's full-sized avatar

SULEMAN ISMAILA max-clinch

View GitHub Profile
[
{
"members": [
{
"name": "low",
"offset": 0,
"type": "felt"
},
{
"name": "high",
"abi": [
{
"inputs": [],
"name": "AuctionEnded",
"type": "error"
},
{
"inputs": [],
"name": "NotListed",
"type": "error"
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
contract BATSwap is Ownable, ReentrancyGuard {
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "../dependencies/@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "../dependencies/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "../dependencies/@openzeppelin/contracts-upgradeable/utils/structs/EnumerableSetUpgradeable.sol";
import "../dependencies/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "../dependencies/ELEPHANT.sol";
interface IACMTCT {
struct TokenClaimTicket {
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
contract BATToken is ERC20, Ownable(msg.sender), ReentrancyGuard {
mapping(address => uint256) public engagementScores;
mapping(address => uint256) public referralScores;
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "../dependencies/@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "../dependencies/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "../dependencies/@openzeppelin/contracts-upgradeable/utils/structs/EnumerableSetUpgradeable.sol";
import "../dependencies/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "../dependencies/interfaces/IACMTCT.sol";
import "../dependencies/ELEPHANT.sol";
LpeToken contract address =0x58482F7C4297DA5A1e7dC133633e776cF794acDB
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
interface IERC20 {
/**
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
address constant SWAP_ROUTER_02 = 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45;
contract UniswapV3FlashSwap {
ISwapRouter02 constant router = ISwapRouter02(SWAP_ROUTER_02);
uint160 private constant MIN_SQRT_RATIO = 4295128739;
uint160 private constant MAX_SQRT_RATIO =
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "millionToken.sol";
//import "./interface.sol";
contract MillionaireGame is Ownable(msg.sender) {
using Math for uint256;