feat: add tool implementation

This commit is contained in:
Zhe
2024-12-22 19:28:49 +00:00
parent 761299e4f2
commit c675e18648
2 changed files with 41 additions and 2 deletions

View File

@@ -25,7 +25,8 @@ import {
stakeWithJup,
sendCompressedAirdrop,
createOrcaSingleSidedWhirlpool,
FEE_TIERS
FEE_TIERS,
pythFetchPrice
} from "../tools";
import { CollectionOptions, PumpFunTokenOptions } from "../types";
import { BN } from "@coral-xyz/anchor";
@@ -270,4 +271,8 @@ export class SolanaAgentKit {
tickSize,
)
}
async pythFetchPrice(priceFeedID: string) {
return pythFetchPrice(this, priceFeedID);
}
}