weiroll / weiroll.js

A high-level javascript transpiler for weiroll
https://weiroll.github.io/weiroll.js/
MIT License
53 stars 10 forks source link

How to make use of subplans? #33

Open Fluffy9 opened 2 years ago

Fluffy9 commented 2 years ago

I've been playing around with this project and I really like it. I'm still not sure how subplans are meant to be used however. In the case of uniswap, it expects to send funds then call the address of a contract that implements the uniswapV2Call callback. I don't understand how subplans would satisfy that