{"size": 796, "ext": "js", "max_stars_repo_path": "app/modules/accounts/server/rpc.js", "max_stars_repo_name": "verdverm/beset", "max_stars_repo_stars_event_min_datetime": "2018-03-13T18:41:07.000Z", "max_stars_repo_stars_event_max_datetime": "2018-03-29T14:10:38.000Z", "max_issues_repo_path": "app/modules/accounts/server/rpc.js", "max_issues_repo_name": "verdverm/bastet", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/modules/accounts/server/rpc.js", "max_forks_repo_name": "verdverm/bastet", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 5, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.5333333333, "max_line_length": 50, "alphanum_fraction": 0.6469849246}
import * as Accts from './lib';

export default {
  getAccounts: (netId) => {
    return Accts.getAccounts(netId);
  },
  getAccount: (netId, acctId) => {
    return Accts.getAccount(netId, acctId);
  },
  unlockAccount: (netId, acctId) => {
    console.log("Unlock - RPC", netId, acctId);
    return Accts.unlockAccount(netId, acctId);
  },
  lockAccount: (netId, acctId) => {
    return Accts.lockAccount(netId, acctId);
  },
  addAccount: (netId, name, location) => {
    return Accts.addAccount(name, location);
  },
  updateAccount: (netId, account) => {
    return Accts.updateAccount(account);
  },
  deleteAccount: (netId, acctId) => {
    return Accts.deleteAccount(netId, acctId);
  },
  setDefaultAccount: (netId, acctId) => {
    return Accts.setDefaultAccount(netId, acctId);
  },
}
