Documentation
¶
Index ¶
- func Uint64ToHash(value uint64) *common.Hash
- type InputReaderWorker
- func (w *InputReaderWorker) ChainID() (*big.Int, error)
- func (w InputReaderWorker) FindAllInputsByBlockAndTimestampLT(ctx context.Context, client *ethclient.Client, inputBox *contracts.InputBox, ...) ([]model.InputExtra, error)
- func (w *InputReaderWorker) GetEthClient() (*ethclient.Client, error)
- func (w InputReaderWorker) String() string
- type Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Uint64ToHash ¶ added in v0.0.2
Types ¶
type InputReaderWorker ¶
type InputReaderWorker struct {
Model Model
Provider string
InputBoxAddress common.Address
InputBoxBlock uint64
EthClient *ethclient.Client
}
This worker reads inputs from Ethereum and puts them in the model.
func (InputReaderWorker) FindAllInputsByBlockAndTimestampLT ¶
func (*InputReaderWorker) GetEthClient ¶
func (w *InputReaderWorker) GetEthClient() (*ethclient.Client, error)
func (InputReaderWorker) String ¶
func (w InputReaderWorker) String() string
Click to show internal directories.
Click to hide internal directories.