Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
carina-akaia committed Jan 16, 2025
1 parent 4eae4cf commit c397378
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ export const ProportionalFundingPayoutManager: React.FC<ProportionalFundingPayou
tokenId: NATIVE_TOKEN_ID,
});

// TODO: Upload to IPFS
const _payoutBreakdownJson = votingRoundResults.data
? JSON.stringify(votingRoundResults.data.winners)
: undefined;

const handlePayoutsSubmit = useCallback(() => {
if (votingRoundResults.data !== undefined && token !== undefined) {
submitPayouts({
Expand Down
5 changes: 0 additions & 5 deletions src/features/proportional-funding/model/effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ export type PayoutSubmitInputs = ByPotId & {
};

export const submitPayouts = ({ potId, tokenDecimals, recipients }: PayoutSubmitInputs) => {
// TODO: Handle IPFS upload
const payoutBreakdownJson = JSON.stringify(recipients);

console.log(payoutBreakdownJson);

return potContractClient.chef_set_payouts({
potId,

Expand Down

0 comments on commit c397378

Please sign in to comment.