Esempio n. 1
0
 @Override
 public SolidityContract createExistingContractFromSrc(
     String soliditySrc, String contractName, byte[] contractAddress) {
   SolidityContractImpl contract = createContract(soliditySrc, contractName);
   contract.setAddress(contractAddress);
   return contract;
 }
Esempio n. 2
0
 @Override
 public SolidityContract createExistingContractFromABI(String ABI, byte[] contractAddress) {
   SolidityContractImpl contract = new SolidityContractImpl(ABI);
   contract.setAddress(contractAddress);
   return contract;
 }