repo_id stringclasses 563
values | file_path stringlengths 40 166 | content stringlengths 1 2.94M | __index_level_0__ int64 0 0 |
|---|---|---|---|
solana_public_repos/nautilus-project/nautilus | solana_public_repos/nautilus-project/nautilus/docs/postcss.config.js | module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
| 0 |
solana_public_repos/nautilus-project/nautilus | solana_public_repos/nautilus-project/nautilus/docs/.eslintrc.json | {
"extends": ["next/babel","next/core-web-vitals"]
}
| 0 |
solana_public_repos/nautilus-project/nautilus/docs | solana_public_repos/nautilus-project/nautilus/docs/config/global.config.ts | import { Config } from "../interfaces/config";
const globalConfig: Config = {
general: {
name: 'Nautilus',
domain: 'nautilus-project.vercel.app',
twitter: '<insert twitter>'
},
};
export default globalConfig; | 0 |
solana_public_repos/nautilus-project/nautilus/docs | solana_public_repos/nautilus-project/nautilus/docs/lib/markdownConverter.ts | import fs from "fs";
import path from "path";
import matter from "gray-matter";
const contentDirectory = path.join(process.cwd(), "md");
export function getFiles() {
return fs
.readdirSync(contentDirectory)
.filter((file) => fs.statSync(path.join(contentDirectory, file)).isFile());
}
export async function ... | 0 |
solana_public_repos/nautilus-project/nautilus/docs | solana_public_repos/nautilus-project/nautilus/docs/interfaces/config.d.ts | export type Config = {
general: {
name: string;
domain: string;
twitter: string;
};
};
| 0 |
solana_public_repos/nautilus-project/nautilus/docs | solana_public_repos/nautilus-project/nautilus/docs/interfaces/seo.d.ts | export type SEOProps = {
title: string;
description: string;
image: string;
};
export default SEOProps;
| 0 |
solana_public_repos/nautilus-project/nautilus/docs/src | solana_public_repos/nautilus-project/nautilus/docs/src/styles/Transitions.module.css | .fadeIn {
opacity: 0;
animation: fadeIn 1.5s ease-in-out forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fadeInUp {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 1.5s ease-in-out forwards;
}
@keyframes fadeInUp {
from {
opacity: 0;
transfo... | 0 |
solana_public_repos/nautilus-project/nautilus/docs/src | solana_public_repos/nautilus-project/nautilus/docs/src/styles/globals.css | @tailwind base;
@tailwind components;
@tailwind utilities; | 0 |
solana_public_repos/nautilus-project/nautilus/docs/src | solana_public_repos/nautilus-project/nautilus/docs/src/components/Hero.tsx | import styles from "@/styles/Transitions.module.css";
import Link from "next/link";
export default function Hero() {
return (
<div className="mx-auto max-w-2xl lg:py-32 py-28">
<div className={styles.fadeInUp}>
<div className="flex justify-center">
<img src="/nautilus-icon.jpg" alt="Nauti... | 0 |
solana_public_repos/nautilus-project/nautilus/docs/src | solana_public_repos/nautilus-project/nautilus/docs/src/components/Navbar.tsx | import Link from "next/link";
import { useState } from "react";
export default function Navbar() {
const [toggled, setToggled] = useState(false);
const handleToggle = () => {
setToggled(!toggled);
};
return (
<>
<div className="lg:flex hidden flex-row items-center justify-between mt-4 fixed top... | 0 |
solana_public_repos/nautilus-project/nautilus/docs/src | solana_public_repos/nautilus-project/nautilus/docs/src/components/SEO.tsx | import Head from "next/head";
import globalConfig from "../../config/global.config";
import { SEOProps } from "../../interfaces/seo";
export default function SEO({ title, description, image }: SEOProps) {
return (
<Head>
<title>{title}</title>
<meta name="description" content={description} />
<m... | 0 |
solana_public_repos/nautilus-project/nautilus/docs/src | solana_public_repos/nautilus-project/nautilus/docs/src/components/DocsLayout.tsx | interface Section {
title: string;
description: string;
previous: string;
previousLink: string;
next: string;
nextLink: string;
content: string;
}
const sections = [
{
title: "🚢 The Basics",
subsections: [
{ title: "► What is Nautilus?", slug: "what-is-nautilus" },
{ title: "► How ... | 0 |
solana_public_repos/nautilus-project/nautilus/docs/src | solana_public_repos/nautilus-project/nautilus/docs/src/pages/index.tsx | import Hero from "@/components/Hero";
import Navbar from "@/components/Navbar";
import SEO from "@/components/SEO";
import styles from "@/styles/Transitions.module.css";
export default function Home() {
return (
<>
<SEO
title="Home | Nautilus Project"
description="An object-oriented, SQL-na... | 0 |
solana_public_repos/nautilus-project/nautilus/docs/src | solana_public_repos/nautilus-project/nautilus/docs/src/pages/_document.tsx | import { Html, Head, Main, NextScript } from 'next/document'
export default function Document() {
return (
<Html lang="en">
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
)
}
| 0 |
solana_public_repos/nautilus-project/nautilus/docs/src | solana_public_repos/nautilus-project/nautilus/docs/src/pages/_app.tsx | import '@/styles/globals.css'
import type { AppProps } from 'next/app'
export default function App({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />
}
| 0 |
solana_public_repos/nautilus-project/nautilus/docs/src/pages | solana_public_repos/nautilus-project/nautilus/docs/src/pages/docs/[slug].tsx | import DocumentationLayout from "@/components/DocsLayout";
import SEO from "@/components/SEO";
import matter from "gray-matter";
import { remark } from "remark";
import html from "remark-html";
import { getAllPostsData, getFileData } from "../../../lib/markdownConverter";
export default function Doc({ postData }: any)... | 0 |
solana_public_repos/nautilus-project/nautilus/docs/src/pages | solana_public_repos/nautilus-project/nautilus/docs/src/pages/api/hello.ts | // Next.js API route support: https://nextjs.org/docs/api-routes/introduction
import type { NextApiRequest, NextApiResponse } from 'next'
type Data = {
name: string
}
export default function handler(
req: NextApiRequest,
res: NextApiResponse<Data>
) {
res.status(200).json({ name: 'John Doe' })
}
| 0 |
solana_public_repos/nautilus-project/nautilus | solana_public_repos/nautilus-project/nautilus/cli/Cargo.toml | [package]
name = "nautilus-cli"
version = "0.1.0"
edition = "2021"
[dependencies]
clap = { version = "4.1.7", features = ["derive"] }
spinners = "4.1.0"
termcolor = "1.2.0"
| 0 |
solana_public_repos/nautilus-project/nautilus | solana_public_repos/nautilus-project/nautilus/cli/rustfmt.toml | comment_width = 80
wrap_comments = true | 0 |
solana_public_repos/nautilus-project/nautilus/cli | solana_public_repos/nautilus-project/nautilus/cli/src/processor.rs | use clap::Subcommand;
use std::process::Command;
use termcolor::Color;
use crate::output::NautilusTerminal;
use crate::Cli;
#[derive(Subcommand)]
pub enum NautilusCommand {
/// 🛠️ Builds the Nautilus program
Build,
/// ⛴️ Ships (deploys) the Nautilus program
Deploy,
/// ⛴️ Ships (deploys) the ... | 0 |
solana_public_repos/nautilus-project/nautilus/cli | solana_public_repos/nautilus-project/nautilus/cli/src/output.rs | use spinners::{Spinner, Spinners};
use std::{thread, time};
use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor};
/// Util struct for controlling the terminal output.
pub struct NautilusTerminal {
// spinner: Spinner,
stdout: StandardStream,
}
impl NautilusTerminal {
/// Start a term... | 0 |
solana_public_repos/nautilus-project/nautilus/cli | solana_public_repos/nautilus-project/nautilus/cli/src/main.rs | //
//
// ----------------------------------------------------------------
// Nautilus CLI
// ----------------------------------------------------------------
//
//
use clap::Parser;
mod output;
mod processor;
use crate::processor::{processor, NautilusCommand};
#[derive(Parser)]
#[command(author... | 0 |
solana_public_repos/nautilus-project | solana_public_repos/nautilus-project/waverider/LICENSE | MIT License
Copyright (c) 2023 Nautilus
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribu... | 0 |
solana_public_repos/nautilus-project | solana_public_repos/nautilus-project/waverider/package.json | {
"name": "waverider",
"version": "0.0.3",
"scripts": {
"build-default": "cargo build --manifest-path waverider/default/Cargo.toml --release",
"build-atlantic": "cargo build --manifest-path waverider/atlantic/Cargo.toml --release"
}
}
| 0 |
solana_public_repos/nautilus-project/waverider | solana_public_repos/nautilus-project/waverider/config/config.default.json | {
"libpath": "../waverider/default/target/release/libwaverider_default.so",
"supabase_url": "<url>/rest/v1",
"supabase_key": "<key>",
"programs": ["TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"]
}
| 0 |
solana_public_repos/nautilus-project/waverider | solana_public_repos/nautilus-project/waverider/config/config.atlantic.json | {
"libpath": "../waverider/atlantic/target/release/libwaverider_atlantic.so",
"supabase_url": "<url>/rest/v1",
"supabase_key": "<key>",
"programs": ["TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"]
}
| 0 |
solana_public_repos/nautilus-project/waverider | solana_public_repos/nautilus-project/waverider/config/default.sql | CREATE TABLE public.accounts (
account text NOT NULL,
owner text NOT NULL,
data bytea,
executable boolean NOT NULL
);
ALTER TABLE public.accounts OWNER TO postgres;
ALTER TABLE ONLY public.accounts
ADD CONSTRAINT accounts_account_key UNIQUE (account);
ALTER TABLE ONLY public.accounts
ADD C... | 0 |
solana_public_repos/nautilus-project/waverider | solana_public_repos/nautilus-project/waverider/config/config.default.mac.json | {
"libpath": "../waverider/default/target/release/libwaverider_default.dylib",
"supabase_url": "<url>/rest/v1",
"supabase_key": "<key>",
"programs": ["TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"]
}
| 0 |
solana_public_repos/nautilus-project/waverider/waverider | solana_public_repos/nautilus-project/waverider/waverider/atlantic/Cargo.toml | [package]
name = "waverider_atlantic"
version = "0.0.3"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
solana-geyser-plugin-interface = "=1.15.2"
solana-program = "=1.15.2"
postgrest = "1.2"
async-std = "1.10.0"
hyper = "0.14.26"
tokio = { version = "1.8", features = ["full"] }
serde_json = "1.... | 0 |
solana_public_repos/nautilus-project/waverider/waverider/atlantic | solana_public_repos/nautilus-project/waverider/waverider/atlantic/src/lib.rs | use solana_geyser_plugin_interface::geyser_plugin_interface::GeyserPlugin;
mod plugin;
pub use plugin::SupabasePlugin;
#[no_mangle]
#[allow(improper_ctypes_definitions)]
/// # Safety
///
/// The Solana validator and this plugin must be compiled with the same Rust compiler version and Solana core version.
/// Loading ... | 0 |
solana_public_repos/nautilus-project/waverider/waverider/atlantic | solana_public_repos/nautilus-project/waverider/waverider/atlantic/src/plugin.rs | use postgrest::Postgrest;
use serde::Deserialize;
use serde_json::{Value, Map};
use solana_geyser_plugin_interface::geyser_plugin_interface::GeyserPluginError;
use solana_geyser_plugin_interface::geyser_plugin_interface::{
GeyserPlugin, ReplicaAccountInfoVersions, Result as PluginResult,
};
use std::io::Cursor;
use... | 0 |
solana_public_repos/nautilus-project/waverider/waverider | solana_public_repos/nautilus-project/waverider/waverider/default/Cargo.toml | [package]
name = "waverider_default"
version = "0.0.3"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
solana-geyser-plugin-interface = "=1.15.2"
solana-program = "=1.15.2"
postgrest = "1.2"
async-std = "1.10.0"
hyper = "0.14.26"
tokio = { version = "1.8", features = ["full"] }
serde_json = "1.0... | 0 |
solana_public_repos/nautilus-project/waverider/waverider/default | solana_public_repos/nautilus-project/waverider/waverider/default/src/lib.rs | use solana_geyser_plugin_interface::geyser_plugin_interface::GeyserPlugin;
mod plugin;
pub use plugin::SupabasePlugin;
#[no_mangle]
#[allow(improper_ctypes_definitions)]
/// # Safety
///
/// The Solana validator and this plugin must be compiled with the same Rust compiler version and Solana core version.
/// Loading ... | 0 |
solana_public_repos/nautilus-project/waverider/waverider/default | solana_public_repos/nautilus-project/waverider/waverider/default/src/plugin.rs | use postgrest::Postgrest;
use serde::Deserialize;
use solana_geyser_plugin_interface::geyser_plugin_interface::GeyserPluginError;
use solana_geyser_plugin_interface::geyser_plugin_interface::{
GeyserPlugin, ReplicaAccountInfoVersions, Result as PluginResult,
};
use std::{
error::Error,
fmt::{self, Debug},
... | 0 |
solana_public_repos/nautilus-project | solana_public_repos/nautilus-project/splogger/Cargo.toml | [package]
name = "splogger"
version = "0.0.1"
authors = ["Joe Caulfield <jcaulfield135@gmail.com>"]
repository = "https://github.com/nautilus-project/splogger"
license = "Apache-2.0"
description = "Custom logging lib for Solana programs"
rust-version = "1.59"
edition = "2021"
[dependencies]
solana-program="1.14.13" | 0 |
solana_public_repos/nautilus-project | solana_public_repos/nautilus-project/splogger/LICENSE | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... | 0 |
solana_public_repos/nautilus-project/splogger | solana_public_repos/nautilus-project/splogger/tests/test.rs |
mod impl_test;
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn unit_tests() {
impl_test::impl_test();
}
} | 0 |
solana_public_repos/nautilus-project/splogger | solana_public_repos/nautilus-project/splogger/tests/impl_test.rs | use splogger::{critical, debug, error, info, splog, warn, Splog};
pub fn impl_test() {
splog!(Splog::DEBUG, "This is a debug message.");
splog!(Splog::INFO, "This is an info message.");
splog!(Splog::WARN, "This is a warning message.");
splog!(Splog::ERROR, "This is an error message.");
splog!(Splo... | 0 |
solana_public_repos/nautilus-project/splogger | solana_public_repos/nautilus-project/splogger/src/lib.rs | use solana_program::msg;
pub enum Splog {
DEBUG,
INFO,
WARN,
ERROR,
CRITICAL,
}
pub fn splog_log(splog: Splog, message: &str) {
match splog {
Splog::DEBUG => msg!("[DEBUG]: {}", message),
Splog::INFO => msg!("[INFO]: {}", message),
Splog::WARN => msg!("[WARN]: {}", mess... | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/pnpm-lock.yaml | lockfileVersion: '9.0'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers:
.:
devDependencies:
husky:
specifier: ^9.1.5
version: 9.1.5
nx:
specifier: ^20.2.1
version: 20.2.1
playwright:
specifier: ^1.49.1
version: 1.4... | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/Cargo.toml | [workspace]
resolver = "2"
members = [
"hasher.rs/src/wasm",
"heap",
"circuit-lib/light-prover-client",
"circuit-lib/verifier",
"macros/aligned-sized",
"macros/light",
"macros/light-sdk-macros",
"merkle-tree/*",
"programs/account-compression",
"programs/system",
"programs/com... | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/nx.json | {
"namedInputs": {
"noMarkdown": [
"!{workspaceRoot}/**/*.md"
],
"noTestLedger": [
"!{workspaceRoot}/test-ledger"
]
},
"targetDefaults": {
"build": {
"cache": false,
"inputs": [
"noMarkdown",
"^noMarkdown",
"noTestLedger",
"^noTestLedger"... | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/rustfmt.toml | imports_granularity = "Crate"
group_imports = "StdExternalCrate"
reorder_imports = true
| 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/LICENSE | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamb... | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/.npmrc.example | //registry.npmjs.org/:_authToken=YOUR_AUTH_TOKEN | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/CODEOWNERS | assets/ @SwenSchaeferjohann
circuit-lib/ @ananas-block @sergeytimoshin
cli/ @ananas-block @sergeytimoshin
hasher.rs/ @sergeytimoshin
macro-circom/ @ananas-block
macros/ @vadorovsky
merkle-tree/ @ananas-block @vadorovsky
programs/ @ananas-block @vadorovsky
prover.js/ @sergeytimoshin
examples/ @ananas-block @SwenSchaefer... | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/Cargo.lock | # This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "Inflector"
version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
dependencies = [
"lazy... | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/.prettierignore | pnpm-lock.yaml
/.nx/cache
/.nx/workspace-data | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/Anchor.toml | [features]
seeds = false
[test.validator]
url = "http://127.0.0.1:8899"
[test]
startup_wait = 10_000
[registry]
url = "https://anchor.projectserum.com"
[provider]
cluster = "localnet"
wallet = "~/.config/solana/id.json"
# --resolveJsonModule ./tsconfig.json
# [workspace]
# types = "./js/stateless.js/src/idls"
# i... | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/.dockerignore | **/*.log
.git/
**/test-ledger/
**/logs/
target
**/target/
Dockerfile
.dockerignore
.git | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/package.json | {
"devDependencies": {
"husky": "^9.1.5",
"nx": "^20.2.1",
"playwright": "^1.49.1",
"prettier": "^3.4.2",
"snarkjs": "^0.7.5",
"syncpack": "^13.0.0",
"typescript": "^5.5.4"
},
"packageManager": "pnpm@9.2.0"
}
| 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/forester-spec.yaml | alerts:
- rule: DEPLOYMENT_FAILED
name: forester
region: fra
services:
- name: forester
dockerfile_path: Dockerfile
source_dir: .
github:
repo: lightprotocol/light-protocol
branch: main
deploy_on_push: true
instance_count: 2
instance_size_slug: basic-xxs
routes:
- path: / | 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/rust-toolchain.toml | [toolchain]
channel = "1.79"
| 0 |
solana_public_repos/Lightprotocol | solana_public_repos/Lightprotocol/light-protocol/pnpm-workspace.yaml | packages:
- "tsconfig/**"
- "programs/**"
- "circuit-lib/**"
- "hasher.rs/**"
- "cli/**"
- "account-compression/programs/**"
- "sdk/**"
- "js/stateless.js/**"
- "js/compressed-token/**"
- "examples/**"
- "forester/**"
| 0 |
solana_public_repos/Lightprotocol/light-protocol | solana_public_repos/Lightprotocol/light-protocol/.husky/pre-commit | #!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
./scripts/format.sh
| 0 |
solana_public_repos/Lightprotocol/light-protocol | solana_public_repos/Lightprotocol/light-protocol/photon-api/Cargo.toml | [package]
name = "photon-api"
version = "0.45.0"
authors = ["OpenAPI Generator team and contributors"]
description = "Solana indexer for general compression"
license = "Apache-2.0"
edition = "2018"
[dependencies]
serde = "^1.0"
serde_derive = "^1.0"
serde_with = "^3.9"
serde_json = "^1.0"
url = "^2.2"
uuid = { version... | 0 |
solana_public_repos/Lightprotocol/light-protocol | solana_public_repos/Lightprotocol/light-protocol/photon-api/.openapi-generator-ignore | # OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.
# As an example, the C# client generator defines ApiClient.cs.
# You can... | 0 |
solana_public_repos/Lightprotocol/light-protocol | solana_public_repos/Lightprotocol/light-protocol/photon-api/git_push.sh | #!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
git_user_id=$1
git_repo_id=$2
release_note=$3
git_host=$4
if [ "$git_host" = "" ]; then
git_host="github... | 0 |
solana_public_repos/Lightprotocol/light-protocol | solana_public_repos/Lightprotocol/light-protocol/photon-api/.travis.yml | language: rust
| 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api | solana_public_repos/Lightprotocol/light-protocol/photon-api/.openapi-generator/VERSION | 7.5.0
| 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api | solana_public_repos/Lightprotocol/light-protocol/photon-api/.openapi-generator/FILES | .gitignore
.openapi-generator-ignore
.travis.yml
Cargo.toml
README.md
docs/Account.md
docs/AccountData.md
docs/AccountList.md
docs/AccountState.md
docs/AccountWithOptionalTokenData.md
docs/AddressWithTree.md
docs/CompressedProof.md
docs/CompressedProofWithContext.md
docs/Context.md
docs/DataSlice.md
docs/DefaultApi.md
... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/lib.rs | #![allow(unused_imports)]
#[macro_use]
extern crate serde_derive;
extern crate reqwest;
extern crate serde;
extern crate serde_json;
extern crate url;
pub mod apis;
pub mod models;
| 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/apis/configuration.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Debug, Clone)]
pub struct Configuration {
pub base_path: String,
pub user_agent: Option<String>,
pub client: reqwest::Client,
... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/apis/mod.rs | use std::error;
use std::fmt;
#[derive(Debug, Clone)]
pub struct ResponseContent<T> {
pub status: reqwest::StatusCode,
pub content: String,
pub entity: Option<T>,
}
#[derive(Debug)]
pub enum Error<T> {
Reqwest(reqwest::Error),
Serde(serde_json::Error),
Io(std::io::Error),
ResponseError(Res... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/apis/default_api.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use reqwest;
use super::{configuration, Error};
use crate::apis::configuration::Configuration;
use crate::{apis::ResponseContent, models};
/// str... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/token_balance_list.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TokenBalanceList {
#[serde(
rename = ... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_multiple_compressed_account_proofs_post_200_response_result.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetMultipleCompressedAccountProofsPost200Response... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/compressed_proof.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CompressedProof {
#[serde(rename = "a")]
... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compressed_account_post_request_params.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
/// GetCompressedAccountPostRequestParams : Request for compressed account data
#[derive(Clone, Default, Debug, PartialEq, Seria... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_multiple_compressed_accounts_post_200_response_result.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetMultipleCompressedAccountsPost200ResponseResul... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compressed_account_post_429_response.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressedAccountPost429Response {
#[serde... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compressed_token_accounts_by_owner_post_request_params.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressedTokenAccountsByOwnerPostRequestParam... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compressed_account_post_200_response_result.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressedAccountPost200ResponseResult {
#... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/account_data.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AccountData {
/// A base 64 encoded string.
... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compressed_token_account_balance_post_request.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressedTokenAccountBalancePostRequest {
... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/paginated_account_list.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PaginatedAccountList {
/// A 32-byte hash rep... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_200_response.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressedTokenAccountsByDelegatePost200Respon... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compressed_account_proof_post_200_response.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressedAccountProofPost200Response {
#[... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_multiple_compressed_accounts_post_request.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetMultipleCompressedAccountsPostRequest {
//... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/token_account_list.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TokenAccountList {
/// A base 58 encoded stri... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compressed_account_proof_post_200_response_result.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressedAccountProofPost200ResponseResult {
... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compression_signatures_for_address_post_request_params.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressionSignaturesForAddressPostRequestPara... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compression_signatures_for_address_post_200_response.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressionSignaturesForAddressPost200Response... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_multiple_compressed_account_proofs_post_200_response.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetMultipleCompressedAccountProofsPost200Response... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_transaction_with_compression_info_post_request_params.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetTransactionWithCompressionInfoPostRequestParam... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compressed_account_post_200_response.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressedAccountPost200Response {
#[serde... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/address_with_tree.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AddressWithTree {
/// A Solana public key rep... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/memcmp.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Memcmp {
/// A base 58 encoded string.
#[... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_indexer_slot_post_200_response.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetIndexerSlotPost200Response {
#[serde(renam... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_multiple_new_address_proofs_v2_post_request.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetMultipleNewAddressProofsV2PostRequest {
//... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_indexer_health_post_request.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetIndexerHealthPostRequest {
/// An ID to id... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_latest_compression_signatures_post_request.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetLatestCompressionSignaturesPostRequest {
/... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_multiple_compressed_accounts_post_200_response.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetMultipleCompressedAccountsPost200Response {
... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/token_account_balance.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TokenAccountBalance {
#[serde(rename = "amoun... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_validity_proof_post_request_params.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetValidityProofPostRequestParams {
#[serde(r... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_compressed_account_post_200_response_error.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressedAccountPost200ResponseError {
#[... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_latest_compression_signatures_post_request_params.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetLatestCompressionSignaturesPostRequestParams {... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/token_data.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TokenData {
#[serde(rename = "amount")]
p... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/filter_selector.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FilterSelector {
#[serde(rename = "memcmp", s... | 0 |
solana_public_repos/Lightprotocol/light-protocol/photon-api/src | solana_public_repos/Lightprotocol/light-protocol/photon-api/src/models/_get_multiple_compressed_account_proofs_post_request.rs | /*
* photon-indexer
*
* Solana indexer for general compression
*
* The version of the OpenAPI document: 0.45.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetMultipleCompressedAccountProofsPostRequest {
... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.