Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes Week 10 & 11 #60

Merged
merged 11 commits into from
Aug 23, 2024
Merged

Conversation

Ronnieraj37
Copy link
Contributor

@Ronnieraj37 Ronnieraj37 commented Aug 15, 2024

Changes

Fixes - #47

Blockchain Changes

  • Optimized result calculators
  • Fixed CCIP vulnerability

Removed the ElectionFactory address as a parameter, as it could be manipulated by different users to drain CCIP tokens on our CCIP contract by creating cross-chain transactions to their own contracts.

  • Added CCIP to elections only if the election pays with Link tokens, making cross-chain votes accessible to elections that fund the CCIP contract with Link tokens

Integrated the following into the voting system on Front-end:

Frontend Changes

  • Added changes for funding CCIP sender contract with 25 Link tokens
  • Added a clipboard feature to copy and share election URL
  • Refactored CCIP-related code in other sections

Code live at -
https://agora-blockchain.vercel.app/

Image Samples:

Screenshot 2024-08-15 at 11 55 12 AM

@rajranjan0608 rajranjan0608 merged commit 0a3ff79 into AOSSIE-Org:main Aug 23, 2024
@Ronnieraj37 Ronnieraj37 mentioned this pull request Aug 28, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants