@aiaiaichain/agent 0.1.5 → 0.1.7

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.
Files changed (121) hide show
  1. package/dist/api/ExtensionAPI.d.ts +0 -1
  2. package/dist/api/ExtensionAPI.js +3 -7
  3. package/dist/api/Registry.d.ts +0 -1
  4. package/dist/api/Registry.js +54 -57
  5. package/dist/cli.d.ts +0 -1
  6. package/dist/cli.js +684 -685
  7. package/dist/core/AgentDir.d.ts +1 -1
  8. package/dist/core/AgentDir.js +45 -39
  9. package/dist/core/ChainConfig.d.ts +0 -1
  10. package/dist/core/ChainConfig.js +51 -55
  11. package/dist/core/EnvLoader.d.ts +4 -1
  12. package/dist/core/EnvLoader.js +97 -84
  13. package/dist/core/SystemMonitor.d.ts +0 -1
  14. package/dist/core/SystemMonitor.js +72 -85
  15. package/dist/index.d.ts +0 -1
  16. package/dist/index.js +19 -26
  17. package/dist/loader.d.ts +0 -1
  18. package/dist/loader.js +64 -67
  19. package/dist/mcp/entry.d.ts +0 -1
  20. package/dist/mcp/entry.js +3 -6
  21. package/dist/mcp/server.d.ts +0 -1
  22. package/dist/mcp/server.js +152 -156
  23. package/dist/models/CostTracker.d.ts +0 -1
  24. package/dist/models/CostTracker.js +58 -61
  25. package/dist/models/ModelRegistry.d.ts +0 -1
  26. package/dist/models/ModelRegistry.js +195 -155
  27. package/dist/providers/ProviderRegistry.d.ts +0 -1
  28. package/dist/providers/ProviderRegistry.js +33 -36
  29. package/dist/runner/AgentRunner.d.ts +0 -1
  30. package/dist/runner/AgentRunner.js +180 -184
  31. package/dist/runner/ModelClient.d.ts +0 -1
  32. package/dist/runner/ModelClient.js +133 -134
  33. package/dist/runner/SwarmRouter.d.ts +0 -1
  34. package/dist/runner/SwarmRouter.js +18 -22
  35. package/dist/runner/ToolDispatcher.d.ts +0 -1
  36. package/dist/runner/ToolDispatcher.js +30 -33
  37. package/dist/scheduler/AgentScheduler.d.ts +0 -1
  38. package/dist/scheduler/AgentScheduler.js +99 -103
  39. package/dist/session/ContextStore.d.ts +1 -1
  40. package/dist/session/ContextStore.js +76 -78
  41. package/dist/session/GoalManager.d.ts +0 -1
  42. package/dist/session/GoalManager.js +96 -100
  43. package/dist/session/MemoryStore.d.ts +2 -1
  44. package/dist/session/MemoryStore.js +108 -87
  45. package/dist/session/SessionManager.d.ts +5 -4
  46. package/dist/session/SessionManager.js +83 -62
  47. package/dist/session/SessionStore.d.ts +0 -1
  48. package/dist/session/SessionStore.js +112 -116
  49. package/dist/setup/SetupWizard.d.ts +0 -1
  50. package/dist/setup/SetupWizard.js +61 -64
  51. package/dist/tools/CrossTools.d.ts +0 -1
  52. package/dist/tools/CrossTools.js +140 -144
  53. package/dist/tools/GmgnIntegration.d.ts +0 -1
  54. package/dist/tools/GmgnIntegration.js +220 -230
  55. package/dist/tools/MarketSentiment.d.ts +0 -1
  56. package/dist/tools/MarketSentiment.js +213 -195
  57. package/dist/tools/NewsSentiment.d.ts +0 -1
  58. package/dist/tools/NewsSentiment.js +126 -130
  59. package/dist/tools/PriceFeed.d.ts +6 -1
  60. package/dist/tools/PriceFeed.js +201 -133
  61. package/dist/tools/TechnicalAnalysis.d.ts +1 -2
  62. package/dist/tools/TechnicalAnalysis.js +248 -216
  63. package/dist/tools/TechnicalAnalysis.worker.d.ts +25 -0
  64. package/dist/tools/TechnicalAnalysis.worker.js +92 -0
  65. package/dist/tools/TokenCalendar.d.ts +0 -1
  66. package/dist/tools/TokenCalendar.js +63 -68
  67. package/dist/tools/TokenSecurityScanner.d.ts +0 -1
  68. package/dist/tools/TokenSecurityScanner.js +93 -96
  69. package/dist/tools/TransactionSim.d.ts +0 -1
  70. package/dist/tools/TransactionSim.js +65 -71
  71. package/dist/tui/App.d.ts +0 -1
  72. package/dist/tui/App.js +895 -824
  73. package/dist/tui/ModelSelector.d.ts +0 -1
  74. package/dist/tui/ModelSelector.js +46 -49
  75. package/dist/tui/REPL.d.ts +0 -1
  76. package/dist/tui/REPL.js +222 -210
  77. package/dist/tui/Sparkline.d.ts +0 -1
  78. package/dist/tui/Sparkline.js +36 -37
  79. package/dist/tui/StatusBar.d.ts +0 -1
  80. package/dist/tui/StatusBar.js +9 -10
  81. package/dist/tui/ThemePresets.d.ts +0 -1
  82. package/dist/tui/ThemePresets.js +99 -103
  83. package/dist/tui/theme.d.ts +0 -1
  84. package/dist/tui/theme.js +50 -31
  85. package/dist/util/clipboard.d.ts +0 -1
  86. package/dist/util/clipboard.js +16 -20
  87. package/dist/util/commandSuggest.d.ts +0 -1
  88. package/dist/util/commandSuggest.js +34 -38
  89. package/dist/util/confirmation.d.ts +0 -1
  90. package/dist/util/confirmation.js +8 -11
  91. package/dist/util/errorHandler.d.ts +0 -1
  92. package/dist/util/errorHandler.js +20 -23
  93. package/dist/util/errors.d.ts +59 -0
  94. package/dist/util/errors.js +93 -0
  95. package/dist/util/logger.d.ts +0 -1
  96. package/dist/util/logger.js +30 -33
  97. package/dist/util/processManager.d.ts +0 -1
  98. package/dist/util/processManager.js +33 -36
  99. package/dist/util/resilientFetch.d.ts +6 -1
  100. package/dist/util/resilientFetch.js +134 -80
  101. package/dist/util/responseCache.d.ts +0 -1
  102. package/dist/util/responseCache.js +36 -45
  103. package/dist/util/rpc.d.ts +16 -0
  104. package/dist/util/rpc.js +69 -0
  105. package/dist/util/safeLog.d.ts +0 -1
  106. package/dist/util/safeLog.js +52 -53
  107. package/dist/util/scheduler.d.ts +0 -1
  108. package/dist/util/scheduler.js +53 -58
  109. package/dist/util/webhooks.d.ts +0 -1
  110. package/dist/util/webhooks.js +54 -58
  111. package/dist/wallet/ActionFeed.d.ts +3 -3
  112. package/dist/wallet/ActionFeed.js +189 -187
  113. package/dist/wallet/AgentWallet.d.ts +9 -7
  114. package/dist/wallet/AgentWallet.js +121 -141
  115. package/dist/wallet/ProfitTracker.d.ts +0 -1
  116. package/dist/wallet/ProfitTracker.js +71 -74
  117. package/package.json +12 -7
  118. package/scripts/build-esbuild.mjs +40 -0
  119. package/scripts/bundle-dts.mjs +58 -0
  120. package/scripts/minify.mjs +44 -0
  121. package/scripts/postinstall.js +27 -0
