github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/test/contracts/index.yaml (about)

     1  ---
     2  # This file contains the configuration for the `make compile-sc` command.
     3  # It will be read by the code under scripts/cmd/compilecs to compile and
     4  # generate go bindings for all the smart contracts required for our tests
     5  # and deployments. Internally, the code use docker containers for all its
     6  # operations, so that there is no need to install any additional tool
     7  # besides docker.
     8  
     9  # The configuration in this file is composed of a set of compile units, each
    10  # compile unit describes how to compile a solidity contract or set of them
    11  # under the same directory. They have the following fields:
    12  # * name: identifier of the compile unit, it can be the name of a smart
    13  #   contract or a directory containing more than one.
    14  # * solcVersion: tag to use for the ethereum/solc docker image to be used to
    15  #   compile the code
    16  # * inputPath: where to find the contract relative to test/contracts
    17  # * outputPath: where to put the compile and bindings generation results
    18  #   relative to test/contracts/bin
    19  #
    20  # The compile units are grouped into two sets:
    21  # * parallel: all the compile units under this key will be compiled in parallel
    22  # * sequential: all the compile units under this key will be compiled
    23  #   sequentially in the given order.
    24  
    25  compileUnits:
    26    parallel:
    27    - name: auto  # all the files under tests/contracts/auto will be compiled automatically
    28      solcVersion: 0.8.12-alpine
    29      inputPath: auto
    30      outputPath: "."
    31  
    32    sequential:
    33    - name: WETH
    34      solcVersion: 0.4.18
    35    - name: UniswapInterfaceMulticall
    36      solcVersion: 0.7.6-alpine
    37      inputPath: uniswap/v2/
    38      outputPath: uniswap/v2/interface/
    39    - name: UniswapV2ERC20
    40      solcVersion: 0.5.16-alpine
    41      inputPath: uniswap/v2/
    42      outputPath: uniswap/v2/core/
    43    - name: UniswapV2Factory
    44      solcVersion: 0.5.16-alpine
    45      inputPath: uniswap/v2/
    46      outputPath: uniswap/v2/core/
    47    - name: UniswapV2Pair
    48      solcVersion: 0.5.16-alpine
    49      inputPath: uniswap/v2/
    50      outputPath: uniswap/v2/core/
    51  
    52    - name: UniswapV2Migrator
    53      solcVersion: 0.6.6-alpine
    54      inputPath: uniswap/v2/
    55      outputPath: uniswap/v2/periphery/
    56    - name: UniswapV2Router02
    57      solcVersion: 0.6.6-alpine
    58      inputPath: uniswap/v2/
    59      outputPath: uniswap/v2/periphery/