1export const PROXY_TYPE = {
2 MANAGEMENT: 'MANAGEMENT',
8export const proxyTypeToHuman = proxyType => {
10 case PROXY_TYPE.MANAGEMENT:
12 case PROXY_TYPE.SPAWN:
14 case PROXY_TYPE.TRANSFER:
16 case PROXY_TYPE.VOTING:
19 throw new Error(`Unknown proxyType: ${proxyType}`);
23export const proxyTypeToHumanDescription = proxyType => {
25 case PROXY_TYPE.MANAGEMENT:
26 // TODO: is the below copy actually true?
27 return "The management address proves your point's identity to Arvo.";
28 case PROXY_TYPE.SPAWN:
29 return 'The spawn proxy is allowed to spawn points from this point.';
30 case PROXY_TYPE.TRANSFER:
31 return 'The transfer proxy is allowed to transfer this point.';
32 case PROXY_TYPE.VOTING:
33 return "The voting proxy is allowed to vote on this point's behalf.";
35 throw new Error(`Unknown proxyType: ${proxyType}`);
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list