Content
@
0 reply
18 recasts
21 reactions
ross
@z0r0z
please clap
2 replies
0 recast
6 reactions
ross
@z0r0z
this is a continuation of my `zwaps` which are small contracts that convert ether into a chosen currency. In this case degen via univ3. By sending ether to 0x118d4F68A0C0aB9468A3Ef50D19C0055E6C73BC9 a swap is automatically activated and the degen is sent back (no extra fees). Everything is also very gas optimized.
2 replies
1 recast
0 reaction
ross
@z0r0z
A note on the optimization approach. In addition to using low-level assembly, since the contract interactions are largely opinionated and therefore trusted to work as intended, the focus of using crafted bytecode and a single contract to cater to very specific defi use cases will likely be an efficiency trend.
1 reply
0 recast
0 reaction
ross
@z0r0z
As well, on L2s, receiver functions that do very specific things like this 'degen zwap' will save loads of gas. This is because there is ZERO calldata involved. The biggest expense of L2 compute. Which is why this zwap cost a tenth of a cent probably ("free"):
0 reply
0 recast
0 reaction