The LinearAuction fee module creates a reverse dutch auction upon time of execution of a job. The input bytes to the onCreateJob function should follow the structure:
The executionFeeToken field is the token which execution fee will be paid in. During the auction period, the execution fee will grow linearly every second from minExecutionFee to maxExecutionFee.
Abstract graph of the fee function.
More precisely, the execution fee can be calculated as follows, where t is the number of seconds the job is within the execution window:
Here fee(t) is the execution fee and t is the UNIX time in seconds of the execution (measured as block.timestamp in the contract). This is not to be confused with executionTime which is the time from which the job can be executed.