Twitter | Search | |
Marc 'aDai is Money' Zeller
Today I Learned (thx ) the concept of solidity fallback functions and that implemented them on their exchanges contracts, if we link that with some magic we obtain ENS address such as buykleros.eth (send any amount of eth and get PNK)
Reply Retweet Like More
Nodar.DeFi⚡️.eth Dec 30
We set this up for each Zap. E.g. You can send any amount of ETH to CHAIUnipool.DeFiZap.eth and become liquidity provider on Uniswap.
Reply Retweet Like
Marc 'aDai is Money' Zeller Dec 30
Simple and efficient. 😅 that's cool! 👏
Reply Retweet Like
stani.eth ’Lean DeFi’ Kulechov 👻 Dec 30
these ENS domains are becoming quite useful in the DeFi space. Above is especially helpful for newcomers.
Reply Retweet Like
Marc 'aDai is Money' Zeller Dec 30
I'm building a buyLEND.eth linked to 😅 a bit harder need to deploy a proxy contract.
Reply Retweet Like
Leo Morozovskii Dec 30
Figured that just couple of weeks ago too. Any idea of utilizing ENS to convert ERC20 back to ETH?
Reply Retweet Like
Marc 'aDai is Money' Zeller Dec 30
yes, I have a bit of work today but will write something ASAP, TL;DR custom mini-contract with fallback function that gets ERC20s, check allowance, then call tokenToEthTransferInput()
Reply Retweet Like
bZx Dec 31
Try sending ETH to dai.tokenloan.eth and it will borrow DAI from .
Reply Retweet Like
kain.eth Jan 1
Replying to @bzxHQ @lemiscate and 3 others
Lol thanks for the reminder I need to close out that loan!
Reply Retweet Like
Hayden Adams 🦄 Dec 30
Biggest issue at the moment is you can't set a limit on front running from slippage so its only good for smaller amounts. Once we have price feeds based on historical data in v2 you could have the transaction fail if it moves more than 2% from the 1 hour average, for example!
Reply Retweet Like
Hayden Adams 🦄 Dec 30
> you can't set a limit on front running from slippage Because there's no input parameters to fallback functions, if that was unclear
Reply Retweet Like