eth

package
v0.0.0-...-fdc2919 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployReserveContract

func DeployReserveContract(ctx context.Context, auth *bind.TransactOpts, ec *ethclient.Client) (common.Address, *reserve.Reserve, error)

DeployReserveContract is used to deploy the reserve contract

Types

type Listener

type Listener struct {
	*reserve.Reserve
}

Listener provides convenience functions around a reserve bindings

func NewListener

func NewListener(rsrv *reserve.Reserve) *Listener

NewListener returns a new reserve contract listener

func (*Listener) HandleCoinBurn

func (l *Listener) HandleCoinBurn(ctx context.Context, output chan *reserve.ReserveCoinsBurned) error

HandleCoinBurn processes coin burn events

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL