pull/4726/head
yann300 7 months ago committed by GitHub
parent 65921db3dd
commit 74d9d464b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 14
      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