Content
@
0 reply
0 recast
0 reaction
Youtpout
@youtpout
For the Scaling ethereum hackathon, I tried to implement a hook in stylus language. Due to certain limitations, I had to create a hook in solidity that acts as a proxt to call the contract created in stylus. I hope to be able to write a hook completely in stylus in the future. https://github.com/youtpout/stylus-hook
1 reply
0 recast
2 reactions
Haardik
@haardikkk
Amazing!
1 reply
0 recast
1 reaction
Youtpout
@youtpout
https://github.com/youtpout/stylus-hook/blob/1fa2106d89b22a27def9800cba0d604f86494507/uniswap/src/AirdropHook.sol#L95 The hook I created looked a lot like your demo tonight. Too bad I didn't see it before, though, so I wouldn't have been wrong about the swap direction.
0 reply
0 recast
1 reaction