-
Notifications
You must be signed in to change notification settings - Fork 87
/
company.yaml
84 lines (84 loc) · 1.61 KB
/
company.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
id: company
tokens:
- ref: share
symbol: Share
name: Share Token
decimals: 18
apps:
- ref: shareholder-voting
type: voting
token: share
support: 50
acceptance: 5
duration: 604800
- ref: share-tm
type: token-manager
token: share
- type: finance
default: true
vault: agent
period: 2592000
- ref: agent
type: agent
default: true
actions:
- ref: mint-shares
name: MintTokens
params:
- token: share
amounts: "$SHARE_AMOUNTS"
to: "$SHARE_KEYS"
permissions:
- app: kernel
role: APP_MANAGER_ROLE
grantee: share-voting
manager: share-voting
- app: acl
role: CREATE_PERMISSIONS_ROLE
grantee: share-voting
manager: share-voting
- app: share-voting
role: CREATE_VOTES_ROLE
grantee: share-tm
manager: share-voting
- app: share-voting
role: MODIFY_QUORUM_ROLE
grantee: share-voting
manager: share-voting
- app: share-voting
role: MODIFY_SUPPORT_ROLE
grantee: share-voting
manager: share-voting
- app: agent
role: EXECUTE_ROLE
grantee: share-voting
manager: share-voting
- app: agent
role: RUN_SCRIPT_ROLE
grantee: share-voting
manager: share-voting
- app: agent
role: TRANSFER_ROLE
grantee: finance
manager: share-voting
- app: finance
role: CREATE_PAYMENTS_ROLE
grantee: share-voting
manager: share-voting
- app: finance
role: EXECUTE_PAYMENTS_ROLE
grantee: share-voting
manager: share-voting
- app: finance
role: MANAGE_PAYMENTS_ROLE
grantee: share-voting
manager: share-voting
- app: share-tm
role: BURN_ROLE
grantee: share-voting
manager: share-voting
- app: share-tm
role: MINT_ROLE
grantee: share-voting
manager: share-voting