File tree 3 files changed +3
-269
lines changed
packages/plugin-solana-agentkit/src
3 files changed +3
-269
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,7 @@ export interface CreateTokenContent extends Content {
22
22
initialSupply : number ;
23
23
}
24
24
25
- function isCreateTokenContent (
26
- runtime : IAgentRuntime ,
27
- content : any
28
- ) : content is CreateTokenContent {
25
+ function isCreateTokenContent ( content : any ) : content is CreateTokenContent {
29
26
elizaLogger . log ( "Content for createToken" , content ) ;
30
27
return (
31
28
typeof content . name === "string" &&
@@ -94,7 +91,7 @@ export default {
94
91
} ) ;
95
92
96
93
// Validate transfer content
97
- if ( ! isCreateTokenContent ( runtime , content ) ) {
94
+ if ( ! isCreateTokenContent ( content ) ) {
98
95
elizaLogger . error ( "Invalid content for CREATE_TOKEN action." ) ;
99
96
if ( callback ) {
100
97
callback ( {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export const solanaAgentkitPlguin: Plugin = {
6
6
description : "Solana Plugin with solana agent kit for Eliza" ,
7
7
actions : [ createToken ] ,
8
8
evaluators : [ ] ,
9
- providers : [ , ] ,
9
+ providers : [ ] ,
10
10
} ;
11
11
12
12
export default solanaAgentkitPlguin ;
You can’t perform that action at this time.
0 commit comments