Skip to content

Commit

Permalink
add value to log
Browse files Browse the repository at this point in the history
  • Loading branch information
auryn-macmillan committed Mar 17, 2022
1 parent c6e7eaf commit 6aae71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/subgraph-base/src/pair.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export function handleSync(event: Sync): void {
log.info("gno reserves: {}", [pair.gnoReserves.toString()]);
// gno.balanceOf(pair) / pair.totalSupply()
pair.ratio = pair.gnoReserves.div(ERC20.bind(event.address).totalSupply());
log.info("pair.ratio", [pair.ratio.toString()]);
log.info("pair.ratio: {}", [pair.ratio.toString()]);
const positions = pair.positions;
log.info("pair.positions: {}", [pair.positions.toString()]);
pair.previousRatio = pair.ratio;
Expand Down

0 comments on commit 6aae71f

Please sign in to comment.