7
7
} from "@solana/web3.js" ;
8
8
import BigNumber from "bignumber.js" ;
9
9
import { v4 as uuidv4 } from "uuid" ;
10
- import { TrustScoreDatabase } from "@ai16z/eliza/src /adapters/trustScoreDatabase.ts" ;
10
+ import { TrustScoreDatabase } from ".. /adapters/trustScoreDatabase.ts" ;
11
11
import { composeContext } from "@ai16z/eliza/src/context.ts" ;
12
12
import { generateObject } from "@ai16z/eliza/src/generation.ts" ;
13
13
import settings from "@ai16z/eliza/src/settings.ts" ;
@@ -20,12 +20,12 @@ import {
20
20
State ,
21
21
type Action ,
22
22
} from "@ai16z/eliza/src/types.ts" ;
23
- import { TokenProvider } from "@ai16z/eliza/src /providers/token.ts" ;
24
- import { TrustScoreProvider } from "@ai16z/eliza/src /providers/trustScoreProvider.ts" ;
23
+ import { TokenProvider } from ".. /providers/token.ts" ;
24
+ import { TrustScoreManager } from ".. /providers/trustScoreProvider.ts" ;
25
25
import {
26
26
walletProvider ,
27
27
WalletProvider ,
28
- } from "@ai16z/eliza/src /providers/wallet.ts" ;
28
+ } from ".. /providers/wallet.ts" ;
29
29
import { getTokenDecimals } from "./swapUtils.ts" ;
30
30
31
31
async function swapToken (
@@ -408,7 +408,7 @@ export const executeSwap: Action = {
408
408
solanaPubkey : walletPublicKey . toString ( ) ,
409
409
} ) ;
410
410
411
- const trustScoreDatabase = new TrustScoreProvider (
411
+ const trustScoreDatabase = new TrustScoreManager (
412
412
tokenProvider ,
413
413
trustScoreDb
414
414
) ;
@@ -438,7 +438,7 @@ export const executeSwap: Action = {
438
438
solanaPubkey : walletPublicKey . toString ( ) ,
439
439
} ) ;
440
440
441
- const trustScoreDatabase = new TrustScoreProvider (
441
+ const trustScoreDatabase = new TrustScoreManager (
442
442
tokenProvider ,
443
443
trustScoreDb
444
444
) ;
0 commit comments