File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11import AaveFLTaker from "./forge-out/AaveFLTaker.sol/AaveFLTaker.json" assert { type : "json " } ;
22import BatchLiquidator from "./forge-out/BatchLiquidator.sol/BatchLiquidator.json" assert { type : "json " } ;
3- import Liquidator from "./forge-out/Liquidator .sol/Liquidator .json" assert { type : "json " } ;
3+ import AaveLiquidator from "./forge-out/AaveLiquidator .sol/AaveLiquidator .json" assert { type : "json " } ;
44import PriceHelper from "./forge-out/PriceHelper.sol/PriceHelper.json" assert { type : "json " } ;
5+ import GhoFMTaker from "./forge-out/GhoFMTaker.sol/GhoFMTaker.json" assert { type : "json " } ;
6+ import GhoLiquidator from "./forge-out/GhoLiquidator.sol/GhoLiquidator.json" assert { type : "json " } ;
57import { writeFileSync } from "node:fs" ;
68
79const address = "`0x${string}`" ;
810
911const bytecode = `export const AaveFLTaker_bytecode: ${ address } = "${ AaveFLTaker . bytecode . object } ";
12+ export const AaveLiquidator_bytecode: ${ address } = "${ AaveLiquidator . bytecode . object } ";
1013export const BatchLiquidator_bytecode: ${ address } = "${ BatchLiquidator . bytecode . object } ";
11- export const Liquidator_bytecode: ${ address } = "${ Liquidator . bytecode . object } ";
14+ export const GhoFMTaker_bytecode: ${ address } = "${ GhoFMTaker . bytecode . object } ";
15+ export const GhoLiquidator_bytecode: ${ address } = "${ GhoLiquidator . bytecode . object } ";
1216export const PriceHelper_bytecode: ${ address } = "${ PriceHelper . bytecode . object } ";
1317` ;
1418
Original file line number Diff line number Diff line change 5050 " dist"
5151 ],
5252 "scripts" : {
53- "clean" : " forge clean && rm -rf types dist" ,
53+ "clean" : " forge clean && rm -rf types ./ dist ./src/types/generated ./src/**/*.generated.ts " ,
5454 "build" : " forge build && yarn types && yarn abis && yarn bytecode && tsup" ,
5555 "types" : " typechain --target ethers-v6 --out-dir ./src/types/generated ./forge-out/*.sol/*.json" ,
5656 "forge-build" : " forge clean && forge build" ,
You can’t perform that action at this time.
0 commit comments