File tree Expand file tree Collapse file tree 3 files changed +2225
-4009
lines changed
Expand file tree Collapse file tree 3 files changed +2225
-4009
lines changed Original file line number Diff line number Diff line change 3636 "@ethersproject/bignumber" : " ^5.5.0" ,
3737 "@ethersproject/contracts" : " ^5.5.0" ,
3838 "@ethersproject/providers" : " ^5.5.3" ,
39- "@generationsoftware/pt-v5-utils-js" : " ^1.1.2 " ,
39+ "@generationsoftware/pt-v5-utils-js" : " ^1.1.4 " ,
4040 "@oclif/core" : " ^3" ,
4141 "@oclif/plugin-help" : " ^6" ,
4242 "@oclif/plugin-plugins" : " ^4" ,
4747 "lodash" : " ^4.17.0" ,
4848 "lodash.pickby" : " ^4.6.0" ,
4949 "piscina" : " ^3.2.0" ,
50- "spawn-promise" : " ^0.1.8" ,
51- "yarn" : " ^1.22.19"
50+ "spawn-promise" : " ^0.1.8"
5251 },
5352 "devDependencies" : {
5453 "@oclif/test" : " ^3" ,
6362 "shx" : " ^0.3.3" ,
6463 "ts-node" : " ^10.2.1" ,
6564 "tslib" : " ^2.3.1" ,
66- "typescript" : " ^4.4.3 "
65+ "typescript" : " ^4.9.5 "
6766 },
6867 "oclif" : {
6968 "bin" : " ptv5" ,
Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ export const getAllPrizeVaultsAndAccountsWithBalance = async (
2929
3030 // #4. Get a range of the oldest timestamp we want to start querying at to the current closed draw timestmap
3131 // for use in scoping depositors when querying the Graph
32- const afterTimestamp = prizePoolInfo . lastDrawClosedAt - maxTierPeriodSeconds ;
33- const beforeTimestamp = prizePoolInfo . lastDrawClosedAt ;
32+ const startTimestamp = prizePoolInfo . lastDrawClosedAt - maxTierPeriodSeconds ;
33+ const endTimestamp = prizePoolInfo . lastDrawClosedAt ;
3434
3535 // #5. Query and populate accounts for each vault
3636 prizeVaults = await populateSubgraphPrizeVaultAccounts (
3737 chainId ,
3838 prizeVaults ,
39- afterTimestamp ,
40- beforeTimestamp
39+ startTimestamp ,
40+ endTimestamp
4141 ) ;
4242
4343 const numAccounts = prizeVaults . reduce (
You can’t perform that action at this time.
0 commit comments