1

The problem is that the gas estimator does not have the source code for the contract Team_SE427_Contract and therefore it has no idea what happens when you call it. And therefore it can't estimate the required gas. You have two options: Give a gas limit for the call to the contract Team_SE427_Contract. Can be done with something like this: int count = x....


1

var cashoutYo = jsApp.... is asynchronous, so try await. Even so, it doesn't return what you expect. You will get a transaction hash for the transaction that was sent to the network - not the result after the network mines it because you have to wait for that. Have a look at this for the stages you might be interested in and a convenient way to wait for them:...


Only top voted, non community-wiki answers of a minimum length are eligible