... the pool since fees are deducted from position.collateral
// and collateral is treated as part of the pool
// 往抵押token池子中减少 根据fee计算出最小的数量
_decreasePoolAmount(_collateralToken, usdToTokenMin(_collateralToken, fee));
...
...entifier: MIT
// compiler version must be greater than or equal to 0.8.10 and less than 0.9.0
pragma solidity ^0.8.10;
contract HelloWorld {
string public greet = "Hello World!";
}
```
如果你已经迫不及待的想要成为一名智能合约开发者,那么以下列出的学习工...