Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume DEWISME
CI
Commits
a08e51e5
Commit
a08e51e5
authored
Mar 23, 2025
by
Quentin Hamitouche
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update contract version
parent
7f9938e8
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
Voting.json
frontend/src/contracts/Voting.json
+9
-2
contract.js
frontend/src/utils/contract.js
+1
-1
No files found.
frontend/src/contracts/Voting.json
View file @
a08e51e5
This diff is collapsed.
Click to expand it.
frontend/src/utils/contract.js
View file @
a08e51e5
...
...
@@ -2,7 +2,7 @@ import { ethers } from 'ethers';
import
VotingABI
from
'../contracts/Voting.json'
;
// Adresse du contrat déployé (à remplacer par votre adresse réelle après déploiement)
export
const
CONTRACT_ADDRESS
=
"0x
e7f1725E7734CE288F8367e1Bb143E90bb3F0512
"
;
export
const
CONTRACT_ADDRESS
=
"0x
5FbDB2315678afecb367f032d93F642f64180aa3
"
;
export
const
connectWallet
=
async
()
=>
{
try
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment