Skip to content

Commit a1f1710

Browse files
committed
Added test for AccessControlIncompleteness Checker
1 parent 3489e5c commit a1f1710

File tree

4 files changed

+575
-0
lines changed

4 files changed

+575
-0
lines changed
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"policy": [
3+
{
4+
"sourceFunction": {
5+
"name": "lock",
6+
"events": [
7+
"PolyWrapperLock"
8+
]
9+
},
10+
"destinationFunction": {
11+
"name": "lock"
12+
}
13+
},
14+
{
15+
"sourceFunction": {
16+
"name": "onERC721Received",
17+
"events": [
18+
"LockEvent"
19+
]
20+
},
21+
"destinationFunction": {
22+
"name": "unlock"
23+
}
24+
},
25+
{
26+
"sourceFunction": {
27+
"name": "unlock",
28+
"events": [
29+
"UnlockEvent"
30+
]
31+
},
32+
"destinationFunction": {
33+
"name": "unlock"
34+
}
35+
},
36+
{
37+
"sourceFunction": {
38+
"name": "initGenesisBlock",
39+
"events": [
40+
"InitGenesisBlockEvent"
41+
]
42+
},
43+
"destinationFunction": {
44+
"name": "initGenesisBlock"
45+
}
46+
},
47+
{
48+
"sourceFunction": {
49+
"name": "changeBookKeeper",
50+
"events": [
51+
"ChangeBookKeeperEvent"
52+
]
53+
},
54+
"destinationFunction": {
55+
"name": "changeBookKeeper"
56+
}
57+
},
58+
{
59+
"sourceFunction": {
60+
"name": "crossChain",
61+
"events": [
62+
"CrossChainEvent"
63+
]
64+
},
65+
"destinationFunction": {
66+
"name": "crossChain"
67+
}
68+
},
69+
{
70+
"sourceFunction": {
71+
"name": "verifyHeaderAndExecuteTx",
72+
"events": [
73+
"VerifyHeaderAndExecuteTxEvent"
74+
]
75+
},
76+
"destinationFunction": {
77+
"name": "verifyHeaderAndExecuteTx"
78+
}
79+
},
80+
{
81+
"sourceFunction": {
82+
"name": "pause",
83+
"events": [
84+
"Paused"
85+
]
86+
},
87+
"destinationFunction": {
88+
"name": "pause"
89+
}
90+
},
91+
{
92+
"sourceFunction": {
93+
"name": "unpause",
94+
"events": [
95+
"Unpaused"
96+
]
97+
},
98+
"destinationFunction": {
99+
"name": "unpause"
100+
}
101+
},
102+
{
103+
"sourceFunction": {
104+
"name": "_executeCrossChainTx",
105+
"events": [
106+
"VerifyHeaderAndExecuteTxEvent"
107+
]
108+
},
109+
"destinationFunction": {
110+
"name": "verifyHeaderAndExecuteTx"
111+
}
112+
}
113+
]
114+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"TetherToken_label": 36
3+
}

0 commit comments

Comments
 (0)