Changed polymarket endpoint

This commit is contained in:
NunoSempere 2021-03-03 22:48:00 +01:00
parent 4adf97b504
commit a98d500b14

View File

@ -4,7 +4,7 @@ import axios from "axios"
import { calculateStars } from "./stars.js"
/* Definitions */
let graphQLendpoint = "https://subgraph-matic.poly.market/subgraphs/name/TokenUnion/polymarket"//"https://subgraph-backup.poly.market/subgraphs/name/TokenUnion/polymarket"//'https://subgraph-matic.poly.market/subgraphs/name/TokenUnion/polymarket3'
let graphQLendpoint = "https://api.thegraph.com/subgraphs/name/tokenunion/polymarket-matic"//"https://subgraph-matic.poly.market/subgraphs/name/TokenUnion/polymarket"//"https://subgraph-backup.poly.market/subgraphs/name/TokenUnion/polymarket"//'https://subgraph-matic.poly.market/subgraphs/name/TokenUnion/polymarket3'
let units = 10 ** 6
/* Support functions