I'm using the GuessGame:
under the simulator, with this code
main = Simulator.runSimulationWith handlers $ do
cid <- Simulator.activateContract (Wallet 1) GuessGame
waitNSlots 3
callEndpointOnInstance cid "lock" LockParams{secretWord="world", amount= Ada.adaValueOf 200}
waitNSlots 3
callEndpointOnInstance cid "guess" GuessParams{guessWord="world"}
where
handlers :: SimulatorEffectHandlers (Builtin TestContracts)
handlers =
Simulator.mkSimulatorHandlers def def
$ interpret (contractHandler (Builtin.handleBuiltin @TestContracts))
The traces included in the GuessGame code, indicates that the transaction has been done, but how I can display the final balances of the the simulated accounts?