Skip to content

apbthere/smart-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solidity Smart Contracts

This repository contains several smart contracts I’m working on.

Contracts

1. Vote Contract

The Vote contract implements an election where registered voters can vote during a predefined time period. A voter can only vote once per ballot section and only during the election period. VoterToken is an ERC-721 NFT contract that doesn’t allow to transfer the ownership once token is minted soulbound NFT. It serves as a voter’s registry.

Unit tests cover 100% lines, functions and branches, but is it really unbreakable?

2. VoterToken

VoterToken is an ERC-721 NFT contract that doesn’t allow transferring ownership once the token is minted (soulbound NFT). It serves as a voter’s registry.

3. TimeLock

TimeLock is a multi-signature contract that allows users to submit arbitrary transactions for later consideration by others. Transaction information must include a timestamp at least MINIMUM_DELAY in the future and less than MAXIMUM_DELAY.

4. CommitReveal Contract

The CommitReveal contract implements a commit-reveal voting mechanism.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published