In the 3rd tutorial, section “Check Account Balances” when reading the “Transfer Tokens” transaction I’m a little puzzled as to the usefulness of the
var temporaryVault: @ExampleToken.Vault.
It seems like the only reason there is a
prepare section in this transaction is to initialize
self.temporaryVault, but it can be more elegantly created in the
execute section before
Am I right and this transaction can be written more succinctly while being more readable with everything contained in
execute or am I missing something?