@@ -1,193 +1,195 @@
1
- /**
2
- * ActionFeed — reads agent wallet activity via public RPC.
3
- * Only tracks AIAIAI token transfers. Classifies as buy or burn.
4
- * Fees are calculated as a percentage of each action.
5
- */
1
+
6
2
  import { Type } from "@sinclair/typebox";
7
3
  import { ACTION_WALLET, AIAIAI_MINT } from "./AgentWallet.js";
8
- import { resilientFetch } from "../util/resilientFetch.js";
4
+ import { rpcCall } from "../util/rpc.js";
9
5
  import { logger } from "../util/logger.js";
10
- function getRpcUrl() {
11
- return process.env.SOLANA_RPC_URL || "https://api.mainnet-beta.solana.com";
12
- }
13
- async function rpcCall(method, params = []) {
14
- const response = await resilientFetch(getRpcUrl(), {
15
- timeout: 15_000,
16
- retries: 2,
17
- method: "POST",
18
- headers: { "Content-Type": "application/json" },
19
- body: JSON.stringify({ jsonrpc: "2.0", id: 1, method, params }),
20
- });
21
- const data = await response.json();
22
- if (data.error)
23
- throw new Error(data.error.message || 'Unknown RPC error');
24
- return data.result;
25
- }
26
6
  export class ActionFeed {
27
- actions = [];
28
- lastSignature = "";
29
- lastFetch = 0;
30
- cacheDuration = 60_000;
31
- fees = { buyFees: 0, burnFees: 0, total: 0 };
32
- _price = 0.0004;
33
- async refresh() {
34
- if (Date.now() - this.lastFetch < this.cacheDuration)
35
- return;
36
- this.lastFetch = Date.now();
37
- try {
38
- const signatures = await rpcCall("getSignaturesForAddress", [
39
- ACTION_WALLET,
40
- { limit: 30 },
41
- ]);
42
- if (!signatures || signatures.length === 0)
43
- return;
44
- for (const sigInfo of signatures) {
45
- if (sigInfo.signature === this.lastSignature)
46
- break;
47
- await this.processTransaction(sigInfo.signature);
48
- }
49
- if (signatures.length > 0) {
50
- this.lastSignature = signatures[0].signature;
51
- }
52
- }
53
- catch (error) {
54
- logger.debug('ActionFeed', 'refresh failed', { error: error.message });
55
- }
56
- }
57
- async processTransaction(signature) {
58
- try {
59
- const tx = await rpcCall("getTransaction", [
60
- signature,
61
- { encoding: "jsonParsed", maxSupportedTransactionVersion: 0 },
62
- ]);
63
- if (!tx || !tx.meta)
64
- return;
65
- const preBalances = tx.meta.preTokenBalances ?? [];
66
- const postBalances = tx.meta.postTokenBalances ?? [];
67
- // Find AIAIAI balance changes for the action wallet
68
- for (const post of postBalances) {
69
- if (post.mint !== AIAIAI_MINT)
70
- continue;
71
- if (post.owner !== ACTION_WALLET)
72
- continue;
73
- const pre = preBalances.find((p) => p.accountIndex === post.accountIndex && p.mint === AIAIAI_MINT);
74
- const preAmt = pre ? parseFloat(pre.uiTokenAmount?.uiAmount ?? "0") : 0;
75
- const postAmt = parseFloat(post.uiTokenAmount?.uiAmount ?? "0");
76
- const diff = postAmt - preAmt;
77
- // Skip negligible changes
78
- if (Math.abs(diff) < 0.000001)
79
- continue;
80
- // Positive diff = tokens came IN = BUY
81
- // Negative diff = tokens went OUT = BURN
82
- const type = diff > 0 ? "buy" : "burn";
83
- const amount = Math.abs(diff);
84
- const usdValue = amount * this._price;
85
- // Fee: 0.5% of action value
86
- const fee = usdValue * 0.005;
87
- if (type === "buy") {
88
- this.fees.buyFees += fee;
89
- }
90
- else {
91
- this.fees.burnFees += fee;
92
- }
93
- this.fees.total = this.fees.buyFees + this.fees.burnFees;
94
- const action = {
95
- id: signature.slice(0, 8),
96
- type,
97
- amount,
98
- token: "AIAIAI",
99
- usdValue,
100
- timestamp: (tx.blockTime ?? Math.floor(Date.now() / 1000)) * 1000,
101
- signature,
102
- };
103
- this.actions.unshift(action);
104
- }
105
- // Keep only last 50
106
- if (this.actions.length > 50)
107
- this.actions = this.actions.slice(0, 50);
108
- }
109
- catch (error) {
110
- logger.debug('ActionFeed', 'Failed to parse tx', { error: error.message });
111
- }
112
- }
113
- setPrice(p) {
114
- if (p > 0)
115
- this._price = p;
116
- }
117
- getActions() {
118
- return [...this.actions];
119
- }
120
- getRecentActions(limit = 10) {
121
- return this.actions.slice(0, limit);
122
- }
123
- getFees() {
124
- return { ...this.fees };
125
- }
126
- getActionSummary() {
127
- const buys = this.actions.filter(a => a.type === "buy");
128
- const burns = this.actions.filter(a => a.type === "burn");
129
- return {
130
- buys: buys.length,
131
- burns: burns.length,
132
- totalBought: buys.reduce((s, a) => s + a.amount, 0),
133
- totalBurned: burns.reduce((s, a) => s + a.amount, 0),
134
- };
135
- }
136
- // ── Tools ───────────────────────────────────────────────────────────────
137
- getActionsParams = Type.Object({
138
- limit: Type.Optional(Type.Number({ description: "Number of recent actions", default: 10 })),
139
- });
140
- getFeesParams = Type.Object({});
141
- async getActionsTool(_id, params) {
142
- const limit = params.limit || 10;
143
- const actions = this.getRecentActions(limit);
144
- if (actions.length === 0) {
145
- return {
146
- content: [{
147
- type: "text",
148
- text: [
149
- "No agent buy/burn actions detected yet.",
150
- "",
151
- `Action wallet: ${ACTION_WALLET}`,
152
- "The agent buys and burns $AIAIAI. Actions appear here when detected on-chain.",
153
- ].join("\n"),
154
- }],
155
- };
156
- }
157
- const lines = actions.map(a => {
158
- const icon = a.type === "buy" ? "↗" : "🔥";
159
- const time = new Date(a.timestamp).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" });
160
- return ` ${icon} ${time} ${a.type.toUpperCase().padEnd(6)} ${a.amount.toLocaleString()} $AIAIAI ($${a.usdValue.toFixed(2)})`;
161
- });
162
- const summary = this.getActionSummary();
163
- return {
164
- content: [{
165
- type: "text",
166
- text: [
167
- `Agent Actions (last ${actions.length})`,
168
- ` Buys: ${summary.buys} (${summary.totalBought.toLocaleString()} $AIAIAI)`,
169
- ` Burns: ${summary.burns} (${summary.totalBurned.toLocaleString()} $AIAIAI)`,
170
- ``,
171
- ...lines,
172
- ].join("\n"),
173
- }],
174
- };
175
- }
176
- async getFeesTool() {
177
- const f = this.getFees();
178
- return {
179
- content: [{
180
- type: "text",
181
- text: [
182
- `Agent Fees (0.5% per action)`,
183
- ` Buy fees: $${f.buyFees.toFixed(4)}`,
184
- ` Burn fees: $${f.burnFees.toFixed(4)}`,
185
- ` ─────────────────────`,
186
- ` Total: $${f.total.toFixed(4)}`,
187
- ].join("\n"),
188
- }],
189
- };
190
- }
7
+ actions = [];
8
+ lastSignature = "";
9
+ lastFetch = 0;
10
+ cacheDuration = 60_000;
11
+ fees = { buyFees: 0, burnFees: 0, total: 0 };
12
+ _price = 0.0004;
13
+ async refresh() {
14
+ if (Date.now() - this.lastFetch < this.cacheDuration)
15
+ return;
16
+ this.lastFetch = Date.now();
17
+ try {
18
+ const signatures = await rpcCall("getSignaturesForAddress", [
19
+ ACTION_WALLET,
20
+ { limit: 30 },
21
+ ]);
22
+ if (!signatures || signatures.length === 0)
23
+ return;
24
+ for (const sigInfo of signatures) {
25
+ if (sigInfo.signature === this.lastSignature)
26
+ break;
27
+ await this.processTransaction(sigInfo.signature);
28
+ }
29
+ if (signatures.length > 0) {
30
+ this.lastSignature = signatures[0].signature;
31
+ }
32
+ }
33
+ catch (error) {
34
+ logger.debug('ActionFeed', 'refresh failed', { error: error.message });
35
+ }
36
+ }
37
+ async processTransaction(signature) {
38
+ try {
39
+ const tx = await rpcCall("getTransaction", [
40
+ signature,
41
+ { encoding: "jsonParsed", maxSupportedTransactionVersion: 0 },
42
+ ]);
43
+ if (!tx || !tx.meta)
44
+ return;
45
+
46
+ const innerInstructions = tx.meta.innerInstructions ?? [];
47
+ let buyAmount = 0;
48
+ let burnAmount = 0;
49
+ let hasAiaiaiMint = false;
50
+ for (const inner of innerInstructions) {
51
+ for (const ix of (inner.instructions ?? [])) {
52
+ const mint = ix.parsed?.info?.mint;
53
+ if (mint)
54
+ hasAiaiaiMint = true;
55
+
56
+ if (ix.parsed?.type === "transferChecked" &&
57
+ ix.parsed.info?.mint === AIAIAI_MINT) {
58
+ const amt = parseFloat(ix.parsed.info?.tokenAmount?.uiAmount ?? "0");
59
+ if (amt > 1)
60
+ buyAmount += amt;
61
+ }
62
+
63
+ if (ix.parsed?.type === "burnChecked" &&
64
+ ix.parsed.info?.mint === AIAIAI_MINT) {
65
+ const amt = parseFloat(ix.parsed.info?.tokenAmount?.uiAmount ?? "0");
66
+ if (amt > 0)
67
+ burnAmount += amt;
68
+ }
69
+ }
70
+ }
71
+
72
+ if (!hasAiaiaiMint && buyAmount === 0 && burnAmount === 0)
73
+ return;
74
+
75
+ if (buyAmount === 0 && burnAmount === 0) {
76
+ const preBalances = tx.meta.preTokenBalances ?? [];
77
+ const postBalances = tx.meta.postTokenBalances ?? [];
78
+ for (const post of postBalances) {
79
+ if (post.mint !== AIAIAI_MINT)
80
+ continue;
81
+ const pre = preBalances.find((p) => p.accountIndex === post.accountIndex && p.mint === AIAIAI_MINT);
82
+ const preAmt = pre ? parseFloat(pre.uiTokenAmount?.uiAmount ?? "0") : 0;
83
+ const postAmt = parseFloat(post.uiTokenAmount?.uiAmount ?? "0");
84
+ const diff = postAmt - preAmt;
85
+ if (Math.abs(diff) < 0.000001)
86
+ continue;
87
+ if (diff > 0)
88
+ buyAmount += diff;
89
+ else
90
+ burnAmount += Math.abs(diff);
91
+ }
92
+ }
93
+
94
+ if (buyAmount > 0) {
95
+ const usdValue = buyAmount * this._price;
96
+ const fee = usdValue * 0.005;
97
+ this.fees.buyFees += fee;
98
+ this.fees.total = this.fees.buyFees + this.fees.burnFees;
99
+ this.actions.unshift({
100
+ id: signature.slice(0, 10),
101
+ type: "buy", amount: buyAmount, token: "AIAIAI", usdValue,
102
+ timestamp: (tx.blockTime ?? Math.floor(Date.now() / 1000)) * 1000,
103
+ signature,
104
+ });
105
+ }
106
+ if (burnAmount > 0) {
107
+ const usdValue = burnAmount * this._price;
108
+ const fee = usdValue * 0.005;
109
+ this.fees.burnFees += fee;
110
+ this.fees.total = this.fees.buyFees + this.fees.burnFees;
111
+ this.actions.unshift({
112
+ id: signature.slice(0, 10) + "-b",
113
+ type: "burn", amount: burnAmount, token: "AIAIAI", usdValue,
114
+ timestamp: (tx.blockTime ?? Math.floor(Date.now() / 1000)) * 1000,
115
+ signature,
116
+ });
117
+ }
118
+
119
+ if (this.actions.length > 100) {
120
+
121
+ const keep = Math.ceil(this.actions.length * 0.8);
122
+ this.actions = this.actions.slice(0, Math.max(keep, 100));
123
+ }
124
+ }
125
+ catch (error) {
126
+ logger.debug('ActionFeed', 'Failed to parse tx', { error: error.message });
127
+ }
128
+ }
129
+ setPrice(p) {
130
+ if (p > 0)
131
+ this._price = p;
132
+ }
133
+ getActions() { return [...this.actions]; }
134
+ getRecentActions(limit = 10) { return this.actions.slice(0, limit); }
135
+ getFees() { return { ...this.fees }; }
136
+ getActionSummary() {
137
+ const buys = this.actions.filter(a => a.type === "buy");
138
+ const burns = this.actions.filter(a => a.type === "burn");
139
+ return {
140
+ buys: buys.length, burns: burns.length,
141
+ totalBought: buys.reduce((s, a) => s + a.amount, 0),
142
+ totalBurned: burns.reduce((s, a) => s + a.amount, 0),
143
+ };
144
+ }
145
+
146
+ getActionsParams = Type.Object({
147
+ limit: Type.Optional(Type.Number({ description: "Number of recent actions", default: 10 })),
148
+ });
149
+ getFeesParams = Type.Object({});
150
+ async getActionsTool(_id, params) {
151
+ const limit = params.limit || 10;
152
+ const actions = this.getRecentActions(limit);
153
+ if (actions.length === 0) {
154
+ return {
155
+ content: [{
156
+ type: "text",
157
+ text: [
158
+ "No buy/burn actions detected yet.",
159
+ `Action wallet: ${ACTION_WALLET.slice(0, 8)}…${ACTION_WALLET.slice(-6)}`,
160
+ "Actions appear when the agent buys and burns $AIAIAI via Pump.fun.",
161
+ ].join("\n"),
162
+ }],
163
+ };
164
+ }
165
+ const summary = this.getActionSummary();
166
+ const lines = [
167
+ `🔄 Recent Actions (${actions.length})`,
168
+ ` Buys: ${summary.buys} (${summary.totalBought.toLocaleString()} $AIAIAI)`,
169
+ ` Burns: ${summary.burns} (${summary.totalBurned.toLocaleString()} $AIAIAI)`,
170
+ "",
171
+ ...actions.map(a => {
172
+ const icon = a.type === "buy" ? "↗" : "🔥";
173
+ const time = new Date(a.timestamp).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" });
174
+ return ` ${icon} ${time} ${a.type.toUpperCase().padEnd(4)} ${a.amount.toLocaleString()} $AIAIAI ($${a.usdValue.toFixed(2)})`;
175
+ }),
176
+ ];
177
+ return { content: [{ type: "text", text: lines.join("\n") }] };
178
+ }
179
+ async getFeesTool() {
180
+ const f = this.getFees();
181
+ return {
182
+ content: [{
183
+ type: "text",
184
+ text: [
185
+ `💵 Agent Fees (0.5% per action)`,
186
+ ` Buy fees: $${f.buyFees.toFixed(4)}`,
187
+ ` Burn fees: $${f.burnFees.toFixed(4)}`,
188
+ ` ─────────────────────`,
189
+ ` Total: $${f.total.toFixed(4)}`,
190
+ ].join("\n"),
191
+ }],
192
+ };
193
+ }
191
194
  }
