honeypotapp

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HoneypotApplication

type HoneypotApplication struct {
	Owner common.Address
}

HoneypotApplication is a honeypot[1] application that stores Ether. Only the application owner can withdraw from the honeypot. The application emits a report with the current balance for every input. [1] https://en.wikipedia.org/wiki/Honeypot_(computing)

func (*HoneypotApplication) Advance

func (a *HoneypotApplication) Advance(
	env rollmelette.Env,
	metadata rollmelette.Metadata,
	deposit rollmelette.Deposit,
	payload []byte,
) error

func (*HoneypotApplication) Inspect

func (a *HoneypotApplication) Inspect(env rollmelette.EnvInspector, payload []byte) error

Jump to

Keyboard shortcuts

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