UNPKG

@paxoslabs/earn-sdk

Version:
16 lines (13 loc) 441 B
'use strict'; var chunkNEVIH2LY_js = require('./chunk-NEVIH2LY.js'); // src/vaults/index.ts var getVaultByKey = async (vaultKey) => { const vaultConfig = await chunkNEVIH2LY_js.fetchVaultConfig(vaultKey); if (!vaultConfig) { throw new Error(`Vault key ${vaultKey} not found`); } return vaultConfig; }; exports.getVaultByKey = getVaultByKey; //# sourceMappingURL=chunk-7FQRRMLO.js.map //# sourceMappingURL=chunk-7FQRRMLO.js.map