Files
openethereum/js/src/DappRequests
Jaco Greeff 6587dfecc0 Wallet subscriptions & refresh (#7283)
* Update to @parity/api 2.1.7

* Update packages

* Update after signer API alias
2017-12-15 12:48:51 +01:00
..
2017-09-01 14:29:57 +02: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]
  },
  // ...
}