The data
field in cosmwasm_std::Response
is underused. We should use it more! Here's why.
Often we want to program contracts that do this:
- call another contract
- after the call is completed, handle the response and do some extra actions
For example,
- swap some token A to token B at Astroport