We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11c78c4 commit 6bebaabCopy full SHA for 6bebaab
contracts/TWA.vy
@@ -51,10 +51,10 @@ MAX_SNAPSHOTS: constant(uint256) = 10**18 # 31.7 billion years if snapshot ever
51
################################################################
52
53
54
-snapshots: public(DynArray[Snapshot, MAX_SNAPSHOTS])
55
min_snapshot_dt_seconds: public(uint256) # Minimum time between snapshots in seconds
56
twa_window: public(uint256) # Time window in seconds for TWA calculation
57
last_snapshot_timestamp: public(uint256) # Timestamp of the last snapshot
+snapshots: public(DynArray[Snapshot, MAX_SNAPSHOTS])
58
59
60
struct Snapshot:
0 commit comments