Function compileExtractCompare

  • Compile the contracts sources and compare the bytecode output with the on-chain one deployed at the given contractAddress.

    Returns

    True if the code matches, false otherwise.

    Parameters

    • web3: default
    • sources: Record<string, string>
    • solcVersion: string
    • contractName: string
    • contractFilename: string
    • contractAddress: string

    Returns Promise<boolean>

Generated using TypeDoc