Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKurt committed Oct 2, 2024
1 parent dd33b7a commit 241e82c
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,21 @@ export function RoundInCart(
state.getVotingTokenForChain(props.roundCart[0]?.chainId)
);

console.log(
"potential votes: ",
props.roundCart.map((proj) => ({
roundId: getFormattedRoundId(round?.id ?? zeroAddress),
projectId: proj.projectRegistryId,
amount: parseUnits(
typeof proj.amount === "string" && proj.amount !== "NaN"
? proj.amount
: "0",
votingTokenForChain.decimals ?? 18
),
initAmount: proj.amount,
}))
);

const {
data: matchingEstimates,
error: matchingEstimateError,
Expand Down

0 comments on commit 241e82c

Please sign in to comment.