Documentation ¶
Overview ¶
(c) Cartesi and individual authors (see AUTHORS) SPDX-License-Identifier: Apache-2.0 (see LICENSE)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationRetryPolicyDelegator ¶
type ApplicationRetryPolicyDelegator struct {
// contains filtered or unexported fields
}
func NewApplicationWithRetryPolicy ¶
func NewApplicationWithRetryPolicy( delegate evmreader.ApplicationContract, maxRetries uint64, delayBetweenCalls time.Duration, ) *ApplicationRetryPolicyDelegator
func (*ApplicationRetryPolicyDelegator) GetConsensus ¶
func (*ApplicationRetryPolicyDelegator) RetrieveOutputExecutionEvents ¶
func (d *ApplicationRetryPolicyDelegator) RetrieveOutputExecutionEvents( opts *bind.FilterOpts, ) ([]*iapplication.IApplicationOutputExecuted, error)
type ConsensusRetryPolicyDelegator ¶
type ConsensusRetryPolicyDelegator struct {
// contains filtered or unexported fields
}
A Consensus Delegator that calls GetEpochLength with the retry policy defined by util.RetryFunction
func NewConsensusWithRetryPolicy ¶
func NewConsensusWithRetryPolicy( delegate evmreader.ConsensusContract, maxRetries uint64, delayBetweenCalls time.Duration, ) *ConsensusRetryPolicyDelegator
func (*ConsensusRetryPolicyDelegator) GetEpochLength ¶
func (*ConsensusRetryPolicyDelegator) RetrieveClaimAcceptanceEvents ¶
func (d *ConsensusRetryPolicyDelegator) RetrieveClaimAcceptanceEvents( opts *bind.FilterOpts, appAddresses []common.Address, ) ([]*iconsensus.IConsensusClaimAcceptance, error)
type EthClientRetryPolicyDelegator ¶
type EthClientRetryPolicyDelegator struct {
// contains filtered or unexported fields
}
A EthClient Delegator that calls HeaderByNumber with the retry policy defined by util.RetryFunction
func (*EthClientRetryPolicyDelegator) HeaderByNumber ¶
type EthWsClientRetryPolicyDelegator ¶
type EthWsClientRetryPolicyDelegator struct {
// contains filtered or unexported fields
}
func NewEthWsClientWithRetryPolicy ¶
func NewEthWsClientWithRetryPolicy( delegate evmreader.EthWsClient, maxRetries uint64, delayBetweenCalls time.Duration, ) *EthWsClientRetryPolicyDelegator
func (*EthWsClientRetryPolicyDelegator) SubscribeNewHead ¶
type EvmReaderContractFactory ¶
type EvmReaderContractFactory struct {
// contains filtered or unexported fields
}
Builds contracts delegates that will use retry policy on contract methods calls
func (*EvmReaderContractFactory) NewApplication ¶
func (f *EvmReaderContractFactory) NewApplication( address common.Address, ) (evmreader.ApplicationContract, error)
func (*EvmReaderContractFactory) NewIConsensus ¶
func (f *EvmReaderContractFactory) NewIConsensus( address common.Address, ) (evmreader.ConsensusContract, error)
type InputSourceWithRetryPolicyDelegator ¶
type InputSourceWithRetryPolicyDelegator struct {
// contains filtered or unexported fields
}
func NewInputSourceWithRetryPolicy ¶
func NewInputSourceWithRetryPolicy( delegate evmreader.InputSource, maxRetries uint64, delay time.Duration, ) *InputSourceWithRetryPolicyDelegator
func (*InputSourceWithRetryPolicyDelegator) RetrieveInputs ¶
func (d *InputSourceWithRetryPolicyDelegator) RetrieveInputs( opts *bind.FilterOpts, appContract []common.Address, index []*big.Int, ) ([]iinputbox.IInputBoxInputAdded, error)
Click to show internal directories.
Click to hide internal directories.