Skip to content

Instantly share code, notes, and snippets.

// SPDX-License-Identifier: MIT
// Lp Token Lock by proxystudio
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Address.sol";
contract LpLocker is Context, Ownable {
@malik672
malik672 / rickmorty.rs
Created February 11, 2024 07:30
rickmorty
// Import the crates
use clap::{App, Arg, SubCommand};
use reqwest::Client;
use std::error::Error;
use hyper::service::{make_service_fn, service_fn};
use hyper::{Body, Request, Response, Server};
use std::net::SocketAddr;
use std::convert::Infallible;
@malik672
malik672 / test.rs
Last active February 9, 2024 01:34
// Import the crates
use clap::{App, Arg, SubCommand};
use reqwest::Client;
#[tokio::main]
async fn main() {
// Create a CLI app with clap
let app = App::new("Rick and Morty CLI")
.version("0.1.0")