@@ -30,37 +30,37 @@ ghost prevstar(address, address) returns bool {
3030
3131// HOOKS
3232
33- hook Sstore currentContract .dll .head address newHead STORAGE {
33+ hook Sstore currentContract .dll .head address newHead {
3434 ghostHead = newHead ;
3535}
36- hook Sstore currentContract .dll .tail address newTail STORAGE {
36+ hook Sstore currentContract .dll .tail address newTail {
3737 ghostTail = newTail ;
3838}
3939
40- hook Sstore currentContract .dll .accounts [KEY address key ].next address newNext STORAGE {
40+ hook Sstore currentContract .dll .accounts [KEY address key ].next address newNext {
4141 ghostNext [key ] = newNext ;
4242}
4343
44- hook Sstore currentContract .dll .accounts [KEY address key ].prev address newPrev STORAGE {
44+ hook Sstore currentContract .dll .accounts [KEY address key ].prev address newPrev {
4545 ghostPrev [key ] = newPrev ;
4646}
47- hook Sstore currentContract .dll .accounts [KEY address key ].value uint256 newValue STORAGE {
47+ hook Sstore currentContract .dll .accounts [KEY address key ].value uint256 newValue {
4848 ghostValue [key ] = newValue ;
4949}
5050
51- hook Sload address head currentContract .dll .head STORAGE {
51+ hook Sload address head currentContract .dll .head {
5252 require ghostHead == head ;
5353}
54- hook Sload address tail currentContract .dll .tail STORAGE {
54+ hook Sload address tail currentContract .dll .tail {
5555 require ghostTail == tail ;
5656}
57- hook Sload address next currentContract .dll .accounts [KEY address key ].next STORAGE {
57+ hook Sload address next currentContract .dll .accounts [KEY address key ].next {
5858 require ghostNext [key ] == next ;
5959}
60- hook Sload address prev currentContract .dll .accounts [KEY address key ].prev STORAGE {
60+ hook Sload address prev currentContract .dll .accounts [KEY address key ].prev {
6161 require ghostPrev [key ] == prev ;
6262}
63- hook Sload uint256 value currentContract .dll .accounts [KEY address key ].value STORAGE {
63+ hook Sload uint256 value currentContract .dll .accounts [KEY address key ].value {
6464 require ghostValue [key ] == value ;
6565}
6666
0 commit comments