You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible alternatives: 1. Backtracing data from the chain 2. Implement views in the smart contract
3. Implement events and emit them in the correct function calls,
The text was updated successfully, but these errors were encountered:
My recommendation is adding event to popular external trxs. For demend like statistics for rank of deposit amount, it's hard to get information by some view in vault contract since vault token is tokenized as currency asset and extra storage space will be needed for tracing that. Instead with well-designed event, we can not only do statistics to support business operations, but make internal status in trxs observable, which is useful for tests.
Possible alternatives:
1. Backtracing data from the chain2. Implementviews
in the smart contract3. Implement
events
andemit
them in the correct function calls,The text was updated successfully, but these errors were encountered: