Versions in this module Expand all Collapse all v0 v0.4.0 Apr 25, 2019 Changes in this version + func EthToWei(eth string) (*big.Int, error) + type AddressGenerator struct + func NewAddressGenerator(masterPublicKeyString string) (*AddressGenerator, error) + func (g *AddressGenerator) Generate(index uint64) (common.Address, error) + type Client interface + BlockByNumber func(ctx context.Context, number *big.Int) (*types.Block, error) + NetworkID func(ctx context.Context) (*big.Int, error) + type Listener struct + Client Client + ConfirmedBlockNumber uint64 + Enabled bool + NetworkID string + Storage storage.Storage + TransactionHandler TransactionHandler + func (l *Listener) Start() error + func (l *Listener) Stop() error + type Transaction struct + Hash string + To string + ValueWei *big.Int + func (t *Transaction) ValueToTomo() string + func (t *Transaction) ValueToWei() string + type TransactionHandler func(transaction Transaction) error