Closed 134dd3v closed 1 year ago
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Summary
This is a proposal to add a Quoter contract with interface similar to the existing Quoter contract just that the quote functions are view.
The contract in this PR was created simply by duplicating the existing quoter contract and replacing the try catch pool.swap logic with the simulate swap. Simulate library in v3-core repo which makes it feasible to have quotes under a staticcall / view function. This contract is tentatively named as QuoterV3 and it passes all the tests written for Quoter contract.
Rationale
Please lmk if any changes are required to be done in this PR.