diff --git a/build.js b/build.js index 6dc3f9a..0e68fdd 100644 --- a/build.js +++ b/build.js @@ -24,6 +24,7 @@ fs.writeFile(__dirname + '/out/index.js', poolModule, (err) => { const poolList = JSON.stringify(pools.reduce((l, p) => { if (p.addresses) l[p.addresses['ROOT_CONTRACT']] = p + if (!p.addresses) l[p.metadata.slug] = p return l },{}))