Periphery compiler

[blockchain/ethereum/Uniswap/v2/Periphery compiler]


Compiles Uniswap V2 periphery contracts


Input ports

  • factory init hash: string

    Receives the value called 'INIT_HASH_CODE' that is shared between the Factory and the Router. This value can be retrieved from the Factory.

Output ports

  • compiled contracts:

    {string: {"abi": {string: any}[], "evm": {"bytecode": {"object": string}}}}

    Sends out the compiled artifacts (abi, evm bytecode) of Uniswap V2 Periphery entities (contracts, library, interfaces, ...).

  • error: {"error": string}

    Sends out any error that happened during compilation.

Last updated