ApeWorX / ape-vyper

Vyper compiler plugin for the Ape Framework, using VVM
https://www.apeworx.io/
Apache License 2.0
25 stars 9 forks source link

feat: implement `get_compiler_settings()` API method #54

Closed sabotagebeats closed 1 year ago

sabotagebeats commented 1 year ago

What I did

added get_compiler_settings

More background: https://vyper.readthedocs.io/en/stable/compiling-a-contract.html#compiler-input-and-output-json-description

^ See the settings key in the JSON

How I did it

copied solidity with small changes

How to verify it

compilers.registered_compilers['.vy'].get_compiler_settings(project.source_paths,project.contracts_folder)

Checklist

sabotagebeats commented 1 year ago

TODO: (h/t @unparalleled-js for helping!)

  1. version
  2. base path
  3. vyper_binary

FINAL TODO: