generated from foundry-rs/hardhat-foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 216
/
nomad.wsd
46 lines (34 loc) · 825 Bytes
/
nomad.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
@startuml
interface INomadReplica {
' -- inheritance --
' -- usingFor --
' -- vars --
' -- methods --
+initialize()
+process()
+🔍acceptableRoot()
}
class Exploit_Nomad {
' -- inheritance --
{abstract}TestHarness
{abstract}TokenBalanceTracker
' -- usingFor --
' -- vars --
#{static}[[address]] NOMAD_DEPLOYER
#{static}[[address]] attacker
#{static}[[uint32]] ETHEREUM
#{static}[[uint32]] MOONBEAM
#{static}[[INomadReplica]] replicaProxy
#{static}[[INomadReplica]] replica
#{static}[[address]] bridgeRouter
#{static}[[address]] ercBridge
#{static}[[IERC20]] WBTC
' -- methods --
+setUp()
+test_attack()
+🔍getPayload()
}
' -- inheritance / usingFor --
Exploit_Nomad --[#DarkGoldenRod]|> TestHarness
Exploit_Nomad --[#DarkGoldenRod]|> TokenBalanceTracker
@enduml