Skip to content

Commit

Permalink
chore: use anchor address of project at the time of applying
Browse files Browse the repository at this point in the history
instead of the latest anchor address
  • Loading branch information
thelostone-mc committed Apr 26, 2024
1 parent d4e07b4 commit e0a3d1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/data-layer/src/data.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@ export type Application = {
totalAmountDonatedInUsd: number;
totalDonationsCount: string;
uniqueDonorsCount: number;
anchorAddress?: string;
round: {
strategyName: RoundPayoutType;
donationsStartTime: string;
Expand Down
1 change: 1 addition & 0 deletions packages/data-layer/src/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ export const getApplication = gql`
totalAmountDonatedInUsd
uniqueDonorsCount
totalDonationsCount
anchorAddress
round {
strategyName
donationsStartTime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function mapApplicationToProject(application: Application): Project {
projectMetadata: application.project.metadata,
status: application.status,
grantApplicationFormAnswers: application.metadata.application.answers ?? [],
anchorAddress: application.project.anchorAddress,
anchorAddress: application.anchorAddress,
};
}

Expand Down

0 comments on commit e0a3d1f

Please sign in to comment.