📅  最后修改于: 2022-03-11 15:03:34.140000             🧑  作者: Mango
import { INIT_CODE_HASH } from '../src/constants'
import { bytecode } from '@uniswap/v2-core/build/UniswapV2Pair.json'
import { keccak256 } from '@ethersproject/solidity'
const COMPUTED_INIT_CODE_HASH = keccak256(['bytes'], [`0x${bytecode}`])