bindings

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package bindings contains all automatically generated code bindings to interact with the smart contracts of the Perun Ethereum blockchain backend. It also contains parsed ABI definitions in abi.go for ease of use.

Index

Constants

This section is empty.

Variables

View Source
var ABI = struct {
	// PerunToken is the parsed ABI definition of contract PerunToken.
	PerunToken abi.ABI
	// Adjudicator is the parsed ABI definition of contract Adjudicator.
	Adjudicator abi.ABI
	// AssetHolder is the parsed ABI definition of contract AssetHolder.
	AssetHolder abi.ABI
	// ETHAssetHolder is the parsed ABI definition of contract ETHAssetHolder.
	ETHAssetHolder abi.ABI
	// ERC20AssetHolder is the parsed ABI definition of contract ERC20AssetHolder.
	ERC20AssetHolder abi.ABI
	// TrivialApp is the parsed ABI definition of contract TrivialApp.
	TrivialApp abi.ABI
}{}

ABI contains all the parsed ABI definitions of our contracts. Use it together with `bind.NewBoundContract` to create a bound contract.

View Source
var Events = struct {
	// AdjChannelUpdate is the ChannelUpdate event of the Adjudicator contract.
	AdjChannelUpdate string
	// AhDeposited is the Deposited event of the Assetholder contract.
	AhDeposited string
	// AhWithdrawn is the Withdrawn event of the Assetholder contract.
	AhWithdrawn string
	// PerunTokenApproval is the Approval event of the PerunToken contract.
	PerunTokenApproval string
}{}

Events contains the event names for specific events.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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