public static void LinkLibraries <TContractMessage>(this TContractMessage contractMessage, params ByteCodeLibrary[] byteCodeLibraries) where TContractMessage : ContractDeploymentMessage, new() { var libraryLinker = new ByteCodeLibraryLinker(); contractMessage.ByteCode = libraryLinker.LinkByteCode(contractMessage.ByteCode, byteCodeLibraries); }
public void EnsureByteCodeDoesNotContainPlaceholders(string byteCode) { ByteCodeLibraryLinker.EnsureDoesNotContainPlaceholders(byteCode); }