Skip to content

Update Thorswap Aggregator Contracts

Ursa (9R) requested to merge ursa/agg-update into develop

The previous contracts were missing an approve in swapOut which was causing a revert, the following was added - address(weth).safeApprove(address(swapRouter), amount);. It also appears setOwner/setFee were switched from public to external for reduced gas usage, full diff at https://etherscan.io/contractdiffchecker?a2=0x0747c681e5ADa7936Ad915CcfF6cD3bd71DBF121&a1=0x96ab925efb957069507894cd941f40734f0288ad.

Merge request reports

Loading