Skip to main content
4 events
when toggle format what by license comment
Apr 18, 2023 at 5:31 comment added Shubham Sharma @Henry Your purchase function is a state-changing function (not a view or pure function). This means that it will never return anything externally. You can try using events in this case.
Apr 18, 2023 at 0:28 comment added Henry The decoded output is just " - "
Apr 17, 2023 at 23:49 comment added Henry Thank you very much for the response! I was approving the wrong coin, not the actual SWFT coin at the address I had in the contract. So now I got it working, and it takes the SWFT tokens from my wallet. The only issue now is that I can't see the successMessage when the purchase() transaction goes through. How do I see the successMessage once the purchase() transaction goes through?
Apr 17, 2023 at 5:17 history answered Shubham Sharma CC BY-SA 4.0