Skip to content

Commit

Permalink
update contract and abi
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Wei committed Nov 29, 2018
1 parent a5efb27 commit 86f6253
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
build
secret.js
app/.cache-loader
6 changes: 5 additions & 1 deletion app/app/service/voteHandler/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ export const abi = [
{
"name": "isRegistered",
"type": "bool"
},
{
"name": "number",
"type": "uint256"
}
],
"payable": false,
Expand Down Expand Up @@ -372,4 +376,4 @@ export const abi = [
"name": "refund",
"type": "event"
}
];
];
1 change: 1 addition & 0 deletions contracts/Election.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ contract Election {
uint vote;
string name;
bool isRegistered;
uint number;
}

address[] public candiatesList;
Expand Down

0 comments on commit 86f6253

Please sign in to comment.