From 8068d579cb758cff51a0680880e9d04ec2d60f79 Mon Sep 17 00:00:00 2001 From: Josh Levine Date: Wed, 27 May 2020 00:17:28 -0400 Subject: [PATCH] add json to migration abi requires --- .../dai-plugin-migrations/contracts/abiMap.js | 45 ++++++++++--------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/packages/dai-plugin-migrations/contracts/abiMap.js b/packages/dai-plugin-migrations/contracts/abiMap.js index 4916d8ebb..77deb90f8 100644 --- a/packages/dai-plugin-migrations/contracts/abiMap.js +++ b/packages/dai-plugin-migrations/contracts/abiMap.js @@ -1,25 +1,26 @@ // not run through babel, so we must use an ES5-safe export module.exports = { - TUB: require('./abis/SaiTub'), - MCD_END_1: require('./abis/End'), - MCD_VAT_1: require('./abis/Vat'), - GET_CDPS_1: require('./abis/GetCdps'), - CDP_MANAGER_1: require('./abis/DssCdpManager'), - MCD_DAI_1: require('./abis/Dai'), - MCD_POT_1: require('./abis/Pot'), - REDEEMER: require('./abis/Redeemer'), - MIGRATION: require('./abis/ScdMcdMigration'), - MIGRATION_PROXY_ACTIONS: require('./abis/MigrationProxyActions'), - OLD_CHIEF: require('./abis/DSChief'), - OLD_VOTE_PROXY_FACTORY: require('./abis/VoteProxyFactory'), - 'MCD_JOIN_*': require('./abis/GemJoin'), - PROXY_ACTIONS_END: require('./abis/DssProxyActionsEnd'), - SAI_CAGEFREE: require('./abis/CageFree'), - MCD_ESM: require('./abis/ESM'), - MCD_END: require('./abis/End'), - MCD_VAT: require('./abis/Vat'), - GET_CDPS: require('./abis/GetCdps'), - CDP_MANAGER: require('./abis/DssCdpManager'), - MCD_DAI: require('./abis/Dai'), - MCD_POT: require('./abis/Pot') + TUB: require('./abis/SaiTub.json'), + MCD_END_1: require('./abis/End.json'), + MCD_VAT_1: require('./abis/Vat.json'), + GET_CDPS_1: require('./abis/GetCdps.json'), + CDP_MANAGER_1: require('./abis/DssCdpManager.json'), + MCD_DAI_1: require('./abis/Dai.json'), + MCD_POT_1: require('./abis/Pot.json'), + MCD_END: require('./abis/End.json'), + MCD_VAT: require('./abis/Vat.json'), + GET_CDPS: require('./abis/GetCdps.json'), + CDP_MANAGER: require('./abis/DssCdpManager.json'), + MCD_DAI: require('./abis/Dai.json'), + MCD_POT: require('./abis/Pot.json'), + REDEEMER: require('./abis/Redeemer.json'), + MIGRATION: require('./abis/ScdMcdMigration.json'), + MIGRATION_PROXY_ACTIONS: require('./abis/MigrationProxyActions.json'), + OLD_CHIEF: require('./abis/DSChief.json'), + OLD_VOTE_PROXY_FACTORY: require('./abis/VoteProxyFactory.json'), + OLD_MKR: require('./abis/DSToken.json'), + 'MCD_JOIN_*': require('./abis/GemJoin.json'), + PROXY_ACTIONS_END: require('./abis/DssProxyActionsEnd.json'), + SAI_CAGEFREE: require('./abis/CageFree.json'), + MCD_ESM: require('./abis/ESM.json') };