pull/5370/head
yann300 7 months ago committed by GitHub
parent 6ddf9ab7eb
commit d3c47f72cd
  1. 12
      libs/remix-ws-templates/src/script-templates/create2-solidity-factory/index.ts

@ -1,8 +1,8 @@
export const contractCreate2Factory = async (plugin) => { export const contractCreate2Factory = async (plugin) => {
await plugin.call('fileManager', 'writeFile', await plugin.call('fileManager', 'writeFile',
'contracts/libs/create2-factory.sol' , 'contracts/libs/create2-factory.sol' ,
// @ts-ignore // @ts-ignore
(await import('!!raw-loader!./create2-factory.sol')).default) (await import('!!raw-loader!./create2-factory.sol')).default)
await plugin.call('fileManager', 'open', 'contracts/libs/create2-factory.sol') await plugin.call('fileManager', 'open', 'contracts/libs/create2-factory.sol')
} }

Loading…
Cancel
Save