I have a contract contains 4 .sol files and when I generate its bytecode and api as follows:
> solc --bin GreenToken.sol
> solc --abi GreenToken.sol
I receive:
======= BasicToken.sol:BasicToken =======
Binary:
6060604052341561000f57...
======= GreenToken.sol:GreenToken =======
Binary:
6060604052341561000f5760...
======= Ownable.sol:Ownable =======
Binary:
6060604052341561000f5760008...
======= SafeMath.sol:SafeMath =======
Binary:
604c602c600b82828239...
The smart contract contains these 4 .sol files
BasicToken.sol
, GreenToken.sol
, Ownable.sol
, SafeMath.sol
I receive also 4 api. The question is for deploying the contract I must use which bytecode and api ? In case, I have to use all of them how to merge ?