Router compiler

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


Compiles UniswapV2Router02 contract


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 Router contract:

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

    Sends out the artifacts (abi, evm bytecode) of the copmiled Uniswap V2 Router contract.

  • error: {"error": string}

Last updated