-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add phone number sybil resistance endpoint for snapshot
- Loading branch information
1 parent
1c9fc0b
commit 978d806
Showing
3 changed files
with
135 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
import express from "express"; | ||
import { residesInUS, sybilResistance } from "../services/snapshot-strategies.js"; | ||
import { | ||
residesInUS, | ||
sybilResistanceGovId, | ||
sybilResistancePhone, | ||
} from "../services/snapshot-strategies.js"; | ||
|
||
const router = express.Router(); | ||
|
||
router.get("/residence/country/us", residesInUS); | ||
router.get("/sybil-resistance/gov-id", sybilResistance); | ||
router.get("/sybil-resistance/gov-id", sybilResistanceGovId); | ||
router.get("/sybil-resistance/phone", sybilResistancePhone); | ||
|
||
export default router; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters