...来说,下面的代码将无法编译。
```solidity
// This is ok and valid
event SomeEvent(function () external callableFunction);
// This will not compile
event AnotherEvent(function () internal someInternalParameter);
```
Solidity 事件的参数可以指定为`indexed`。在这...
...fee settings a pool can have: either a static swap fee or dynamic swap fee and if the hook has enabled swap or withdraw fees.
emit Initialize(id, key.currency0, key.currency1, key.fee, key.tickSpacing, key.hooks);
}
```
不过,里面有很多信息,我们需要一一拆解才能理解...