Commit 1f587ab3 authored by Kelvin Fichter's avatar Kelvin Fichter Committed by Kelvin Fichter

refactor: make token factory a predeploy

parent d5036826
import { ethers } from 'hardhat'
// eslint-disable-next-line prefer-arrow/prefer-arrow-functions
async function main() {
const l2TokenFactory = await ethers.getContractFactory(
'OVM_L2StandardTokenFactory'
)
const l2StandardTokenFactory = await l2TokenFactory.deploy()
console.log(
'L2 Standard Token Factory deployed to:',
l2StandardTokenFactory.address
)
}
main()
.then(() => process.exit(0))
.catch((error) => {
console.error(error)
process.exit(1)
})
......@@ -16,4 +16,5 @@ export const predeploys = {
OVM_GasPriceOracle: '0x420000000000000000000000000000000000000F',
OVM_L2StandardBridge: '0x4200000000000000000000000000000000000010',
OVM_SequencerFeeVault: '0x4200000000000000000000000000000000000011',
OVM_L2StandardTokenFactory: '0x4200000000000000000000000000000000000012',
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment