The result of a transaction.
The VM will put this struct in the TxContext after the transaction execution.
We can get the result in the post_execute
function.
struct TxResult has copy, drop, store
public fun is_executed(self: &tx_result::TxResult): bool
public fun gas_used(self: &tx_result::TxResult): u64