// Generated by IcedCoffeeScript 1.8.0-d
(function() {
  var constants, d, k, v, _ref;

  exports.constants = constants = {
    tags: {
      sig: "signature"
    },
    versions: {
      sig: 1
    },
    sig_types: {
      generic_binding: "generic_binding",
      web_service_binding: "web_service_binding",
      track: "track",
      auth: "auth",
      untrack: "untrack",
      revoke: "revoke",
      pgp_update: "pgp_update",
      update_passphrase_hash: "update_passphrase_hash",
      cryptocurrency: "cryptocurrency",
      announcement: "announcement",
      subkey: "subkey",
      sibkey: "sibkey",
      device: "device",
      eldest: "eldest"
    },
    proof_types: {
      none: 0,
      keybase: 1,
      twitter: 2,
      github: 3,
      reddit: 4,
      coinbase: 5,
      hackernews: 6,
      bitbucket: 7,
      generic_web_site: 1000,
      dns: 1001
    },
    expire_in: 60 * 60 * 24 * 365 * 5,
    http_timeout: 15 * 1000,
    short_id_bytes: 27,
    shortest_pgp_signature: 100,
    seq_types: {
      NONE: 0,
      PUBLIC: 1,
      PRIVATE: 2,
      SEMIPRIVATE: 3
    },
    v_codes: {
      NONE: 0,
      OK: 1,
      LOCAL: 2,
      FOUND: 3,
      BASE_ERROR: 100,
      HOST_UNREACHABLE: 101,
      PERMISSION_DENIED: 103,
      FAILED_PARSE: 106,
      DNS_ERROR: 107,
      AUTH_FAILED: 108,
      HTTP_500: 150,
      TIMEOUT: 160,
      BASE_HARD_ERROR: 200,
      NOT_FOUND: 201,
      CONTENT_FAILURE: 202,
      BAD_USERNAME: 203,
      BAD_REMOTE_ID: 204,
      TEXT_NOT_FOUND: 205,
      BAD_ARGS: 206,
      CONTENT_MISSING: 207,
      TITLE_NOT_FOUND: 208,
      SERVICE_ERROR: 209,
      TOR_SKIPPED: 210,
      TOR_INCOMPATIBLE: 211,
      HTTP_300: 230,
      HTTP_400: 240,
      HTTP_OTHER: 260,
      EMPTY_JSON: 270,
      DELETED: 301,
      SERVICE_DEAD: 302,
      BAD_SIGNATURE: 303
    },
    user_agent: "keybase-proofs/"
  };

  d = {};

  _ref = constants.proof_types;
  for (k in _ref) {
    v = _ref[k];
    d[v] = k;
  }

  exports.proof_type_to_string = d;

}).call(this);
