Interface ContractStorer<T>

Type Parameters:
T - contracts type
All Known Subinterfaces:
ContractConverter<T>

public interface ContractStorer<T>
Defines how to store converted contracts to a byte array representation that can be stored to drive.
Since:
2.1.0
Author:
Marcin Grzejszczak
  • Method Summary

    Modifier and Type
    Method
    Description
    default Map<String,byte[]>
    store(T contracts)
    Stores the contracts as a map of filename and String.
  • Method Details

    • store

      default Map<String,byte[]> store(T contracts)
      Stores the contracts as a map of filename and String.
      Parameters:
      contracts - - to convert
      Returns:
      mapping of filename to converted byte array representation of the contract