Skip to content
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

Open
hydrogenbear opened this issue Apr 19, 2023 · 4 comments
Open

Depoly test code on Sepolia. #343

hydrogenbear opened this issue Apr 19, 2023 · 4 comments

Comments

@hydrogenbear
Copy link

Hi, is there any test contract deployed on Sepolia? the Goerli is deprecated. It is hard to test contract on Goerli.

@lispking
Copy link

lispking commented Aug 9, 2023


image

@jeftarmascarenhas
Copy link

Is there SwapRouter.sol address on Sepolia?

1 similar comment
@yudidi
Copy link

yudidi commented Aug 15, 2024

Is there SwapRouter.sol address on Sepolia?

@isanat
Copy link

isanat commented Sep 13, 2024

I found this thread through your post here and I would really like to speak with you.

https://sepolia.etherscan.io/tx/0x6aa3e5988940b8df91a2c1ae68b3e2dec77107d68a16732723f1794a5a756cc8#eventlog

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants