Runtime_config.Ledgertype base = | Named of string | (* One of the named ledgers in |
| Accounts of Accounts.t | (* A ledger generated from the given accounts *) |
| Hash of string | (* The ledger with the given root hash *) |
val __bin_read_base__ : ( int -> base ) Core_kernel.Bin_prot.Read.readerval bin_read_base : base Core_kernel.Bin_prot.Read.readerval bin_reader_base : base Core_kernel.Bin_prot.Type_class.readerval bin_size_base : base Core_kernel.Bin_prot.Size.sizerval bin_write_base : base Core_kernel.Bin_prot.Write.writerval bin_writer_base : base Core_kernel.Bin_prot.Type_class.writerval bin_base : base Core_kernel.Bin_prot.Type_class.ttype t = {base : base; |
num_accounts : int option; |
balances : (int * Currency.Balance.Stable.Latest.t) list; |
hash : string option; |
name : string option; |
add_genesis_winner : bool option; |
}val __bin_read_t__ : ( int -> t ) Core_kernel.Bin_prot.Read.readerval bin_read_t : t Core_kernel.Bin_prot.Read.readerval bin_reader_t : t Core_kernel.Bin_prot.Type_class.readerval bin_size_t : t Core_kernel.Bin_prot.Size.sizerval bin_write_t : t Core_kernel.Bin_prot.Write.writerval bin_writer_t : t Core_kernel.Bin_prot.Type_class.writerval bin_t : t Core_kernel.Bin_prot.Type_class.tval to_json_layout : t -> Json_layout.Ledger.tval of_json_layout : Json_layout.Ledger.t -> ( t, string ) Core_kernel.Result.tval to_yojson : t -> Yojson.Safe.tval of_yojson : Yojson.Safe.t -> ( t, string ) Core_kernel.Result.t