Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@exhausted-pigeon/uniswap-v3-forge-quoter
Advanced tools
Readme
Get a Uniswap V3 quote (amount of token received for an exact amount of token sent), by simulating the actual swap.
This contract is meant to be used within Forge test.
either npm i @exhausted-pigeon/uniswap-v3-forge-quoter
or forge install exhausted-pigeon-srl/uniswap-v3-foundry-quote
import "exhausted-pigeon/UniswapV3ForgeQuoter.sol";
contract MyTest is UniswapV3ForgeQuoter {
IUniswapV3Pool usdcEth5bps = IUniswapV3Pool(0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640);
address usdc = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;
address weth = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
function test_myTest() external {
uint256 _amountOut = getAmountOut(usdcEth5bps, 1 ether, weth);
}
}
FAQs
Uniswap V3 Forge Test Quoter
The npm package @exhausted-pigeon/uniswap-v3-forge-quoter receives a total of 23 weekly downloads. As such, @exhausted-pigeon/uniswap-v3-forge-quoter popularity was classified as not popular.
We found that @exhausted-pigeon/uniswap-v3-forge-quoter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.