Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
0 answers
639 views

How to Calculate Arbitrage Optimal amount in, in Uniswap v3 pools?

Let us assume that there is an arbitrage opportunity in uniswap v3 pools.Now I want to take a flash loan to make a swap in uniswap v3 pools.My doubt is how can I calculate the optimal amount in for ...
kumar's user avatar
  • 71
2 votes
1 answer
93 views

`ZIPPO_CONTEXT_INVALID` error when querying 0x goerli swap api quote endpoint

When querying the following endpoint and parameters: https://goerli.api.0x.org/swap/v1/quote?buyToken=0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee&sellAmount=1000000000000&sellToken=...
Luckydev's user avatar
2 votes
2 answers
1k views

Error: invalid signer or provider (argument="signerOrProvider", value={}, code=INVALID_ARGUMENT, version=contracts/5.7.0)

import { AlphaRouter } from "@uniswap/smart-order-router"; import { ethers, BigNumber } from "ethers"; // Import BigNumber from ethers import { Token, CurrencyAmount, TradeType, ...
Nilesh Nath's user avatar
0 votes
2 answers
436 views

Contract Address for Swap Router for Goerli ARB

Does anyone know an address or sanple address for Swap Router in Goerli Arbitrum Testnet Network? Like this sample in mumbai https://mumbai.polygonscan.com/address/...
Lloyd Ramos's user avatar
0 votes
1 answer
277 views

What is the difference between dYdX and other DEX?

I have been reading about dydx and didn't find any difference between dydx and other DEX. Please share some links where I can find the difference between dydx and other DEX.
Samresh Kumar Jha's user avatar
0 votes
0 answers
235 views

Best practice for using interface functions in the contract

I'm developing a DEX contract and trying to figure out what is the best way to use Solidity Interfaces. I did some research and found out there's multiple ways of using interfaces in smart contracts ...
M M's user avatar
  • 57
0 votes
1 answer
564 views

Can a mobile wallet like Trust be hacked using DEX?

I never shared my private keys or 12 words phrase with anyone. I users wallet generated by trustwallet only. I had 4000 plus BSW staked in biswap platform launchpool. When I saw that staking for bnb ...
user44922's user avatar