Pays Oracle fees in ETH to the store.
To be used by contracts whose margin currency is ETH.
Pays oracle fees in the margin currency, erc20Address, to the store.
To be used if the margin currency is an ERC20 token rather than ETH. All approved tokens are transferred.
erc20Address: address of the ERC20 token used to pay the fee.
computeRegularFee(uint256 startTime, uint256 endTime, struct FixedPoint.Unsigned pfc) → struct FixedPoint.Unsigned regularFee, struct FixedPoint.Unsigned latePenalty external
Computes the regular oracle fees that a contract should pay for a period.
startTime: defines the beginning time from which the fee is paid.
endTime: end time until which the fee is paid.
profit: from corruption", or the maximum amount of margin currency that a token sponsor could extract from the contract through corrupting the price feed in their favor.