-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorg-struct.json
More file actions
112 lines (112 loc) · 2.75 KB
/
org-struct.json
File metadata and controls
112 lines (112 loc) · 2.75 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"orgs": [
[
"org1",
{
"id": "org1",
"name": "My Org 1",
"enabled": true
}
]
],
"actors": [
[
"alice",
{
"id": "alice",
"name": "Alice",
"role": "Maker",
"orgId": "org1",
"enabled": true
}
],
[
"bob",
{
"id": "bob",
"name": "Bob",
"role": "Checker",
"orgId": "org1",
"enabled": true
}
]
],
"policies": [
[
"create-policy-id-1",
{
"id": "create-policy-id-1",
"name": "Create Policy",
"orgId": "org1",
"subOrgApplicability": false,
"wishKind": "TRANSFER_OUT",
"ruleIds": [
"create-policy-rule-id-1"
],
"controls": [
[
"create-policy-rule-id-1",
"create-policy-control-id-1"
]
],
"priority": 0,
"enabled": true,
"dynamic": false,
"createdAt": 1752047648656
}
]
],
"policyRules": [
[
"create-policy-rule-id-1",
{
"id": "create-policy-rule-id-1",
"name": "Create Policy Rule",
"expression": "ctx.wish.payload.amount <= 100",
"enabled": true
}
]
],
"policyControls": [
[
"create-policy-control-id-1",
{
"id": "create-policy-control-id-1",
"name": "Create Policy Control",
"config": {
"roles": [
"Checker"
],
"orgs": [
"org1"
],
"minApprover": 1,
"timeoutInSeconds": 300
}
}
]
],
"wallets": [
[
"btc-wallet-1",
{
"id": "btc-wallet-1",
"orgId": "org1",
"name": "My BTC Wallet",
"chain": "TESTNET",
"provider": "DFNS"
}
]
],
"wish": {
"id": "create-tft-out-wish-1",
"actorId": "alice",
"tgtOrgId": "org1",
"kind": "TRANSFER_OUT",
"payload": {
"fromWallet": "FromWalletId1",
"toWallet": "ToWalletId2",
"amount": "123"
}
}
}