Content
@
0 reply
0 recast
2 reactions
Vinay Vasanji
@vinayvasanji.eth
Is there a programmatic way to mint tokens after sending USDC to a contract Basically mint X tokens everytime X USDC is sent (if you assume 1:1 mint ratio)
3 replies
0 recast
0 reaction
Tudor 🟣🟡
@tudorizer
i.e. like how most lending protocols wrap the token sent and auto send that to you?
1 reply
0 recast
0 reaction
Vinay Vasanji
@vinayvasanji.eth
Basically that but without being able to reverse it and also the USDC would goto a treasury wallet (and freely useable) instead of being wrapped
1 reply
0 recast
0 reaction
Tudor 🟣🟡
@tudorizer
I don’t see why this wouldn’t work, it does require some bespoke logic though.
1 reply
0 recast
0 reaction
Vinay Vasanji
@vinayvasanji.eth
Yes definitely workable, though am wondering if there's an off the shelf solution/contract out there than can already do this
0 reply
0 recast
1 reaction