Documentation ¶
Index ¶
- type Broker
- type CallEngine
- type EthCallEngine
- type EthereumConfirmations
- type OracleDataBroadcaster
- type Result
- type TimeService
- type Verifier
- func (s *Verifier) GetState(k string) ([]byte, []types.StateProvider, error)
- func (s *Verifier) Keys() []string
- func (s *Verifier) LoadState(ctx context.Context, payload *types.Payload) ([]types.StateProvider, error)
- func (s *Verifier) Namespace() types.SnapshotNamespace
- func (s *Verifier) OnStateLoaded(ctx context.Context) error
- func (s *Verifier) OnTick(ctx context.Context, t time.Time)
- func (s *Verifier) ProcessEthereumContractCallResult(callEvent ethcall.ContractCallEvent) error
- func (s *Verifier) Stopped() bool
- type Witness
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallEngine ¶
type EthCallEngine ¶
type EthereumConfirmations ¶
type OracleDataBroadcaster ¶
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
func New ¶
func New( log *logging.Logger, witness Witness, ts TimeService, broker Broker, oracleBroadcaster OracleDataBroadcaster, ethCallEngine EthCallEngine, ethConfirmations EthereumConfirmations, ) (sv *Verifier)
func (*Verifier) Namespace ¶
func (s *Verifier) Namespace() types.SnapshotNamespace
func (*Verifier) ProcessEthereumContractCallResult ¶
func (s *Verifier) ProcessEthereumContractCallResult(callEvent ethcall.ContractCallEvent) error
Click to show internal directories.
Click to hide internal directories.