Skip to content

Solidity Smart Contracts for managing the permissions of users.

Notifications You must be signed in to change notification settings

atlaschain/contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atlaschain Smart Contracts

Solidity Smart Contracts for managing the permissions of users.

This repository consists on individual contracts to manage the permissions and admin rights of the users and departments.

Code is distributed into multiple contracts.

  1. atlaschain.sol
  2. GeoJson.sol
  3. Profile.sol
  4. ArrayUtils.sol

Profile.sol Every user has a profile which has his name and public key. An User has many subscriptions which are listed in his profile.

Department.sol Users are added to a department via add_member function. This will add the user to the department and subscribes to a new geojson contract.

GeoJson.sol A separate GeoJson contract exists for each user which has encrypted data that only he can decrypt.