UNPKG

@paxoslabs/earn-sdk

Version:
14 lines (12 loc) 400 B
import { fetchVaultConfig } from './chunk-4URQP4CS.mjs'; // src/vaults/index.ts var getVaultByKey = async (vaultKey) => { const vaultConfig = await fetchVaultConfig(vaultKey); if (!vaultConfig) { throw new Error(`Vault key ${vaultKey} not found`); } return vaultConfig; }; export { getVaultByKey }; //# sourceMappingURL=chunk-DHTKSLVZ.mjs.map //# sourceMappingURL=chunk-DHTKSLVZ.mjs.map