@wzrd_sol/goat-plugin 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,67 @@
1
+ # @wzrd_sol/goat-plugin
2
+
3
+ GOAT SDK plugin for the [WZRD Liquid Attention Protocol](https://twzrd.xyz) on Solana. Gives GOAT agents 5 tools to run the server-witnessed inference earn loop and harvest CCM rewards — no deposit, no SOL required.
4
+
5
+ WZRD witnesses inference (the server calls the AI provider and grades quality), issues an execution receipt, and rewards verified contributions in CCM. Claims are gasless via a server relay.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @wzrd_sol/goat-plugin
11
+ ```
12
+
13
+ ## Quick start
14
+
15
+ ```typescript
16
+ import { wzrd } from "@wzrd_sol/goat-plugin";
17
+ import { getOnChainTools } from "@goat-sdk/adapter-vercel-ai";
18
+ import { solana } from "@goat-sdk/wallet-solana";
19
+
20
+ const tools = await getOnChainTools({
21
+ wallet: solana({ connection, keypair }),
22
+ plugins: [wzrd()],
23
+ });
24
+ ```
25
+
26
+ ## Tools
27
+
28
+ All tools authenticate with the connected wallet via an Ed25519 challenge/verify handshake (token cached, auto-refreshed). None of them spend funds or sign a deposit.
29
+
30
+ | Tool | Description |
31
+ |------|-------------|
32
+ | `wzrd_earn` | Run the full earn cycle in one call: pick a model, run server-witnessed inference, report the outcome, and check pending rewards. Use `task_type` (`code` / `chat` / `reasoning`) or pass a custom `prompt`. |
33
+ | `wzrd_infer` | Run server-witnessed inference. The server calls the provider, grades quality, and returns an `execution_id` receipt. If no `model` is given it picks the top model from the momentum feed. |
34
+ | `wzrd_report` | Report a model pick with the `execution_id` from `wzrd_infer`. Verified reports earn CCM with a quality multiplier. |
35
+ | `wzrd_rewards` | Check pending CCM, lifetime total, and contribution count. |
36
+ | `wzrd_claim` | Claim accrued CCM via gasless relay. The server pays the transaction fee — the agent needs 0 SOL. |
37
+
38
+ Typical loop: `wzrd_earn` (or `wzrd_infer` → `wzrd_report`) to accrue, `wzrd_rewards` to inspect, `wzrd_claim` to harvest.
39
+
40
+ ## Configuration
41
+
42
+ ```typescript
43
+ // Override API URL (optional — defaults to https://api.twzrd.xyz)
44
+ const tools = await getOnChainTools({
45
+ wallet: solana({ connection, keypair }),
46
+ plugins: [wzrd({ apiUrl: "https://api.twzrd.xyz" })],
47
+ });
48
+ ```
49
+
50
+ Environment variable `WZRD_API_URL` is also respected if set.
51
+
52
+ ## Protocol
53
+
54
+ WZRD measures which open-source AI models are gaining developer attention (HuggingFace downloads, GitHub stars, OpenRouter usage, ArtificialAnalysis benchmarks). Verified inference against high-attention models earns more CCM. The oracle is live on Solana mainnet.
55
+
56
+ - **CCM Mint**: `Dxk8mAb3C7AM8JN6tAJfVuSja5yidhZM5sEKW3SRX2BM` (Token-2022, 9 decimals)
57
+
58
+ ## Links
59
+
60
+ - [WZRD Protocol](https://twzrd.xyz)
61
+ - [SDK](https://www.npmjs.com/package/@wzrd_sol/sdk)
62
+ - [OpenAPI](https://api.twzrd.xyz/openapi.json)
63
+ - [Agent Discovery](https://twzrd.xyz/llms.txt)
64
+
65
+ ## License
66
+
67
+ MIT
package/dist/index.d.mts CHANGED
@@ -4,39 +4,97 @@ import { SolanaWalletClient } from '@goat-sdk/wallet-solana';
4
4
  import { z } from 'zod';
5
5
 
6
6
  /**
7
- * WzrdApiClientshared API client used by all WZRD GOAT tools.
7
+ * WzrdClientWZRD API client for GOAT SDK plugins.
8
8
  *
9
- * Handles:
10
- * - Ed25519 challenge/verify authentication with the WZRD API
11
- * - Token caching with expiry-aware refresh
12
- * - Base URL resolution (env var or constructor param)
9
+ * Auth flow: challenge → sign (via GOAT SolanaWalletClient) → verify → Bearer token (24h TTL)
10
+ * Earn flow: infer report(execution_id) claim
13
11
  *
14
- * The GOAT wallet client provides the signing capability. We use tweetnacl
15
- * for Ed25519 signatures since the GOAT SolanaWalletClient exposes signMessage().
12
+ * Uses the GOAT wallet's signMessage() for Ed25519 signatures.
13
+ * No external dependencies beyond the GOAT wallet types.
16
14
  */
17
15
 
18
- interface WzrdApiClientOptions {
16
+ interface InferResult {
17
+ execution_id: string;
18
+ model: string;
19
+ provider: string;
20
+ quality_score: number;
21
+ response: string;
22
+ latency_ms: number;
23
+ prompt_tokens?: number;
24
+ completion_tokens?: number;
25
+ }
26
+ interface ReportResult {
27
+ contribution_id: number;
28
+ verification_state: string;
29
+ quality_score: number | null;
30
+ model_id: string;
31
+ }
32
+ interface RewardsBalance {
33
+ pending_ccm: number;
34
+ total_rewarded_ccm: number;
35
+ rank: number | null;
36
+ contribution_count: number;
37
+ }
38
+ interface ClaimResult {
39
+ tx_sig: string | null;
40
+ root_seq: number;
41
+ cumulative_total: number;
42
+ status: string;
43
+ }
44
+ interface LeaderboardResult {
45
+ market_count: number;
46
+ total_tvl: number;
47
+ root: {
48
+ root_seq: number;
49
+ };
50
+ markets: Array<{
51
+ market_id: number;
52
+ metric: string;
53
+ platform: string;
54
+ velocity_ema: number;
55
+ multiplier_bps: number;
56
+ snapshot_count: number;
57
+ }>;
58
+ }
59
+ interface WzrdClientOptions {
19
60
  apiUrl?: string;
20
61
  }
21
- declare class WzrdApiClient {
62
+ declare class WzrdClient {
22
63
  readonly apiUrl: string;
23
64
  private tokenCache;
24
- constructor(options?: WzrdApiClientOptions);
25
- /**
26
- * Authenticate with the WZRD API using the GOAT wallet client.
27
- *
28
- * Flow:
29
- * 1. GET /v1/agent/challengereceive nonce
30
- * 2. Sign canonical message with wallet's signMessage()
31
- * 3. POST /v1/agent/verifyreceive bearer token (24h TTL)
32
- *
33
- * Returns a cached bearer token if still valid.
34
- */
35
- authenticate(walletClient: SolanaWalletClient): Promise<string>;
65
+ constructor(options?: WzrdClientOptions);
66
+ /** Ed25519 challenge → sign → verify → Bearer token */
67
+ private authenticate;
68
+ /** Authenticated fetch helper */
69
+ private authedFetch;
70
+ /** Pick a model from the momentum signal returns top model name */
71
+ pickModel(taskType?: string): Promise<string>;
72
+ /** Server-witnessed inferenceWZRD calls the provider, grades quality */
73
+ infer(walletClient: SolanaWalletClient, prompt: string, model?: string, taskType?: string): Promise<InferResult>;
74
+ /** Report model pick with execution_id for verified rewards */
75
+ report(walletClient: SolanaWalletClient, params: {
76
+ model_id: string;
77
+ execution_id: string;
78
+ task_type?: string;
79
+ quality_score?: number;
80
+ latency_ms?: number;
81
+ }): Promise<ReportResult>;
82
+ /** Check pending + total rewards */
83
+ getRewards(walletClient: SolanaWalletClient): Promise<RewardsBalance>;
84
+ /** Gasless CCM claim via server relay */
85
+ claimRelay(walletClient: SolanaWalletClient): Promise<ClaimResult>;
86
+ /** Check claims status */
87
+ getClaimStatus(walletClient: SolanaWalletClient): Promise<{
88
+ cumulative_total: number;
89
+ claimed_total: number;
90
+ claimable: number;
91
+ }>;
92
+ /** Public: fetch leaderboard (no auth) */
93
+ getLeaderboard(limit?: number): Promise<LeaderboardResult>;
36
94
  }
37
95
 
38
96
  declare class WzrdPlugin extends PluginBase {
39
- constructor(options?: WzrdApiClientOptions);
97
+ constructor(options?: WzrdClientOptions);
40
98
  supportsChain: (chain: Chain) => chain is _goat_sdk_core.SolanaChain;
41
99
  }
42
100
  /**
@@ -44,58 +102,61 @@ declare class WzrdPlugin extends PluginBase {
44
102
  *
45
103
  * @param options.apiUrl - Override WZRD API URL (default: https://api.twzrd.xyz)
46
104
  */
47
- declare const wzrd: (options?: WzrdApiClientOptions) => WzrdPlugin;
105
+ declare const wzrd: (options?: WzrdClientOptions) => WzrdPlugin;
48
106
 
49
- declare const GetLeaderboardParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
50
- limit: z.ZodOptional<z.ZodNumber>;
51
- platform: z.ZodOptional<z.ZodString>;
107
+ declare const InferParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
108
+ prompt: z.ZodString;
109
+ model: z.ZodOptional<z.ZodString>;
110
+ task_type: z.ZodOptional<z.ZodEnum<["code", "chat", "reasoning"]>>;
52
111
  }, "strip", z.ZodTypeAny, {
53
- limit?: number | undefined;
54
- platform?: string | undefined;
112
+ prompt: string;
113
+ model?: string | undefined;
114
+ task_type?: "chat" | "code" | "reasoning" | undefined;
55
115
  }, {
56
- limit?: number | undefined;
57
- platform?: string | undefined;
116
+ prompt: string;
117
+ model?: string | undefined;
118
+ task_type?: "chat" | "code" | "reasoning" | undefined;
58
119
  }>>;
59
- declare class GetLeaderboardParameters extends GetLeaderboardParameters_base {
120
+ declare class InferParameters extends InferParameters_base {
60
121
  }
61
- declare const GetVelocitySignalParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
62
- platform: z.ZodOptional<z.ZodString>;
63
- min_signal: z.ZodOptional<z.ZodEnum<["BREAKOUT", "MOMENTUM", "EMERGING", "STABLE", "COOLING", "WEAK"]>>;
122
+ declare const ReportParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
123
+ model_id: z.ZodString;
124
+ execution_id: z.ZodString;
125
+ task_type: z.ZodOptional<z.ZodEnum<["code", "chat", "reasoning"]>>;
126
+ quality_score: z.ZodOptional<z.ZodNumber>;
127
+ latency_ms: z.ZodOptional<z.ZodNumber>;
64
128
  }, "strip", z.ZodTypeAny, {
65
- platform?: string | undefined;
66
- min_signal?: "BREAKOUT" | "MOMENTUM" | "EMERGING" | "STABLE" | "COOLING" | "WEAK" | undefined;
129
+ model_id: string;
130
+ execution_id: string;
131
+ task_type?: "chat" | "code" | "reasoning" | undefined;
132
+ quality_score?: number | undefined;
133
+ latency_ms?: number | undefined;
67
134
  }, {
68
- platform?: string | undefined;
69
- min_signal?: "BREAKOUT" | "MOMENTUM" | "EMERGING" | "STABLE" | "COOLING" | "WEAK" | undefined;
135
+ model_id: string;
136
+ execution_id: string;
137
+ task_type?: "chat" | "code" | "reasoning" | undefined;
138
+ quality_score?: number | undefined;
139
+ latency_ms?: number | undefined;
70
140
  }>>;
71
- declare class GetVelocitySignalParameters extends GetVelocitySignalParameters_base {
141
+ declare class ReportParameters extends ReportParameters_base {
72
142
  }
73
- declare const GetPortfolioParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
74
- declare class GetPortfolioParameters extends GetPortfolioParameters_base {
75
- }
76
- declare const DepositParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
77
- market_id: z.ZodNumber;
78
- amount_usdc: z.ZodNumber;
79
- priority_fee: z.ZodOptional<z.ZodNumber>;
143
+ declare const EarnParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
144
+ task_type: z.ZodOptional<z.ZodEnum<["code", "chat", "reasoning"]>>;
145
+ prompt: z.ZodOptional<z.ZodString>;
80
146
  }, "strip", z.ZodTypeAny, {
81
- market_id: number;
82
- amount_usdc: number;
83
- priority_fee?: number | undefined;
147
+ prompt?: string | undefined;
148
+ task_type?: "chat" | "code" | "reasoning" | undefined;
84
149
  }, {
85
- market_id: number;
86
- amount_usdc: number;
87
- priority_fee?: number | undefined;
150
+ prompt?: string | undefined;
151
+ task_type?: "chat" | "code" | "reasoning" | undefined;
88
152
  }>>;
89
- declare class DepositParameters extends DepositParameters_base {
153
+ declare class EarnParameters extends EarnParameters_base {
90
154
  }
91
- declare const ClaimParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
92
- execute: z.ZodOptional<z.ZodBoolean>;
93
- }, "strip", z.ZodTypeAny, {
94
- execute?: boolean | undefined;
95
- }, {
96
- execute?: boolean | undefined;
97
- }>>;
155
+ declare const ClaimParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
98
156
  declare class ClaimParameters extends ClaimParameters_base {
99
157
  }
158
+ declare const RewardsParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
159
+ declare class RewardsParameters extends RewardsParameters_base {
160
+ }
100
161
 
101
- export { ClaimParameters, DepositParameters, GetLeaderboardParameters, GetPortfolioParameters, GetVelocitySignalParameters, WzrdApiClient, type WzrdApiClientOptions, WzrdPlugin, wzrd };
162
+ export { ClaimParameters, type ClaimResult, EarnParameters, InferParameters, type InferResult, type LeaderboardResult, ReportParameters, type ReportResult, type RewardsBalance, RewardsParameters, WzrdClient, type WzrdClientOptions, WzrdPlugin, wzrd };
package/dist/index.d.ts CHANGED
@@ -4,39 +4,97 @@ import { SolanaWalletClient } from '@goat-sdk/wallet-solana';
4
4
  import { z } from 'zod';
5
5
 
6
6
  /**
7
- * WzrdApiClientshared API client used by all WZRD GOAT tools.
7
+ * WzrdClientWZRD API client for GOAT SDK plugins.
8
8
  *
9
- * Handles:
10
- * - Ed25519 challenge/verify authentication with the WZRD API
11
- * - Token caching with expiry-aware refresh
12
- * - Base URL resolution (env var or constructor param)
9
+ * Auth flow: challenge → sign (via GOAT SolanaWalletClient) → verify → Bearer token (24h TTL)
10
+ * Earn flow: infer report(execution_id) claim
13
11
  *
14
- * The GOAT wallet client provides the signing capability. We use tweetnacl
15
- * for Ed25519 signatures since the GOAT SolanaWalletClient exposes signMessage().
12
+ * Uses the GOAT wallet's signMessage() for Ed25519 signatures.
13
+ * No external dependencies beyond the GOAT wallet types.
16
14
  */
17
15
 
18
- interface WzrdApiClientOptions {
16
+ interface InferResult {
17
+ execution_id: string;
18
+ model: string;
19
+ provider: string;
20
+ quality_score: number;
21
+ response: string;
22
+ latency_ms: number;
23
+ prompt_tokens?: number;
24
+ completion_tokens?: number;
25
+ }
26
+ interface ReportResult {
27
+ contribution_id: number;
28
+ verification_state: string;
29
+ quality_score: number | null;
30
+ model_id: string;
31
+ }
32
+ interface RewardsBalance {
33
+ pending_ccm: number;
34
+ total_rewarded_ccm: number;
35
+ rank: number | null;
36
+ contribution_count: number;
37
+ }
38
+ interface ClaimResult {
39
+ tx_sig: string | null;
40
+ root_seq: number;
41
+ cumulative_total: number;
42
+ status: string;
43
+ }
44
+ interface LeaderboardResult {
45
+ market_count: number;
46
+ total_tvl: number;
47
+ root: {
48
+ root_seq: number;
49
+ };
50
+ markets: Array<{
51
+ market_id: number;
52
+ metric: string;
53
+ platform: string;
54
+ velocity_ema: number;
55
+ multiplier_bps: number;
56
+ snapshot_count: number;
57
+ }>;
58
+ }
59
+ interface WzrdClientOptions {
19
60
  apiUrl?: string;
20
61
  }
21
- declare class WzrdApiClient {
62
+ declare class WzrdClient {
22
63
  readonly apiUrl: string;
23
64
  private tokenCache;
24
- constructor(options?: WzrdApiClientOptions);
25
- /**
26
- * Authenticate with the WZRD API using the GOAT wallet client.
27
- *
28
- * Flow:
29
- * 1. GET /v1/agent/challengereceive nonce
30
- * 2. Sign canonical message with wallet's signMessage()
31
- * 3. POST /v1/agent/verifyreceive bearer token (24h TTL)
32
- *
33
- * Returns a cached bearer token if still valid.
34
- */
35
- authenticate(walletClient: SolanaWalletClient): Promise<string>;
65
+ constructor(options?: WzrdClientOptions);
66
+ /** Ed25519 challenge → sign → verify → Bearer token */
67
+ private authenticate;
68
+ /** Authenticated fetch helper */
69
+ private authedFetch;
70
+ /** Pick a model from the momentum signal returns top model name */
71
+ pickModel(taskType?: string): Promise<string>;
72
+ /** Server-witnessed inferenceWZRD calls the provider, grades quality */
73
+ infer(walletClient: SolanaWalletClient, prompt: string, model?: string, taskType?: string): Promise<InferResult>;
74
+ /** Report model pick with execution_id for verified rewards */
75
+ report(walletClient: SolanaWalletClient, params: {
76
+ model_id: string;
77
+ execution_id: string;
78
+ task_type?: string;
79
+ quality_score?: number;
80
+ latency_ms?: number;
81
+ }): Promise<ReportResult>;
82
+ /** Check pending + total rewards */
83
+ getRewards(walletClient: SolanaWalletClient): Promise<RewardsBalance>;
84
+ /** Gasless CCM claim via server relay */
85
+ claimRelay(walletClient: SolanaWalletClient): Promise<ClaimResult>;
86
+ /** Check claims status */
87
+ getClaimStatus(walletClient: SolanaWalletClient): Promise<{
88
+ cumulative_total: number;
89
+ claimed_total: number;
90
+ claimable: number;
91
+ }>;
92
+ /** Public: fetch leaderboard (no auth) */
93
+ getLeaderboard(limit?: number): Promise<LeaderboardResult>;
36
94
  }
37
95
 
38
96
  declare class WzrdPlugin extends PluginBase {
39
- constructor(options?: WzrdApiClientOptions);
97
+ constructor(options?: WzrdClientOptions);
40
98
  supportsChain: (chain: Chain) => chain is _goat_sdk_core.SolanaChain;
41
99
  }
42
100
  /**
@@ -44,58 +102,61 @@ declare class WzrdPlugin extends PluginBase {
44
102
  *
45
103
  * @param options.apiUrl - Override WZRD API URL (default: https://api.twzrd.xyz)
46
104
  */
47
- declare const wzrd: (options?: WzrdApiClientOptions) => WzrdPlugin;
105
+ declare const wzrd: (options?: WzrdClientOptions) => WzrdPlugin;
48
106
 
49
- declare const GetLeaderboardParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
50
- limit: z.ZodOptional<z.ZodNumber>;
51
- platform: z.ZodOptional<z.ZodString>;
107
+ declare const InferParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
108
+ prompt: z.ZodString;
109
+ model: z.ZodOptional<z.ZodString>;
110
+ task_type: z.ZodOptional<z.ZodEnum<["code", "chat", "reasoning"]>>;
52
111
  }, "strip", z.ZodTypeAny, {
53
- limit?: number | undefined;
54
- platform?: string | undefined;
112
+ prompt: string;
113
+ model?: string | undefined;
114
+ task_type?: "chat" | "code" | "reasoning" | undefined;
55
115
  }, {
56
- limit?: number | undefined;
57
- platform?: string | undefined;
116
+ prompt: string;
117
+ model?: string | undefined;
118
+ task_type?: "chat" | "code" | "reasoning" | undefined;
58
119
  }>>;
59
- declare class GetLeaderboardParameters extends GetLeaderboardParameters_base {
120
+ declare class InferParameters extends InferParameters_base {
60
121
  }
61
- declare const GetVelocitySignalParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
62
- platform: z.ZodOptional<z.ZodString>;
63
- min_signal: z.ZodOptional<z.ZodEnum<["BREAKOUT", "MOMENTUM", "EMERGING", "STABLE", "COOLING", "WEAK"]>>;
122
+ declare const ReportParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
123
+ model_id: z.ZodString;
124
+ execution_id: z.ZodString;
125
+ task_type: z.ZodOptional<z.ZodEnum<["code", "chat", "reasoning"]>>;
126
+ quality_score: z.ZodOptional<z.ZodNumber>;
127
+ latency_ms: z.ZodOptional<z.ZodNumber>;
64
128
  }, "strip", z.ZodTypeAny, {
65
- platform?: string | undefined;
66
- min_signal?: "BREAKOUT" | "MOMENTUM" | "EMERGING" | "STABLE" | "COOLING" | "WEAK" | undefined;
129
+ model_id: string;
130
+ execution_id: string;
131
+ task_type?: "chat" | "code" | "reasoning" | undefined;
132
+ quality_score?: number | undefined;
133
+ latency_ms?: number | undefined;
67
134
  }, {
68
- platform?: string | undefined;
69
- min_signal?: "BREAKOUT" | "MOMENTUM" | "EMERGING" | "STABLE" | "COOLING" | "WEAK" | undefined;
135
+ model_id: string;
136
+ execution_id: string;
137
+ task_type?: "chat" | "code" | "reasoning" | undefined;
138
+ quality_score?: number | undefined;
139
+ latency_ms?: number | undefined;
70
140
  }>>;
71
- declare class GetVelocitySignalParameters extends GetVelocitySignalParameters_base {
141
+ declare class ReportParameters extends ReportParameters_base {
72
142
  }
73
- declare const GetPortfolioParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
74
- declare class GetPortfolioParameters extends GetPortfolioParameters_base {
75
- }
76
- declare const DepositParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
77
- market_id: z.ZodNumber;
78
- amount_usdc: z.ZodNumber;
79
- priority_fee: z.ZodOptional<z.ZodNumber>;
143
+ declare const EarnParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
144
+ task_type: z.ZodOptional<z.ZodEnum<["code", "chat", "reasoning"]>>;
145
+ prompt: z.ZodOptional<z.ZodString>;
80
146
  }, "strip", z.ZodTypeAny, {
81
- market_id: number;
82
- amount_usdc: number;
83
- priority_fee?: number | undefined;
147
+ prompt?: string | undefined;
148
+ task_type?: "chat" | "code" | "reasoning" | undefined;
84
149
  }, {
85
- market_id: number;
86
- amount_usdc: number;
87
- priority_fee?: number | undefined;
150
+ prompt?: string | undefined;
151
+ task_type?: "chat" | "code" | "reasoning" | undefined;
88
152
  }>>;
89
- declare class DepositParameters extends DepositParameters_base {
153
+ declare class EarnParameters extends EarnParameters_base {
90
154
  }
91
- declare const ClaimParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
92
- execute: z.ZodOptional<z.ZodBoolean>;
93
- }, "strip", z.ZodTypeAny, {
94
- execute?: boolean | undefined;
95
- }, {
96
- execute?: boolean | undefined;
97
- }>>;
155
+ declare const ClaimParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
98
156
  declare class ClaimParameters extends ClaimParameters_base {
99
157
  }
158
+ declare const RewardsParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
159
+ declare class RewardsParameters extends RewardsParameters_base {
160
+ }
100
161
 
101
- export { ClaimParameters, DepositParameters, GetLeaderboardParameters, GetPortfolioParameters, GetVelocitySignalParameters, WzrdApiClient, type WzrdApiClientOptions, WzrdPlugin, wzrd };
162
+ export { ClaimParameters, type ClaimResult, EarnParameters, InferParameters, type InferResult, type LeaderboardResult, ReportParameters, type ReportResult, type RewardsBalance, RewardsParameters, WzrdClient, type WzrdClientOptions, WzrdPlugin, wzrd };