Content pfp
Content
@
0 reply
0 recast
0 reaction

ross pfp
ross
@z0r0z
sending eth directly to buyusdc.eth gets you more usdc and saves about three dollars on gas versus swapping on any of the popular routers on mainnet. This is efficiency at a per-lego level. Zwaps should be simple. zwap contract: https://etherscan.io/address/0x00000000000066cb57f7066c1ee03752c015d8ac#code
4 replies
0 recast
16 reactions

Stephan pfp
Stephan
@stephancill
i just tried this and it's amazing. haven't read the contract yet - how easily does this generalize to other erc-20s?
1 reply
0 recast
1 reaction

ross pfp
ross
@z0r0z
nice lol. Adapting any output is easy. What you want to check is basically pool "token order". In terms of what you want to get out of sent ETH. Just affects the swap params (whether `zeroForOne` sent to pool is "true" or not) and the fallback receipt amount. If you have any tokens in mind, I can whip a gist quick.
2 replies
0 recast
1 reaction

Stephan pfp
Stephan
@stephancill
nothing specific, just curious :)
0 reply
0 recast
1 reaction