192
195
  export const actionFeed = new ActionFeed();
193
- //# sourceMappingURL=ActionFeed.js.map
@@ -8,12 +8,13 @@
8
8
  * Signer: GmFrDZT2cdrqykgTikVdXbe8EtCgzUDM9VsDhQnwsUsG (authority)
9
9
  */
10
10
  import type { ToolResult } from "../api/ExtensionAPI.js";
11
- export declare const COLD_WALLET = "A11iZoqEt6hU7HyggqC67ee4AtYmaJjwKCvJLerJRV2J";
12
- export declare const ACTION_WALLET = "BygDYM1ZXLQNC1HXLhnd1rHZ7E5XjioqT3vPjJFfjnU2";
13
- export declare const DEPOSIT_WALLET = "FBMDYpG9WXKy4SgxuATQdB2sCyzHsJWPrEr45z3TgL2e";
14
- export declare const SIGNER = "GmFrDZT2cdrqykgTikVdXbe8EtCgzUDM9VsDhQnwsUsG";
15
- export declare const AIAIAI_MINT = "AVPJS61gZmWKtaEpb7qYPKo8Fk2xQUsayYQxPiPMpump";
16
- export declare const AIAIAI_TOKEN = "AVPJS61gZmWKtaEpb7qYPKo8Fk2xQUsayYQxPiPMpump";
11
+ export declare const ACTION_WALLET: "GmFrDZT2cdrqykgTikVdXbe8EtCgzUDM9VsDhQnwsUsG";
12
+ export declare const HOT_WALLET: "BygDYM1ZXLQNC1HXLhnd1rHZ7E5XjioqT3vPjJFfjnU2";
13
+ export declare const DEPOSIT_WALLET: "FBMDYpG9WXKy4SgxuATQdB2sCyzHsJWPrEr45z3TgL2e";
14
+ export declare const COLD_WALLET: "A11iZoqEt6hU7HyggqC67ee4AtYmaJjwKCvJLerJRV2J";
15
+ export declare const SIGNER: "GmFrDZT2cdrqykgTikVdXbe8EtCgzUDM9VsDhQnwsUsG";
16
+ export declare const AIAIAI_MINT: "AVPJS61gZmWKtaEpb7qYPKo8Fk2xQUsayYQxPiPMpump";
17
+ export declare const AIAIAI_TOKEN: "AVPJS61gZmWKtaEpb7qYPKo8Fk2xQUsayYQxPiPMpump";
17
18
  export interface WalletBalance {
18
19
  address: string;
19
20
  sol: number;
@@ -23,6 +24,7 @@ export interface WalletBalance {
23
24
  export interface AgentWallets {
24
25
  cold: WalletBalance;
25
26
  action: WalletBalance;
27
+ hot: WalletBalance;
26
28
  deposit: WalletBalance;
27
29
  }
28
30
  export declare class AgentWallet {
@@ -34,10 +36,10 @@ export declare class AgentWallet {
34
36
  getActionWallet(): Promise<WalletBalance>;
35
37
  getDepositWallet(): Promise<WalletBalance>;
36
38
  getSolPrice(): Promise<number>;
39
+ getHotWallet(): Promise<WalletBalance>;
37
40
  getAgentBalanceParams: import("@sinclair/typebox").TObject<{}>;
38
41
  getDepositBalanceParams: import("@sinclair/typebox").TObject<{}>;
39
42
  getAgentBalanceTool(): Promise<ToolResult>;
40
43
  getDepositBalanceTool(): Promise<ToolResult>;
41
44
  }
42
45
  export declare const agentWallet: AgentWallet;
43
- //# sourceMappingURL=AgentWallet.d.ts.map