app

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListenerApp

type ListenerApp struct {
	*baseapp.BaseApp
	// contains filtered or unexported fields
}

ListenerApp shows how to watch for an event on the Ethereum blockchain. The event is defined in the smart contract at: 0x18Df82C7E422A42D47345Ed86B0E935E9718eBda The event is called: NumbreChanged(uint256) The event is emitted when the number is changed in the smart contract. The event is watched by the offchain-sdk and when it is emitted, the execution function is called.

func (ListenerApp) Name

func (ListenerApp) Name() string

Name implements the `App` interface.

func (*ListenerApp) Setup

func (app *ListenerApp) Setup(
	ab coreapp.Builder,
	config config.Config,
	logger log.Logger,
)

Setup implements the `App` interface.

Jump to

Keyboard shortcuts

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