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

"Split 1 ETH to WBTC and USDC then send the USDC to vitalik.eth" #213

Open
dOrgJelli opened this issue Apr 15, 2024 · 0 comments
Open

"Split 1 ETH to WBTC and USDC then send the USDC to vitalik.eth" #213

dOrgJelli opened this issue Apr 15, 2024 · 0 comments

Comments

@dOrgJelli
Copy link
Contributor

dOrgJelli commented Apr 15, 2024

The below run has the following error Swap transactions were prepared, but USDC swap execution confirmation is required for proceeding with the transfer to vitalik.eth. Ensure swap transactions are executed and confirmed.

Maybe this could be solved through simulation of transactions, but other solutions could exist.

What do you want to do?: Split 1 ETH to WBTC and USDC then send the USDC to vitalik.eth
Connected to fork of MAINNET network.
Agent address: 0x3c41B85b7DA02De3739270BB1416b4b0dF61059b
No smart account connected, deploying a new one...
Smart account deployed: 0x74a1c03d901823d518d8C3b16a8860982B79E3F3
Sent 10 ETH to smart account for testing purposes
==================================================
Starting smart account balances:
ETH balance: 19.0
==================================================
Running AutoTx with the following prompt:  Split 1 ETH to WBTC and USDC then send the USDC to vitalik.eth
Prepared transaction: Buy wbtc with 0.5 eth
Prepared transaction: Buy usdc with 0.5 eth
Fetching USDC balance for 0x74a1c03d901823d518d8C3b16a8860982B79E3F3: 0.0 USDC
Swap transactions were prepared, but USDC swap execution confirmation is required for proceeding with the transfer to vitalik.eth. Ensure swap transactions are executed and confirmed. 
==================================================
Prepared transactions:
1. Swap 0.5 ETH for 0.02321853 WBTC (nonce: 1)
2. Swap 0.5 ETH for 1547.378195 USDC (nonce: 2)
Do you want to execute the above transactions?
Respond (y/n) or write feedback: y
Executing transactions...
Executed safe tx hash: 0xafff45f5db68c3ed1d899b4b14cbec28a784661f45c18c84899a0aff68a5cee8
Executed safe tx hash: 0xdb039d596782e5250b4283ea60869f9af18eac4d195795b7173920ee378d5d0a
Transactions executed.
==================================================
Final smart account balances:
ETH balance: 18.0
USDC balance: 1631.731615
WBTC balance: 0.02436718
==================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant