000-OVM_L2StandardTokenFactory.deploy.ts 494 Bytes
Newer Older
1
import { ethers } from 'hardhat'
2

3 4 5 6
// eslint-disable-next-line prefer-arrow/prefer-arrow-functions
async function main() {
  const l2TokenFactory = await ethers.getContractFactory(
    'OVM_L2StandardTokenFactory'
7
  )
8
  const l2StandardTokenFactory = await l2TokenFactory.deploy()
9

10 11 12 13
  console.log(
    'L2 Standard Token Factory deployed to:',
    l2StandardTokenFactory.address
  )
14 15
}

16 17 18 19 20 21
main()
  .then(() => process.exit(0))
  .catch((error) => {
    console.error(error)
    process.exit(1)
  })