Skip to content

Commit

Permalink
style: format liquid stake
Browse files Browse the repository at this point in the history
  • Loading branch information
FWangZil committed Dec 27, 2024
1 parent fb07f35 commit 39b3f20
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
68 changes: 34 additions & 34 deletions packages/plugin-solana/package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
{
"name": "@elizaos/plugin-solana",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"dependencies": {
"@elizaos/core": "workspace:*",
"@elizaos/plugin-trustdb": "workspace:*",
"@elizaos/plugin-tee": "workspace:*",
"@coral-xyz/anchor": "0.30.1",
"@solana/spl-token": "0.4.9",
"@solana/web3.js": "1.95.8",
"@solana/spl-stake-pool": "1.1.8",
"@marinade.finance/marinade-ts-sdk": "^4.0.2",
"bignumber": "1.1.0",
"bignumber.js": "9.1.2",
"bs58": "6.0.0",
"fomo-sdk-solana": "1.3.2",
"node-cache": "5.1.2",
"pumpdotfun-sdk": "1.3.2",
"tsup": "8.3.5",
"vitest": "2.1.4"
},
"scripts": {
"build": "tsup --format esm --dts",
"dev": "tsup --format esm --dts --watch",
"lint": "eslint --fix --cache .",
"test": "vitest run"
},
"peerDependencies": {
"form-data": "4.0.1",
"whatwg-url": "7.1.0"
}
}
"name": "@elizaos/plugin-solana",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"dependencies": {
"@elizaos/core": "workspace:*",
"@elizaos/plugin-trustdb": "workspace:*",
"@elizaos/plugin-tee": "workspace:*",
"@coral-xyz/anchor": "0.30.1",
"@solana/spl-token": "0.4.9",
"@solana/web3.js": "1.95.8",
"@solana/spl-stake-pool": "1.1.8",
"@marinade.finance/marinade-ts-sdk": "^4.0.2",
"bignumber": "1.1.0",
"bignumber.js": "9.1.2",
"bs58": "6.0.0",
"fomo-sdk-solana": "1.3.2",
"node-cache": "5.1.2",
"pumpdotfun-sdk": "1.3.2",
"tsup": "8.3.5",
"vitest": "2.1.4"
},
"scripts": {
"build": "tsup --format esm --dts",
"dev": "tsup --format esm --dts --watch",
"lint": "eslint --fix --cache .",
"test": "vitest run"
},
"peerDependencies": {
"form-data": "4.0.1",
"whatwg-url": "7.1.0"
}
}
8 changes: 4 additions & 4 deletions packages/plugin-solana/src/actions/liquidStake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,13 +441,13 @@ export function createStakeExamples(config: StakeConfig): ActionExample[][] {
const createStakeTemplate = `Respond with a JSON markdown block containing only the extracted values. Use null for any values that cannot be determined.
Example response:
\\\`json
\`\`\`json
{
"userAddress": "HqvTPqS2FaB2fQ7mxqZHQHz6H28o1u2Z9fRH5No8JN2W",
"amountSol": "1.5",
"poolName": ""
}
\\\`
\`\`\`
{{recentMessages}}
Expand All @@ -462,12 +462,12 @@ Respond with a JSON markdown block containing only the extracted values.`;
const selectionPoolTemplate = `Respond with a JSON markdown block containing only the extracted values. Use null for any values that cannot be determined.
Example response:
\\\`json
\`\`\`
{
"selectedPool": "jpool",
"reason": ""
}
\\\`
\`\`\`
Given the pool data:
{{poolData}}
Expand Down

0 comments on commit 39b3f20

Please sign in to comment.