feat: make getQuote a public function

* useful for 3rd part integration. No need to make a 2nd call to the quoter.
This commit is contained in:
Mohamed Sohail 2024-03-21 13:09:29 +08:00
parent f812790610
commit c38fb552e9
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D

View File

@ -119,7 +119,7 @@ contract SwapPool {
return fee;
}
function getQuote(address _outToken, address _inToken, uint256 _value) private returns (uint256) {
function getQuote(address _outToken, address _inToken, uint256 _value) public returns (uint256) {
bool r;
bytes memory v;
uint256 quote;