CumulativePrice
Git Source Author: @oscarsernarosero @cirsteve @Palmerg4 This contract tracks the price of the contract at the end of every blockState Variables
cumulativePrice
lastBlockTimestamp
Functions
_updateCumulativePrice
This function updates the cumulativePrice and lastBlockTimestamp.| Name | Type | Description |
|---|---|---|
_price | uint256 | the current spot price |
_timestamp | uint256 | the current block timestamp |