-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Depoly test code on Sepolia. #343
Comments
|
Is there SwapRouter.sol address on Sepolia? |
1 similar comment
Is there SwapRouter.sol address on Sepolia? |
I found this thread through your post here and I would really like to speak with you. Smart Contract Description: The Arbitrage contract is an arbitrage contract that utilizes flash loans to perform arbitrage operations across different exchanges. It interacts with Aave V3 for flash loans and with Uniswap V3 and Sushiswap for token swaps. The main functionalities include: User Licensing: Allows users to purchase licenses that grant access to arbitrage operations. The contract defines different types of licenses with varying prices, loan amounts, and daily limits. Licenses include a referral reward structure where users can earn commissions by referring others. Flash Loans: Facilitates the execution of flash loans for arbitrage. The contract checks the validity of the user’s license and whether the daily arbitrage limit has been reached before initiating a flash loan. Utilizes the ILendingPool interface to request the loan and the executeOperation function to perform the arbitrage. Token Arbitrage: Conducts token swaps between Uniswap V3 and Sushiswap to exploit price differences and generate profit. The contract performs multiple swaps to maximize profit and ensure that the net profit covers the loan cost and associated fees. License Management: Allows the contract owner to pause or resume arbitrage operations for licensed users. Updates the contract's internal fund based on commissions received and processes referral rewards. Events and Debugging: Emits events to track arbitrage operations, internal fund changes, and license-related actions. Includes debugging events to monitor the state of assets, parameters, and operation calls. "I'm using the following data to attempt a flash loan, but when the execution reaches the Uniswap function, I encounter an error: Ethereum Sepolia Network _aaveLendingPool: 0x012bAC54348C0E635dCAc9D5FB99f06F24136C9A _uniswapRouter: 0x0227628f3F023bb0B980b67D528571c95c6DaC1c _sushiswapRouter: 0xeaBcE3E74EF41FB40024a21Cc2ee2F5dDc615791 _assetToTrade: 0xaA8E23Fb1079EA71e0a56F48a2aA51851D8433D0 _uniswapQuoter: 0xEd1f6473345F45b75F8179591dd5bA1888cf2FB3 wethAddress: 0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14 I'm not sure whether the issue lies with the Uniswap function or somewhere else in the process. |
Hi, is there any test contract deployed on Sepolia? the Goerli is deprecated. It is hard to test contract on Goerli.
The text was updated successfully, but these errors were encountered: