File tree Expand file tree Collapse file tree 1 file changed +42
-9
lines changed
datasets/cross-chain/smartaxe/manually-labeled/PolyNetwork20210810 Expand file tree Collapse file tree 1 file changed +42
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "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+ },
336 {
437 "sourceFunction" : {
538 "name" : " initGenesisBlock" ,
4679 },
4780 {
4881 "sourceFunction" : {
49- "name" : " _executeCrossChainTx " ,
82+ "name" : " pause " ,
5083 "events" : [
51- " VerifyHeaderAndExecuteTxEvent "
84+ " Paused "
5285 ]
5386 },
5487 "destinationFunction" : {
55- "name" : " verifyHeaderAndExecuteTx "
88+ "name" : " pause "
5689 }
5790 },
5891 {
5992 "sourceFunction" : {
60- "name" : " pause " ,
93+ "name" : " unpause " ,
6194 "events" : [
62- " Paused "
95+ " Unpaused "
6396 ]
6497 },
6598 "destinationFunction" : {
66- "name" : " pause "
99+ "name" : " unpause "
67100 }
68101 },
69102 {
70103 "sourceFunction" : {
71- "name" : " unpause " ,
104+ "name" : " _executeCrossChainTx " ,
72105 "events" : [
73- " Unpaused "
106+ " VerifyHeaderAndExecuteTxEvent "
74107 ]
75108 },
76109 "destinationFunction" : {
77- "name" : " unpause "
110+ "name" : " verifyHeaderAndExecuteTx "
78111 }
79112 }
80113 ]
You can’t perform that action at this time.
0 commit comments