Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
48 views

I'm trying to swap token in v4, but it got revert anyway. this is my code, i already approve erc20 -> permit2, then approver permit2 -> universal router, but it still got revert, i'm swapping ...
0 votes
0 answers
29 views

i write a code with chatgpt help for swapping tokens in web3.py in eth/usdc pool sepolia testnet. why? I’m testing a Uniswap v3 swap on the Sepolia testnet using Python and web3.py. Although the ...
Advice
0 votes
1 replies
62 views

this is the first time I encounter a swap issue, I'm lost about how Linux is supposed to behave. I have a RHEL virtual machine running a batch processing RAM intensive application (100+GB RAM, 1GB ...
849856487764's user avatar
5 votes
4 answers
247 views

I have a long string. In the string, I have two non-overlapping parts. They can have a gap between them. The lengths can be different. For example a string: This is a "foo", that is a "...
Karel Bílek's user avatar
  • 38.1k
1 vote
1 answer
232 views

While checking &other != this is generally not a good idea in move/copy assignment and the copy-and-swap idiom should be preferred, is it allowed for a swap to perform such a check? Copy-and-swap ...
5 votes
2 answers
182 views

Below is the most common implementation of std::swap: template<typename T> void std::swap(T& a, T& b) { auto tmp = std::move(a); a = std::move(b); b = std::move(...
4 votes
1 answer
86 views

We know that a swap object consists of a shared register and supports a swap operation between the shared register and any local register, which atomically exchanges the values of the two registers. A ...
0 votes
0 answers
75 views

Can it be an error in configuration or swap routing(may be because of partial fill?) that I've got too low output from 1inch aggregation router v6? Example of transaction: https://arbiscan.io/tx/...
0 votes
1 answer
124 views

I am developing a payment gateway on Solana and need to swap tokens programmatically using Node.js. Currently, I am testing SOL to USDC swaps with the Jupiter API. Everything works until generating ...
1 vote
2 answers
73 views

The following data frame is grouped by the id variable. For each id on variables X, Y, and Z, I wish to replace "no" with "yes" on the first row if and only if the specific id has &...
T Richard's user avatar
  • 707
0 votes
0 answers
61 views

Suppose I'm writing a class intended not just for my private use, but for others to use as well (e.g. it's exposed in a library I'm writing or modifying). Let's suppose also that it's not a singleton. ...
1 vote
0 answers
62 views

Context I have a file of binary logs and each log is 7 bytes. The first 4 bytes is a timestamp (writeUInt32BE), the following 1 byte is an indicator (num 1 or 2 using writeUInt8) and the last 2 bytes ...
4 votes
4 answers
269 views

Description Guru gave a task to his students. He gave a sentence, and the students have to swap the first and the last words and reverse all the characters between those words. Help the students ...
0 votes
0 answers
301 views

I’m working with a public GitHub repo (you can find it here: https://github.com/AL-THE-BOT-FATHER/raydium_py) that interacts with the Raydium decentralized exchange using Python. I’m trying to fetch ...
-4 votes
1 answer
73 views

this is my code for swapping 2 lines in DosBox assembly. I can not find out why is it printing the same thing from input.txt to out.txt. I think the problem is with line numbers (and user input). ...

15 30 50 per page
1
2 3 4 5
...
170

AltStyle によって変換されたページ (->オリジナル) /