EACAggregatorProxyProcessor
Class in @sentio/sdk/eth/builtin › eacaggregatorproxy
Defined in @sentio/sdk/eth/builtin › eacaggregatorproxy
Extends
Constructors
Constructor
new EACAggregatorProxyProcessor(config: BindOptions): EACAggregatorProxyProcessor;Parameters
| Parameter | Type |
|---|---|
config | BindOptions |
Returns
EACAggregatorProxyProcessor
Inherited from
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
blockHandlers | public | BlockHandler[] | BaseProcessor.blockHandlers |
config | public | BindInternalOptions | BaseProcessor.config |
eventHandlers | public | EventsHandler[] | BaseProcessor.eventHandlers |
traceHandlers | public | TraceHandler[] | BaseProcessor.traceHandlers |
filters | static | object | - |
filters.AnswerUpdated | public | DeferredTopicFilter | - |
filters.NewRound | public | DeferredTopicFilter | - |
filters.OwnershipTransferred | public | DeferredTopicFilter | - |
filters.OwnershipTransferRequested | public | DeferredTopicFilter | - |
Methods
getChainId()
getChainId(): EthChainId;Returns
EthChainId
Inherited from
onBlockInterval()
onBlockInterval(
handler: (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>) => PromiseOrVoid,
blockInterval?: number,
backfillBlockInterval?: number,
handlerOptions?: HandlerOptions<EthFetchConfig, RichBlock>,
preprocessHandler?: (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>, preprocessStore: object) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type | Default value |
|---|---|---|
handler | (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>) => PromiseOrVoid | undefined |
blockInterval | number | 250 |
backfillBlockInterval | number | 1000 |
handlerOptions? | HandlerOptions<EthFetchConfig, RichBlock> | undefined |
preprocessHandler? | (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>, preprocessStore: object) => Promise<PreprocessResult> | defaultPreprocessHandler |
Returns
this
Inherited from
onCallAcceptOwnership()
onCallAcceptOwnership(
handler: (call: AcceptOwnershipCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, AcceptOwnershipCallTrace>,
preprocessHandler?: (call: AcceptOwnershipCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: AcceptOwnershipCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, AcceptOwnershipCallTrace> |
preprocessHandler? | (call: AcceptOwnershipCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallAccessController()
onCallAccessController(
handler: (call: AccessControllerCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, AccessControllerCallTrace>,
preprocessHandler?: (call: AccessControllerCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: AccessControllerCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, AccessControllerCallTrace> |
preprocessHandler? | (call: AccessControllerCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallAggregator()
onCallAggregator(
handler: (call: AggregatorCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, AggregatorCallTrace>,
preprocessHandler?: (call: AggregatorCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: AggregatorCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, AggregatorCallTrace> |
preprocessHandler? | (call: AggregatorCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallConfirmAggregator()
onCallConfirmAggregator(
handler: (call: ConfirmAggregatorCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, ConfirmAggregatorCallTrace>,
preprocessHandler?: (call: ConfirmAggregatorCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: ConfirmAggregatorCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, ConfirmAggregatorCallTrace> |
preprocessHandler? | (call: ConfirmAggregatorCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallDecimals()
onCallDecimals(
handler: (call: DecimalsCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, DecimalsCallTrace>,
preprocessHandler?: (call: DecimalsCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: DecimalsCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, DecimalsCallTrace> |
preprocessHandler? | (call: DecimalsCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallDescription()
onCallDescription(
handler: (call: DescriptionCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, DescriptionCallTrace>,
preprocessHandler?: (call: DescriptionCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: DescriptionCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, DescriptionCallTrace> |
preprocessHandler? | (call: DescriptionCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallGetAnswer()
onCallGetAnswer(
handler: (call: GetAnswerCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, GetAnswerCallTrace>,
preprocessHandler?: (call: GetAnswerCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: GetAnswerCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, GetAnswerCallTrace> |
preprocessHandler? | (call: GetAnswerCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallGetRoundData()
onCallGetRoundData(
handler: (call: GetRoundDataCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, GetRoundDataCallTrace>,
preprocessHandler?: (call: GetRoundDataCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: GetRoundDataCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, GetRoundDataCallTrace> |
preprocessHandler? | (call: GetRoundDataCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallGetTimestamp()
onCallGetTimestamp(
handler: (call: GetTimestampCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, GetTimestampCallTrace>,
preprocessHandler?: (call: GetTimestampCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: GetTimestampCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, GetTimestampCallTrace> |
preprocessHandler? | (call: GetTimestampCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallLatestAnswer()
onCallLatestAnswer(
handler: (call: LatestAnswerCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, LatestAnswerCallTrace>,
preprocessHandler?: (call: LatestAnswerCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: LatestAnswerCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, LatestAnswerCallTrace> |
preprocessHandler? | (call: LatestAnswerCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallLatestRound()
onCallLatestRound(
handler: (call: LatestRoundCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, LatestRoundCallTrace>,
preprocessHandler?: (call: LatestRoundCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: LatestRoundCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, LatestRoundCallTrace> |
preprocessHandler? | (call: LatestRoundCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallLatestRoundData()
onCallLatestRoundData(
handler: (call: LatestRoundDataCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, LatestRoundDataCallTrace>,
preprocessHandler?: (call: LatestRoundDataCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: LatestRoundDataCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, LatestRoundDataCallTrace> |
preprocessHandler? | (call: LatestRoundDataCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallLatestTimestamp()
onCallLatestTimestamp(
handler: (call: LatestTimestampCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, LatestTimestampCallTrace>,
preprocessHandler?: (call: LatestTimestampCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: LatestTimestampCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, LatestTimestampCallTrace> |
preprocessHandler? | (call: LatestTimestampCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallOwner()
onCallOwner(
handler: (call: OwnerCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, OwnerCallTrace>,
preprocessHandler?: (call: OwnerCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: OwnerCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, OwnerCallTrace> |
preprocessHandler? | (call: OwnerCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallPhaseAggregators()
onCallPhaseAggregators(
handler: (call: PhaseAggregatorsCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, PhaseAggregatorsCallTrace>,
preprocessHandler?: (call: PhaseAggregatorsCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: PhaseAggregatorsCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, PhaseAggregatorsCallTrace> |
preprocessHandler? | (call: PhaseAggregatorsCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallPhaseId()
onCallPhaseId(
handler: (call: PhaseIdCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, PhaseIdCallTrace>,
preprocessHandler?: (call: PhaseIdCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: PhaseIdCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, PhaseIdCallTrace> |
preprocessHandler? | (call: PhaseIdCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallProposeAggregator()
onCallProposeAggregator(
handler: (call: ProposeAggregatorCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, ProposeAggregatorCallTrace>,
preprocessHandler?: (call: ProposeAggregatorCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: ProposeAggregatorCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, ProposeAggregatorCallTrace> |
preprocessHandler? | (call: ProposeAggregatorCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallProposedAggregator()
onCallProposedAggregator(
handler: (call: ProposedAggregatorCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, ProposedAggregatorCallTrace>,
preprocessHandler?: (call: ProposedAggregatorCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: ProposedAggregatorCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, ProposedAggregatorCallTrace> |
preprocessHandler? | (call: ProposedAggregatorCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallProposedGetRoundData()
onCallProposedGetRoundData(
handler: (call: ProposedGetRoundDataCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, ProposedGetRoundDataCallTrace>,
preprocessHandler?: (call: ProposedGetRoundDataCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: ProposedGetRoundDataCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, ProposedGetRoundDataCallTrace> |
preprocessHandler? | (call: ProposedGetRoundDataCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallProposedLatestRoundData()
onCallProposedLatestRoundData(
handler: (call: ProposedLatestRoundDataCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, ProposedLatestRoundDataCallTrace>,
preprocessHandler?: (call: ProposedLatestRoundDataCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: ProposedLatestRoundDataCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, ProposedLatestRoundDataCallTrace> |
preprocessHandler? | (call: ProposedLatestRoundDataCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallSetController()
onCallSetController(
handler: (call: SetControllerCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, SetControllerCallTrace>,
preprocessHandler?: (call: SetControllerCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: SetControllerCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, SetControllerCallTrace> |
preprocessHandler? | (call: SetControllerCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallTransferOwnership()
onCallTransferOwnership(
handler: (call: TransferOwnershipCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, TransferOwnershipCallTrace>,
preprocessHandler?: (call: TransferOwnershipCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: TransferOwnershipCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, TransferOwnershipCallTrace> |
preprocessHandler? | (call: TransferOwnershipCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onCallVersion()
onCallVersion(
handler: (call: VersionCallTrace, ctx: EACAggregatorProxyContext) => void,
handlerOptions?: HandlerOptions<EthFetchConfig, VersionCallTrace>,
preprocessHandler?: (call: VersionCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (call: VersionCallTrace, ctx: EACAggregatorProxyContext) => void |
handlerOptions? | HandlerOptions<EthFetchConfig, VersionCallTrace> |
preprocessHandler? | (call: VersionCallTrace, ctx: EACAggregatorProxyContext) => Promise<PreprocessResult> |
Returns
this
onEvent()
onEvent<T extends TypedEvent<any, any> = TypedEvent<any, any>>(
handler: (event: T, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>) => PromiseOrVoid,
handlerOptions?: HandlerOptions<EthFetchConfig, T>,
preprocessHandler?: (event: T, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>, preprocessStore: object) => Promise<PreprocessResult>
): this;Type Parameters
| Type Parameter | Default type |
|---|---|
T extends TypedEvent<any, any> | TypedEvent<any, any> |
Parameters
| Parameter | Type | Default value |
|---|---|---|
handler | (event: T, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>) => PromiseOrVoid | undefined |
handlerOptions? | HandlerOptions<EthFetchConfig, T> | undefined |
preprocessHandler? | (event: T, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>, preprocessStore: object) => Promise<PreprocessResult> | defaultPreprocessHandler |
Returns
this
Inherited from
onEventAnswerUpdated()
onEventAnswerUpdated(
handler: (event: AnswerUpdatedEvent, ctx: EACAggregatorProxyContext) => void,
filter?: DeferredTopicFilter | DeferredTopicFilter[],
handlerOptions?: HandlerOptions<EthFetchConfig, AnswerUpdatedEvent>,
preprocessHandler?: (event: AnswerUpdatedEvent, ctx: EACAggregatorProxyContext, preprocessStore: object) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (event: AnswerUpdatedEvent, ctx: EACAggregatorProxyContext) => void |
filter? | DeferredTopicFilter | DeferredTopicFilter[] |
handlerOptions? | HandlerOptions<EthFetchConfig, AnswerUpdatedEvent> |
preprocessHandler? | (event: AnswerUpdatedEvent, ctx: EACAggregatorProxyContext, preprocessStore: object) => Promise<PreprocessResult> |
Returns
this
onEventNewRound()
onEventNewRound(
handler: (event: NewRoundEvent, ctx: EACAggregatorProxyContext) => void,
filter?: DeferredTopicFilter | DeferredTopicFilter[],
handlerOptions?: HandlerOptions<EthFetchConfig, NewRoundEvent>,
preprocessHandler?: (event: NewRoundEvent, ctx: EACAggregatorProxyContext, preprocessStore: object) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (event: NewRoundEvent, ctx: EACAggregatorProxyContext) => void |
filter? | DeferredTopicFilter | DeferredTopicFilter[] |
handlerOptions? | HandlerOptions<EthFetchConfig, NewRoundEvent> |
preprocessHandler? | (event: NewRoundEvent, ctx: EACAggregatorProxyContext, preprocessStore: object) => Promise<PreprocessResult> |
Returns
this
onEventOwnershipTransferred()
onEventOwnershipTransferred(
handler: (event: OwnershipTransferredEvent, ctx: EACAggregatorProxyContext) => void,
filter?: DeferredTopicFilter | DeferredTopicFilter[],
handlerOptions?: HandlerOptions<EthFetchConfig, OwnershipTransferredEvent>,
preprocessHandler?: (event: OwnershipTransferredEvent, ctx: EACAggregatorProxyContext, preprocessStore: object) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (event: OwnershipTransferredEvent, ctx: EACAggregatorProxyContext) => void |
filter? | DeferredTopicFilter | DeferredTopicFilter[] |
handlerOptions? | HandlerOptions<EthFetchConfig, OwnershipTransferredEvent> |
preprocessHandler? | (event: OwnershipTransferredEvent, ctx: EACAggregatorProxyContext, preprocessStore: object) => Promise<PreprocessResult> |
Returns
this
onEventOwnershipTransferRequested()
onEventOwnershipTransferRequested(
handler: (event: OwnershipTransferRequestedEvent, ctx: EACAggregatorProxyContext) => void,
filter?: DeferredTopicFilter | DeferredTopicFilter[],
handlerOptions?: HandlerOptions<EthFetchConfig, OwnershipTransferRequestedEvent>,
preprocessHandler?: (event: OwnershipTransferRequestedEvent, ctx: EACAggregatorProxyContext, preprocessStore: object) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (event: OwnershipTransferRequestedEvent, ctx: EACAggregatorProxyContext) => void |
filter? | DeferredTopicFilter | DeferredTopicFilter[] |
handlerOptions? | HandlerOptions<EthFetchConfig, OwnershipTransferRequestedEvent> |
preprocessHandler? | (event: OwnershipTransferRequestedEvent, ctx: EACAggregatorProxyContext, preprocessStore: object) => Promise<PreprocessResult> |
Returns
this
onInterval()
onInterval(
handler: (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>) => PromiseOrVoid,
timeInterval:
| HandleInterval
| undefined,
blockInterval:
| HandleInterval
| undefined,
handlerOptions?: HandlerOptions<EthFetchConfig, RichBlock>,
preprocessHandler?: (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>, preprocessStore: object) => Promise<PreprocessResult>,
handlerName?: string
): this;Parameters
| Parameter | Type | Default value |
|---|---|---|
handler | (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>) => PromiseOrVoid | undefined |
timeInterval | | HandleInterval | undefined | undefined |
blockInterval | | HandleInterval | undefined | undefined |
handlerOptions? | HandlerOptions<EthFetchConfig, RichBlock> | undefined |
preprocessHandler? | (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>, preprocessStore: object) => Promise<PreprocessResult> | defaultPreprocessHandler |
handlerName? | string | ... |
Returns
this
Inherited from
onTimeInterval()
onTimeInterval(
handler: (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>) => PromiseOrVoid,
timeIntervalInMinutes?: number,
backfillTimeIntervalInMinutes?: number,
handlerOptions?: HandlerOptions<EthFetchConfig, RichBlock>,
preprocessHandler?: (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>, preprocessStore: object) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type | Default value |
|---|---|---|
handler | (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>) => PromiseOrVoid | undefined |
timeIntervalInMinutes | number | 60 |
backfillTimeIntervalInMinutes | number | 240 |
handlerOptions? | HandlerOptions<EthFetchConfig, RichBlock> | undefined |
preprocessHandler? | (block: RichBlock, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>, preprocessStore: object) => Promise<PreprocessResult> | defaultPreprocessHandler |
Returns
this
Inherited from
onTrace()
onTrace(
handler: (event: TypedCallTrace, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>) => PromiseOrVoid,
handlerOptions?: HandlerOptions<EthFetchConfig, TypedCallTrace<any, any>>,
preprocessHandler?: (trace: TypedCallTrace, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>, preprocessStore: object) => Promise<PreprocessResult>
): this;Parameters
| Parameter | Type | Default value |
|---|---|---|
handler | (event: TypedCallTrace, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>) => PromiseOrVoid | undefined |
handlerOptions? | HandlerOptions<EthFetchConfig, TypedCallTrace<any, any>> | undefined |
preprocessHandler? | (trace: TypedCallTrace, ctx: ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>, preprocessStore: object) => Promise<PreprocessResult> | defaultPreprocessHandler |
Returns
this
Inherited from
bind()
static bind(options: BindOptions): EACAggregatorProxyProcessor;For a given function, creates a bound function that has the same body as the original function. The this object of the bound function is associated with the specified object, and has the specified initial parameters.
Parameters
| Parameter | Type |
|---|---|
options | BindOptions |
Returns
EACAggregatorProxyProcessor