This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
forked from Uniswap/v2-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
endpoint added for getpair in tokensList route and listenroute addpac…
…kageandcontrachash endpoint updated
- Loading branch information
1 parent
7e9f994
commit e6e556c
Showing
3 changed files
with
113 additions
and
16 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
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,10 +1,12 @@ | ||
function splitdata(data) | ||
{ | ||
var temp=data.split('('); | ||
var result=temp[1].split(')'); | ||
return result[0]; | ||
} | ||
// function splitdata(data) | ||
// { | ||
// var temp=data.split('('); | ||
// var result=temp[1].split(')'); | ||
// return result[0]; | ||
// } | ||
|
||
var date = new Date("2021-12-14T18:42:24.445Z"); | ||
var seconds = date.getTime(); | ||
console.log("time: ",seconds); | ||
// var date = new Date("2021-12-14T18:42:24.445Z"); | ||
// var seconds = date.getTime(); | ||
// console.log("time: ",seconds); | ||
let contractHash="F41eea03821F59de6a3d48161dA1ba267Fc4048B7d6761Cb18E80C5C68049388".toLowerCase(); | ||
console.log(contractHash); |