How do I parse the response stored in unbond_Response? I am trying to get unbonded_amount from the response. But, trying to get it like this - unbond_Response.unbonded_amount gives error. I know this is very simple, but, I cant figure out how to get the value. I see that response is stored in vec!. How to access these value?
so I haven’t played with this contract in particular.
but typically you use the ‘msg’ to send a message back to you with parameters you require…
so instead of basset::hub::Cw20HookMsg::Unbond, you’d make it send something to your contract with the things you want to see back (eg the amount you sent, or sender or something)