repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | import type { PerpsRuntimeConfig } from "../config.js"; |
| #2 | export interface PhoenixPerpMarketView { |
| #3 | symbol: string; |
| #4 | markPrice?: number | null; |
| #5 | spotPrice?: number | null; |
| #6 | fundingRate?: number | null; |
| #7 | openInterest?: number | null; |
| #8 | status?: string | null; |
| #9 | } |
| #10 | export interface PhoenixRiseAdapter { |
| #11 | listMarkets(): Promise<PhoenixPerpMarketView[]>; |
| #12 | getTicker(symbol?: string): Promise<unknown>; |
| #13 | getOrderbook(symbol: string, depth?: number): Promise<unknown>; |
| #14 | getTraderSnapshot(authority?: string): Promise<unknown>; |
| #15 | getPositions(authority?: string): Promise<unknown>; |
| #16 | health(): Promise<unknown>; |
| #17 | } |
| #18 | export declare class ClawdPhoenixRiseAdapter implements PhoenixRiseAdapter { |
| #19 | private readonly config; |
| #20 | private readonly perps; |
| #21 | constructor(config: PerpsRuntimeConfig); |
| #22 | listMarkets(): Promise<PhoenixPerpMarketView[]>; |
| #23 | getTicker(symbol?: string): Promise<unknown>; |
| #24 | getOrderbook(symbol: string, depth?: number): Promise<unknown>; |
| #25 | getTraderSnapshot(authority?: string): Promise<unknown>; |
| #26 | getPositions(authority?: string): Promise<unknown>; |
| #27 | health(): Promise<unknown>; |
| #28 | } |
| #29 | export declare function createPhoenixRiseAdapter(config: PerpsRuntimeConfig): PhoenixRiseAdapter; |
| #30 |