mirror of
https://github.com/grassrootseconomics/erc20-pool.git
synced 2024-11-21 11:46:47 +01:00
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:
parent
f812790610
commit
c38fb552e9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user