...is also defined:
还定义了一种由客户端中继并包含在已挖掘区块中的新标准交易类型(scriptPubKey):
```
DUP HASH160 {20-byte-hash-value} EQUALVERIFY OP_EVAL
```
Which is redeemed by a standard scriptSig:
它由一个标准的scriptSig赎回:
```
...signatures...
...
#### getPoolAndSwapDirection
根据输入代币和中间代币信息,计算交易池子和交易方向。
```solidity
/// @notice Get the pool and swap direction for a given PathKey
/// @param params the given PathKey
/// @param currencyIn the input currency
/// @return poolKey the pool...