Skip to content

Commit

Permalink
update init
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJonaseb11 committed May 9, 2024
1 parent 7babb2d commit eeac34a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ADVANCING/Proposal.sol
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ contract ProposalContract {

function vote(uint8 choice) external {
Proposal storage proposal = proposal_history[counter];
uint256 total_vote = proposal.approve + proposal.reject + proposal.pass;
// uint256 total_vote = proposal.approve + proposal.reject + proposal.pass;
votedAddresses.push(msg.sender);

// validate with values[1, 2, 0]
Expand Down
23 changes: 23 additions & 0 deletions ADVANCING/film.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
const data1 = "Retrieving data.....";

const data2 = "Checking system security...";

const data3 = "System hacked successfully";

const data4 = "Money stolen successfully";

const data_1 = setTimeout(() => {
console.log(data1);
}, 1000);

const data_2 = setTimeout(() => {
console.log(data2);
}, 4000);

const data_3 = setTimeout(() => {
console.log(data3);
}, 7000);

const data_4 = setTimeout(() => {
console.log(data4);
}, 15000);

0 comments on commit eeac34a

Please sign in to comment.