You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDK does not provide support for the txOrigin option to be passed in the API for the event whereby a smart contract interacts with the Augustus Swapper, and not an EOA. This is documented in the developer docs (with room for much expansion on documentation), however Swagger also doesn't have a txOrigin option.
Is the txOrigin actually required? If not, could all the documentation actually be updated?
The gas checking parameters create issues when simulating the transaction, as a smart contract interacting with Paraswap may have no ETH balance, and therefore the simulation fails.
The specific use case that I have is:
Keeper EOA that holds ETH. All transacitions originate from this EOA.
A smart contract with logic deployed on chain that integrates multiple liquidity sources (including paraswap). This smart contract is the one that calls paraswap, and it has no ETH balance.
So - how do I use Paraswap to achieve the above? I have managed to simulate some transactions however as a forked network for testing diverges from mainnet, it's difficult to know if the transactions that I've simulated correctly have succeeded out of chance, or out of correct logic.
The text was updated successfully, but these errors were encountered:
bogdoslavik
pushed a commit
to dystopia-exchange/paraswap-sdk
that referenced
this issue
May 14, 2022
SDK does not provide support for the txOrigin option to be passed in the API for the event whereby a smart contract interacts with the Augustus Swapper, and not an EOA. This is documented in the developer docs (with room for much expansion on documentation), however Swagger also doesn't have a txOrigin option.
txOrigin
actually required? If not, could all the documentation actually be updated?The specific use case that I have is:
So - how do I use Paraswap to achieve the above? I have managed to simulate some transactions however as a forked network for testing diverges from mainnet, it's difficult to know if the transactions that I've simulated correctly have succeeded out of chance, or out of correct logic.
The text was updated successfully, but these errors were encountered: