Giter VIP home page Giter VIP logo

local-currency-contracts's People

Contributors

aaronmboyd avatar h34d avatar jbesraa avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

aaronmboyd

local-currency-contracts's Issues

Smart Contracts: Create roles

Owner - full control, updates, role management

Administrator - configuration

  • Control creation and allocation of roles
  • Emergency pause and withdraw from contract
  • This role will be given to the participating banks and they will be responsible for the key management of this address. A technical guide will be produced so they can perform this role if required.

Minter

  • Can mint BerkShares tokens on behalf of the participating banks (based on real-world deposits into the system)
  • No other administrative function
  • This role will be delegated to Neighborly to operate on the banks’ behalf

Burner

  • Can burn BerkShares tokens on behalf of the participating banks (based on real-world withdrawals from the system)
  • No other administrative function
  • This role will be delegated to Neighborly to operate on the banks’ behalf

Transactor

  • Can create payments between BerkShares wallet users
  • No other administrative function
  • This role will be delegated to Neighborly to operate on the banks’ behalf initially, but could in theory in the future be given to another entity for separation of concern or risk management

Public (default)

  • Read-only role for extracting statistics and data from the system

Smart Contract: Updateable Controller.sol

Make Controller.sol updateable as well as Wallet.sol (already implemented)

To migrate the existing wallets to the new contract (under current setup), simply initialise the new Controller.sol with the list of wallets extant on the old contract, and transferOwnership of each wallet to the new contract (everything else should work the same, except past logs will be gone).

From then on, make it a proxy with an implementation contract etc.

Smart Contracts: Local Currency Contracts

  • Create roles #17
  • Emergency pause / withdraw #16
  • Withdraw / burn currency #15
  • Deposit / mint currency #14
  • Create transaction #13
  • Get minting / burning statistics #12
  • Get users #11
  • Get transactions #10
  • Create users #9
  • Remove UBIReconciliationAccount #18
  • Update all interfaces #19
  • Update migrations script #20
  • Delete Authorization functionality #21
  • Turn off Demurrage functionality #22
  • Create community launch pool #37
  • Redemption fee #38

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.