@Override public SolidityContract createExistingContractFromSrc( String soliditySrc, String contractName, byte[] contractAddress) { SolidityContractImpl contract = createContract(soliditySrc, contractName); contract.setAddress(contractAddress); return contract; }
@Override public SolidityContract submitNewContract(String soliditySrc, String contractName) { SolidityContractImpl contract = createContract(soliditySrc, contractName); submitNewTx( new PendingTx( new byte[0], BigInteger.ZERO, Hex.decode(contract.getBinary()), contract, null)); return contract; }
@Override public SolidityContract createExistingContractFromABI(String ABI, byte[] contractAddress) { SolidityContractImpl contract = new SolidityContractImpl(ABI); contract.setAddress(contractAddress); return contract; }