Skip to content

Commit

Permalink
spelling: sorry, my ptsd can't handle it (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-anon authored Oct 17, 2024
1 parent c79a447 commit 4dcb5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/TWA.vy
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ a specified time window.
time interval (`min_snapshot_dt_seconds`) has passed.
- Uses the trapezoidal rule to calculate the TWA over the `twa_window`.
- Functions:
- `_store_snapshot`: Internal, adds a snapshot if the minimum interval passed.
- `_take_snapshot`: Internal, adds a snapshot if the minimum interval passed.
Wrapper required in importing contract.
- `compute_twa`: Calculates and returns the TWA based on stored snapshots.
- `get_len_snapshots`: Returns the number of stored snapshots.
Expand Down

0 comments on commit 4dcb5ef

Please sign in to comment.