solidity-flattener icon indicating copy to clipboard operation
solidity-flattener copied to clipboard

A python utility to flatten Solidity code with imports into a single file.

Results 39 solidity-flattener issues
Sort by recently updated
recently updated
newest added

This contract has 14 files, no idea which one is the entry point: https://etherscan.io/address/0x44c3fab0ae93ac02ae7a218c51e8a0e5e64c34df#code please add ability to take multiple files as input, with one output. Not sure what etherscan.io...

Hi after run this command `solidity_flattener contracts/MyNFT.sol` ----------------------------------------------- unrecognised option '--ast' Traceback (most recent call last): File "/usr/local/bin/solidity_flattener", line 4, in flattener.core.main() File "/usr/local/lib/python3.9/site-packages/flattener/core.py", line 97, in main solc_proc.check_returncode() File...

can some one help me how to verify my source code on github.

On MacOS with latest OS. Upon running ```solidity_flattener SimpleToken.sol``` the following error is output: ```Traceback (most recent call last): File "/usr/local/bin/solidity_flattener", line 4, in flattener.core.main() File "/usr/local/lib/python3.7/site-packages/flattener/core.py", line 96, in...

I've tried a number of options, none of which allow specifying multiple solc-paths: `... --solc-paths="a=b,c=d"` `... --solc-paths="a=b;c=d"` `... --solc-paths="'a=b''c=d'"` `... --solc-paths="a=b c=d"` `... --solc-paths="a=b" --solc-paths="c=d"` (gets overriden) Better documentation or...

Using a command like `solidity_flattener mySource.sol` gets an error like: ``` Plouton.sol:5:1: Error: Source "introspection/SupportsInterfaceWithLookup.sol" not found: File not found. import "../../introspection/SupportsInterfaceWithLookup.sol"; ^-----------------------------------------------------------^ ERC721BasicToken.sol:5:1: Error: Source "math/SafeMath.sol" not found: File...

I have a solidity file named 'Manager.sol' for compiler version 0.5.1. First line of the file reads pragma solidity 0.5.1 However, while running I am getting the following error. ```...