openethereum/js/src/DappRequests
Jaco Greeff 777bce8a13
Remove extraneous id hashing (#7269)
* Remove extraenous id hashing

* Update with latest js-shared
2017-12-12 12:09:24 +01:00
..
RequestGroups Fix/Update method permissions (#7233) 2017-12-07 15:10:54 +01:00
dappRequests.css Optimize & group dapp requests (#7083) 2017-11-21 15:50:38 +01:00
dappRequests.js Fix/Update method permissions (#7233) 2017-12-07 15:10:54 +01:00
index.js Test-drive extensions, status first 2017-09-01 14:29:57 +02:00
methodGroups.js Optimize & group dapp requests (#7083) 2017-11-21 15:50:38 +01:00
README.md Fix/Update method permissions (#7233) 2017-12-07 15:10:54 +01:00
store.js Remove extraneous id hashing (#7269) 2017-12-12 12:09:24 +01:00

Terminology used

To be clear with the terminology used in the code here:

  • a method is an allowed JSON-RPC api method or a shell method
  • a methodGroup is the grouping of similar methods (see methodGroups.js)
  • a permission is a boolean which tells if an app is allowed to call a method or not
  • a request is when an app prompts the shell to call a method
  • a requestGroup is a map of the following form
{
  appId1: {
    methodGroup1: [request1, request2] // This is a requestGroup sub-item
  },
  appId2: {
    methodGroup1: [request1]
    methodGroup2: [request3]
  },
  // ...
}