-
Notifications
You must be signed in to change notification settings - Fork 26
/
wallet.wsd
58 lines (47 loc) · 1006 Bytes
/
wallet.wsd
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
@startuml
title Dapper Wallet - Component Diagram
sprite $key [16x16/16] {
FFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFF
FFF00FFFFFFFFFFF
FF00000000000FFF
FF000000000000FF
FFF00FFFFF0F0FFF
FFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFF
}
package "Smart Contract Wallet" as SCW {
node "Device Keys" {
' interface Ak1 <<$key>> as AK1
[DK1] <<$key>> as AK1
[DK2] <<$key>> as AK2
[DK3] <<$key>> as AK3
}
node "Recovery" {
[Recovery Key] <<$key>> as MK
}
}
package "User Cold Storage" as UCS {
[Backup Key] <<$key>> as BU
}
package "Cosigning Contract 1" as CS1 {
[-handleTransaction()] as V1
}
package "Recovery Transaction" {
[- Sets **Backup Key** as sole **Device Key**\n- Signed by **Recovery Key**] as P1
}
[Cosiging Key] <<$key>> as CS4
AK1 -down-> CS4
SCW <-down- V1
P1 -down-> MK
P1 -down-> BU
AK3 -down->CS1
@enduml