{"size": 383, "ext": "js", "max_stars_repo_path": "client/util/models.js", "max_stars_repo_name": "TrueBitFoundation/scrypt-interactive", "max_stars_repo_stars_event_min_datetime": "2017-10-04T17:32:45.000Z", "max_stars_repo_stars_event_max_datetime": "2020-02-03T09:00:50.000Z", "max_issues_repo_path": "client/util/models.js", "max_issues_repo_name": "TrueBitFoundation/scrypt-interactive", "max_issues_repo_issues_event_min_datetime": "2017-09-27T14:31:54.000Z", "max_issues_repo_issues_event_max_datetime": "2018-02-10T20:12:23.000Z", "max_forks_repo_path": "client/util/models.js", "max_forks_repo_name": "TrueBitFoundation/scrypt-interactive", "max_forks_repo_forks_event_min_datetime": "2017-09-27T14:05:52.000Z", "max_forks_repo_forks_event_max_datetime": "2021-09-02T08:17:32.000Z"}
{"max_stars_count": 51, "max_issues_count": 71, "max_forks_count": 17, "avg_line_length": 18.2380952381, "max_line_length": 25, "alphanum_fraction": 0.5169712794}
module.exports = {
  toSession: (data) => ({
    lowStep: data[0],
    medStep: data[1],
    highStep: data[2],
    input: data[3],
    medHash: data[4],
  }),
  toResult: (data) => ({
    state: data[0],
    proof: data[1],
    stateHash: data[2],
  }),
  toClaim: (data) => ({
    claimant: data[0],
    plaintext: data[1],
    blockHash: data[2],
    proposalID: data[3],
  }),
}
