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 { Candle, State } from "./state.js"; |
| #2 | export interface WhaleActivity { |
| #3 | bias: "long" | "short" | "neutral"; |
| #4 | notional_lamports: number; |
| #5 | description: string; |
| #6 | } |
| #7 | export declare function rejectMainnet(rpcUrl: string): void; |
| #8 | export declare class SynthObserver { |
| #9 | private readonly rand; |
| #10 | private lastClose; |
| #11 | private candles; |
| #12 | private readonly windowSize; |
| #13 | constructor(seed?: number, startPrice?: number, windowSize?: number); |
| #14 | tick(now?: Date): { |
| #15 | candles: Candle[]; |
| #16 | whale_activity: WhaleActivity; |
| #17 | }; |
| #18 | } |
| #19 | export declare function observeFromHelius(rpcUrl: string, state: State, windowSize?: number): Promise<Candle[]>; |
| #20 | export declare function isStale(candles: Candle[], maxAgeSeconds?: number): boolean; |
| #21 | //# sourceMappingURL=observe.d.ts.map |