コード例 #1
0
        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);
        }
コード例 #2
0
 public void EnsureByteCodeDoesNotContainPlaceholders(string byteCode)
 {
     ByteCodeLibraryLinker.EnsureDoesNotContainPlaceholders(byteCode);
 }