git.delta.rocks / unique-network / refs/commits / 3f2c4d36d2e0

difftreelog

source

js-packages/scripts/benchmarks/nesting/abigen.ts441 Bsourcehistory
1import {runTypeChain, glob, DEFAULT_FLAGS} from 'typechain';234async function main() {5  const cwd = process.cwd();67  // find all files matching the glob8  const allFiles = glob(cwd, ['./ABI/*.abi']);910  await runTypeChain({11    cwd,12    filesToProcess: allFiles,13    allFiles,14    outDir: 'ABIGEN',15    target: 'web3-v1',16    flags: {...DEFAULT_FLAGS, alwaysGenerateOverloads: true, tsNocheck: false},17  });18}1920main().catch(console.error);