mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Update contracts/polygon/connectors/dexSimulation/main.sol
This commit is contained in:
parent
d042290248
commit
c7fd106eae
|
@ -32,7 +32,7 @@ abstract contract InstaDexSimulationResolver is Events, Helpers {
|
||||||
payable
|
payable
|
||||||
returns (string memory _eventName, bytes memory _eventParam)
|
returns (string memory _eventName, bytes memory _eventParam)
|
||||||
{
|
{
|
||||||
sellAmount = getUint(getId, buyAmount);
|
sellAmount = getUint(getId, sellAmount);
|
||||||
uint256 nativeAmount;
|
uint256 nativeAmount;
|
||||||
|
|
||||||
if (sellToken == maticAddr) {
|
if (sellToken == maticAddr) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user