This file contains hidden or 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
| [ | |
| { | |
| "members": [ | |
| { | |
| "name": "low", | |
| "offset": 0, | |
| "type": "felt" | |
| }, | |
| { | |
| "name": "high", |
This file contains hidden or 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
| "abi": [ | |
| { | |
| "inputs": [], | |
| "name": "AuctionEnded", | |
| "type": "error" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "NotListed", | |
| "type": "error" |
This file contains hidden or 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.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 { |
This file contains hidden or 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.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 { |
This file contains hidden or 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.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; |
This file contains hidden or 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.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"; |
This file contains hidden or 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
| LpeToken contract address =0x58482F7C4297DA5A1e7dC133633e776cF794acDB | |
| [ | |
| { | |
| "inputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "constructor" | |
| }, | |
| { | |
| "inputs": [ | |
| { |
This file contains hidden or 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 | |
| // 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 { | |
| /** |
This file contains hidden or 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.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 = |
This file contains hidden or 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.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; |
NewerOlder