package
0.0.0-20240717054907-49ac26ede64e
Repository: https://github.com/cryptoriums/packages.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CompileSolidity compiles all given Solidity source files.
CompileSolidityString builds and returns all the contracts contained within a source string.
CompileVyper compiles all given Vyper source files.
DownloadSolc will download @solcVersion of the Solc compiler to tmp/solc directory.
DownloadVyper will download the vyper copmiler.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseCombinedJSON takes the direct output of a solc --combined-output run and parses it into a map of string contract name to Contract structs.
ParseVyperJSON takes the direct output of a vyper --f combined_json run and parses it into a map of string contract name to Contract structs.
SolidityVersion runs solc and parses its version output.
VyperVersion runs vyper and parses its version output.

# Structs

Contract contains information about a compiled contract, alongside its code and runtime code.
ContractInfo contains information about a compiled contract, including access to the ABI definition, source mapping, user and developer docs, and metadata.
Solidity contains information about the solidity compiler.
Vyper contains information about the vyper compiler.