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 { Book } from "./state.js"; |
| #2 | export interface RalphConfig { |
| #3 | mode: "paper"; |
| #4 | network: "devnet"; |
| #5 | max_action_per_tick: number; |
| #6 | max_position_size_lamports: number; |
| #7 | loss_killswitch_consecutive: number; |
| #8 | goblin: boolean; |
| #9 | dark_defi_armed: boolean; |
| #10 | tick_sleep_ms: number; |
| #11 | model: string; |
| #12 | } |
| #13 | export type Decision = { |
| #14 | action: "hold"; |
| #15 | reason: string; |
| #16 | } | { |
| #17 | action: "open"; |
| #18 | side: "long" | "short"; |
| #19 | size_lamports: number; |
| #20 | reason: string; |
| #21 | } | { |
| #22 | action: "close"; |
| #23 | position_id: string; |
| #24 | reason: string; |
| #25 | }; |
| #26 | export interface ValidationResult { |
| #27 | ok: boolean; |
| #28 | decision: Decision; |
| #29 | violation?: string; |
| #30 | } |
| #31 | export declare function validate(raw: unknown, config: RalphConfig, book: Book): ValidationResult; |
| #32 | export declare function parseRalphConfig(markdownContent: string): RalphConfig; |
| #33 | //# sourceMappingURL=validate.d.ts.map |