...Percentage > 0 && feePercentage < 10000, "Fee percentage must be between 0 and 10000");
// Interface for the ERC20 token
IERC20 token = IERC20(tokenIn);
// Transfer tokens to this contract
require(token.transferFrom(msg.sender, address(this), amountIn), "transfe...
...adapter.
npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated...
...Out = numerator / denominator;
}
// given an output amount of an asset and pair reserves, returns a required input amount of the other asset
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) {
require(amountOut > 0, 'UniswapV2Library: I...
...ication) `solana-create-account` package
note: see more `Cargo.toml` keys and their definitions at *******************************************************
```
### 切换到项目目录
```bash
cd solana-create-account
```
### **列出当前目录内容**
```bash
ls
Cargo.toml src...