All Projects → rootprojectco → backend

rootprojectco / backend

Licence: GPL-3.0 license
Smart Contracts

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to backend

svelte-box
A truffle box for svelte
Stars: ✭ 60 (+400%)
Mutual labels:  truffle
SOMns
SOMns: A Newspeak for Concurrency Research
Stars: ✭ 62 (+416.67%)
Mutual labels:  truffle
proof-of-existence
Ethereum Smart Contract to prove a document's existence at some point by storing and verifying its hash.
Stars: ✭ 22 (+83.33%)
Mutual labels:  truffle
mozart-graal
An implementation of Oz on top of Truffle and Graal
Stars: ✭ 37 (+208.33%)
Mutual labels:  truffle
trufflepig
🍄🐷Truffle contract artifact loading tool for local development
Stars: ✭ 45 (+275%)
Mutual labels:  truffle
solidity-contracts
📦 Resources for the Ethereum Smart Contract Development tutorial series.
Stars: ✭ 64 (+433.33%)
Mutual labels:  truffle
solcover
Code coverage for solidity
Stars: ✭ 64 (+433.33%)
Mutual labels:  truffle
ethane
A platform to create and distribute cryptotokens via Initial Coin Offerings (ICO)
Stars: ✭ 19 (+58.33%)
Mutual labels:  truffle
awesome-ethereum
一起学习以太坊
Stars: ✭ 60 (+400%)
Mutual labels:  truffle
dungeons-and-dragons-nft
#chainlink #nft
Stars: ✭ 583 (+4758.33%)
Mutual labels:  truffle
eth-plot
r/place inspired Dapp
Stars: ✭ 36 (+200%)
Mutual labels:  truffle
docker-eth-dev
Hacking together a containerized environment for Ethereum development with Truffle using Parity
Stars: ✭ 22 (+83.33%)
Mutual labels:  truffle
create-truffle-dapp
Create and deploy Truffle projects with no configuration.
Stars: ✭ 17 (+41.67%)
Mutual labels:  truffle
Blockchain
Recently started working on Blockchain technologies. This repo contains material related to Blockchain technologies. My current focus on dAPP development using Hyperledger.
Stars: ✭ 21 (+75%)
Mutual labels:  truffle
starter-kit-gsn
An OpenZeppelin starter kit focused on GSN.
Stars: ✭ 39 (+225%)
Mutual labels:  truffle
react-truffle-metamask
Build an DApp using react, redux, saga, truffle, metamask
Stars: ✭ 25 (+108.33%)
Mutual labels:  truffle
the-great-venus
🗿 The Great Venus (2018) - Turn-based web RPG based on Ethereum platform
Stars: ✭ 19 (+58.33%)
Mutual labels:  truffle
truffle-react-redux
Template for your next dapp with React and Redux
Stars: ✭ 20 (+66.67%)
Mutual labels:  truffle
Acria-Contracts
Contracts for the ETH/BSC branch of the Acria Network
Stars: ✭ 31 (+158.33%)
Mutual labels:  truffle
circleci-ethereum
CI/CD for Ethereum Smart Contracts with CircleCI and Truffle
Stars: ✭ 21 (+75%)
Mutual labels:  truffle

RootProject Contracts pre-alpha v0.1

RootProject is a crowdfunding platform for social projects powered by a crypto currency.

Website: https://rootproject.co Telegram: https://t.me/Rootproject E-mail: [email protected]

Smart Contracts

Smart Contract I: ProjectValidation - under construction.

Smart Contract II: PensionFundRelease - the "medium-term pension fund", as described in the RootProject whitepaper. The contract freezes funds for a custom period of time, and releases funds continously after the approval of validators.

Specification

Methods

vote

function vote(bool approve, string justification) onlyValidator returns (uint index)

Generates a vote for the fund to release or burn, and it's justification.


isReleaseApproved

function isReleaseApproved() constant returns (bool approved)

Checks if release approved by all validators.


isBurnApproved

function isBurnApproved() constant returns (bool approved)

Checks if burn approved by all validators.


getPaymentAmount

function getPaymentAmount() constant returns (uint amount)

Executes payment calculation.


balance

function balance() constant returns (uint amount)

Returns current fund balance in ROOTs.


releaseRoots

function releaseRoots() returns (uint releasedAmount)

Executes fund release.


Events

Voted

event Voted(bool approve, address validator, string justification)

Triggered when new vote is deployed.


Released

event Released(uint amount, address worker)

Triggered when fund is released.


Requirements

General:

  • Node.js v7.6.0+
  • truffle v3.2.2+
  • testrpc v3.0.5+

Requirements installation steps:

  • npm install -g truffle ethereumjs-testrpc
  • npm install
  • truffle install

Testing

To run the test, execute the following commands from the project's root folder:

  • testrpc &> /dev/null & npm test

Collaborators

License

All smart contracts are open source and distributed under the GNU GPL v.3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].