headerharness

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package headerharness implements the HeaderHarness contract.

Package headerharness is for the HeaderHarness

Code generated by synapse abigen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var Contracts map[string]*compiler.Contract

Contracts are unmarshalled on start

View Source
var HeaderHarnessABI = HeaderHarnessMetaData.ABI

HeaderHarnessABI is the input ABI used to generate the binding from. Deprecated: Use HeaderHarnessMetaData.ABI instead.

View Source
var HeaderHarnessBin = HeaderHarnessMetaData.Bin

HeaderHarnessBin is the compiled bytecode used for deploying new contracts. Deprecated: Use HeaderHarnessMetaData.Bin instead.

View Source
var HeaderHarnessFuncSigs = HeaderHarnessMetaData.Sigs

Deprecated: Use HeaderHarnessMetaData.Sigs instead. HeaderHarnessFuncSigs maps the 4-byte function signature to its string representation.

View Source
var HeaderHarnessMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"FlagOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedHeader\",\"type\":\"uint256\"}],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"flag_\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"origin_\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"nonce_\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"destination_\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"optimisticPeriod_\",\"type\":\"uint32\"}],\"name\":\"encodeHeader\",\"outputs\":[{\"internalType\":\"uint136\",\"name\":\"\",\"type\":\"uint136\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedHeader\",\"type\":\"uint256\"}],\"name\":\"flag\",\"outputs\":[{\"internalType\":\"enumMessageFlag\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedHeader\",\"type\":\"uint256\"}],\"name\":\"isHeader\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedHeader\",\"type\":\"uint256\"}],\"name\":\"leaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedHeader\",\"type\":\"uint256\"}],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedHeader\",\"type\":\"uint256\"}],\"name\":\"optimisticPeriod\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedHeader\",\"type\":\"uint256\"}],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedHeader\",\"type\":\"uint256\"}],\"name\":\"wrapPadded\",\"outputs\":[{\"internalType\":\"uint136\",\"name\":\"\",\"type\":\"uint136\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"44f6891e": "destination(uint256)",
		"1e543d64": "encodeHeader(uint8,uint32,uint32,uint32,uint32)",
		"bb760a75": "flag(uint256)",
		"e7335c50": "isHeader(uint256)",
		"f472a58a": "leaf(uint256)",
		"ce03fdab": "nonce(uint256)",
		"7668f03b": "optimisticPeriod(uint256)",
		"622db538": "origin(uint256)",
		"138ac42f": "wrapPadded(uint256)",
	},
	Bin: "0x608060405234801561001057600080fd5b50610512806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c80637668f03b11610076578063ce03fdab1161005b578063ce03fdab14610163578063e7335c5014610176578063f472a58a1461019957600080fd5b80637668f03b14610130578063bb760a751461014357600080fd5b8063138ac42f146100a85780631e543d64146100e257806344f6891e146100f5578063622db5381461011d575b600080fd5b6100bb6100b63660046103cd565b6101ba565b60405170ffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100bb6100f03660046103ff565b6101cd565b6101086101033660046103cd565b6101fc565b60405163ffffffff90911681526020016100d9565b61010861012b3660046103cd565b610225565b61010861013e3660046103cd565b610240565b6101566101513660046103cd565b610264565b6040516100d9919061049b565b6101086101713660046103cd565b61028a565b6101896101843660046103cd565b6102a9565b60405190151581526020016100d9565b6101ac6101a73660046103cd565b6102bc565b6040519081526020016100d9565b6000806101c6836102e9565b9392505050565b6000806101f18760ff1660018111156101e8576101e861046c565b87878787610331565b979650505050505050565b600061021f61020a836102e9565b60201c6cffffffffffffffffffffffffff1690565b92915050565b600061021f610233836102e9565b60601c64ffffffffff1690565b600061021f61024e836102e9565b70ffffffffffffffffffffffffffffffffff1690565b600061021f610272836102e9565b70ffffffffffffffffffffffffffffffffff1661039a565b600061021f610298836102e9565b60401c68ffffffffffffffffff1690565b6000600160ff608084901c16111561021f565b600061021f6102ca836102e9565b70ffffffffffffffffffffffffffffffffff1660009081526020902090565b6000600160ff608084901c16111561032d576040517f58ebbfbe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5090565b600063ffffffff821667ffffffff00000000602085901b166bffffffff0000000000000000604087901b166fffffffff000000000000000000000000606089901b1660808a60018111156103875761038761046c565b60ff16901b171717179695505050505050565b60006103b98270ffffffffffffffffffffffffffffffffff1660801c90565b60ff16600181111561021f5761021f61046c565b6000602082840312156103df57600080fd5b5035919050565b803563ffffffff811681146103fa57600080fd5b919050565b600080600080600060a0868803121561041757600080fd5b853560ff8116811461042857600080fd5b9450610436602087016103e6565b9350610444604087016103e6565b9250610452606087016103e6565b9150610460608087016103e6565b90509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60208101600283106104d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9190529056fea26469706673582212206f987968cff7607986e8d5f2b25c6bdae69035ce3b2ea078e48c97ae3db365f164736f6c63430008110033",
}

HeaderHarnessMetaData contains all meta data concerning the HeaderHarness contract.

View Source
var HeaderLibABI = HeaderLibMetaData.ABI

HeaderLibABI is the input ABI used to generate the binding from. Deprecated: Use HeaderLibMetaData.ABI instead.

View Source
var HeaderLibBin = HeaderLibMetaData.Bin

HeaderLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use HeaderLibMetaData.Bin instead.

View Source
var HeaderLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220905135295dbf706dc8733e1e3dabc71d3c0bf628a4992eddf687cc28c66491fb64736f6c63430008110033",
}

HeaderLibMetaData contains all meta data concerning the HeaderLib contract.

Functions

This section is empty.

Types

type HeaderHarness

type HeaderHarness struct {
	HeaderHarnessCaller     // Read-only binding to the contract
	HeaderHarnessTransactor // Write-only binding to the contract
	HeaderHarnessFilterer   // Log filterer for contract events
}

HeaderHarness is an auto generated Go binding around an Ethereum contract.

func DeployHeaderHarness

func DeployHeaderHarness(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *HeaderHarness, error)

DeployHeaderHarness deploys a new Ethereum contract, binding an instance of HeaderHarness to it.

func NewHeaderHarness

func NewHeaderHarness(address common.Address, backend bind.ContractBackend) (*HeaderHarness, error)

NewHeaderHarness creates a new instance of HeaderHarness, bound to a specific deployed contract.

type HeaderHarnessCaller

type HeaderHarnessCaller struct {
	// contains filtered or unexported fields
}

HeaderHarnessCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewHeaderHarnessCaller

func NewHeaderHarnessCaller(address common.Address, caller bind.ContractCaller) (*HeaderHarnessCaller, error)

NewHeaderHarnessCaller creates a new read-only instance of HeaderHarness, bound to a specific deployed contract.

func (*HeaderHarnessCaller) Destination added in v0.0.29

func (_HeaderHarness *HeaderHarnessCaller) Destination(opts *bind.CallOpts, paddedHeader *big.Int) (uint32, error)

Destination is a free data retrieval call binding the contract method 0x44f6891e.

Solidity: function destination(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessCaller) EncodeHeader added in v0.0.171

func (_HeaderHarness *HeaderHarnessCaller) EncodeHeader(opts *bind.CallOpts, flag_ uint8, origin_ uint32, nonce_ uint32, destination_ uint32, optimisticPeriod_ uint32) (*big.Int, error)

EncodeHeader is a free data retrieval call binding the contract method 0x1e543d64.

Solidity: function encodeHeader(uint8 flag_, uint32 origin_, uint32 nonce_, uint32 destination_, uint32 optimisticPeriod_) pure returns(uint136)

func (*HeaderHarnessCaller) Flag added in v0.0.171

func (_HeaderHarness *HeaderHarnessCaller) Flag(opts *bind.CallOpts, paddedHeader *big.Int) (uint8, error)

Flag is a free data retrieval call binding the contract method 0xbb760a75.

Solidity: function flag(uint256 paddedHeader) pure returns(uint8)

func (*HeaderHarnessCaller) IsHeader added in v0.0.29

func (_HeaderHarness *HeaderHarnessCaller) IsHeader(opts *bind.CallOpts, paddedHeader *big.Int) (bool, error)

IsHeader is a free data retrieval call binding the contract method 0xe7335c50.

Solidity: function isHeader(uint256 paddedHeader) pure returns(bool)

func (*HeaderHarnessCaller) Leaf added in v0.0.171

func (_HeaderHarness *HeaderHarnessCaller) Leaf(opts *bind.CallOpts, paddedHeader *big.Int) ([32]byte, error)

Leaf is a free data retrieval call binding the contract method 0xf472a58a.

Solidity: function leaf(uint256 paddedHeader) pure returns(bytes32)

func (*HeaderHarnessCaller) Nonce added in v0.0.29

func (_HeaderHarness *HeaderHarnessCaller) Nonce(opts *bind.CallOpts, paddedHeader *big.Int) (uint32, error)

Nonce is a free data retrieval call binding the contract method 0xce03fdab.

Solidity: function nonce(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessCaller) OptimisticPeriod added in v0.0.171

func (_HeaderHarness *HeaderHarnessCaller) OptimisticPeriod(opts *bind.CallOpts, paddedHeader *big.Int) (uint32, error)

OptimisticPeriod is a free data retrieval call binding the contract method 0x7668f03b.

Solidity: function optimisticPeriod(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessCaller) Origin added in v0.0.29

func (_HeaderHarness *HeaderHarnessCaller) Origin(opts *bind.CallOpts, paddedHeader *big.Int) (uint32, error)

Origin is a free data retrieval call binding the contract method 0x622db538.

Solidity: function origin(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessCaller) WrapPadded added in v0.0.171

func (_HeaderHarness *HeaderHarnessCaller) WrapPadded(opts *bind.CallOpts, paddedHeader *big.Int) (*big.Int, error)

WrapPadded is a free data retrieval call binding the contract method 0x138ac42f.

Solidity: function wrapPadded(uint256 paddedHeader) pure returns(uint136)

type HeaderHarnessCallerRaw

type HeaderHarnessCallerRaw struct {
	Contract *HeaderHarnessCaller // Generic read-only contract binding to access the raw methods on
}

HeaderHarnessCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*HeaderHarnessCallerRaw) Call

func (_HeaderHarness *HeaderHarnessCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type HeaderHarnessCallerSession

type HeaderHarnessCallerSession struct {
	Contract *HeaderHarnessCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

HeaderHarnessCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*HeaderHarnessCallerSession) Destination added in v0.0.29

func (_HeaderHarness *HeaderHarnessCallerSession) Destination(paddedHeader *big.Int) (uint32, error)

Destination is a free data retrieval call binding the contract method 0x44f6891e.

Solidity: function destination(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessCallerSession) EncodeHeader added in v0.0.171

func (_HeaderHarness *HeaderHarnessCallerSession) EncodeHeader(flag_ uint8, origin_ uint32, nonce_ uint32, destination_ uint32, optimisticPeriod_ uint32) (*big.Int, error)

EncodeHeader is a free data retrieval call binding the contract method 0x1e543d64.

Solidity: function encodeHeader(uint8 flag_, uint32 origin_, uint32 nonce_, uint32 destination_, uint32 optimisticPeriod_) pure returns(uint136)

func (*HeaderHarnessCallerSession) Flag added in v0.0.171

func (_HeaderHarness *HeaderHarnessCallerSession) Flag(paddedHeader *big.Int) (uint8, error)

Flag is a free data retrieval call binding the contract method 0xbb760a75.

Solidity: function flag(uint256 paddedHeader) pure returns(uint8)

func (*HeaderHarnessCallerSession) IsHeader added in v0.0.29

func (_HeaderHarness *HeaderHarnessCallerSession) IsHeader(paddedHeader *big.Int) (bool, error)

IsHeader is a free data retrieval call binding the contract method 0xe7335c50.

Solidity: function isHeader(uint256 paddedHeader) pure returns(bool)

func (*HeaderHarnessCallerSession) Leaf added in v0.0.171

func (_HeaderHarness *HeaderHarnessCallerSession) Leaf(paddedHeader *big.Int) ([32]byte, error)

Leaf is a free data retrieval call binding the contract method 0xf472a58a.

Solidity: function leaf(uint256 paddedHeader) pure returns(bytes32)

func (*HeaderHarnessCallerSession) Nonce added in v0.0.29

func (_HeaderHarness *HeaderHarnessCallerSession) Nonce(paddedHeader *big.Int) (uint32, error)

Nonce is a free data retrieval call binding the contract method 0xce03fdab.

Solidity: function nonce(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessCallerSession) OptimisticPeriod added in v0.0.171

func (_HeaderHarness *HeaderHarnessCallerSession) OptimisticPeriod(paddedHeader *big.Int) (uint32, error)

OptimisticPeriod is a free data retrieval call binding the contract method 0x7668f03b.

Solidity: function optimisticPeriod(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessCallerSession) Origin added in v0.0.29

func (_HeaderHarness *HeaderHarnessCallerSession) Origin(paddedHeader *big.Int) (uint32, error)

Origin is a free data retrieval call binding the contract method 0x622db538.

Solidity: function origin(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessCallerSession) WrapPadded added in v0.0.171

func (_HeaderHarness *HeaderHarnessCallerSession) WrapPadded(paddedHeader *big.Int) (*big.Int, error)

WrapPadded is a free data retrieval call binding the contract method 0x138ac42f.

Solidity: function wrapPadded(uint256 paddedHeader) pure returns(uint136)

type HeaderHarnessFilterer

type HeaderHarnessFilterer struct {
	// contains filtered or unexported fields
}

HeaderHarnessFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewHeaderHarnessFilterer

func NewHeaderHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*HeaderHarnessFilterer, error)

NewHeaderHarnessFilterer creates a new log filterer instance of HeaderHarness, bound to a specific deployed contract.

type HeaderHarnessRaw

type HeaderHarnessRaw struct {
	Contract *HeaderHarness // Generic contract binding to access the raw methods on
}

HeaderHarnessRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*HeaderHarnessRaw) Call

func (_HeaderHarness *HeaderHarnessRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*HeaderHarnessRaw) Transact

func (_HeaderHarness *HeaderHarnessRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HeaderHarnessRaw) Transfer

func (_HeaderHarness *HeaderHarnessRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type HeaderHarnessRef

type HeaderHarnessRef struct {
	*HeaderHarness
	// contains filtered or unexported fields
}

HeaderHarnessRef is a header harness reference

func NewHeaderHarnessRef

func NewHeaderHarnessRef(address common.Address, backend bind.ContractBackend) (*HeaderHarnessRef, error)

NewHeaderHarnessRef creates a new header harness.

func (HeaderHarnessRef) Address

func (h HeaderHarnessRef) Address() common.Address

Address gets the address of the contract.

type HeaderHarnessSession

type HeaderHarnessSession struct {
	Contract     *HeaderHarness    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

HeaderHarnessSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*HeaderHarnessSession) Destination added in v0.0.29

func (_HeaderHarness *HeaderHarnessSession) Destination(paddedHeader *big.Int) (uint32, error)

Destination is a free data retrieval call binding the contract method 0x44f6891e.

Solidity: function destination(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessSession) EncodeHeader added in v0.0.171

func (_HeaderHarness *HeaderHarnessSession) EncodeHeader(flag_ uint8, origin_ uint32, nonce_ uint32, destination_ uint32, optimisticPeriod_ uint32) (*big.Int, error)

EncodeHeader is a free data retrieval call binding the contract method 0x1e543d64.

Solidity: function encodeHeader(uint8 flag_, uint32 origin_, uint32 nonce_, uint32 destination_, uint32 optimisticPeriod_) pure returns(uint136)

func (*HeaderHarnessSession) Flag added in v0.0.171

func (_HeaderHarness *HeaderHarnessSession) Flag(paddedHeader *big.Int) (uint8, error)

Flag is a free data retrieval call binding the contract method 0xbb760a75.

Solidity: function flag(uint256 paddedHeader) pure returns(uint8)

func (*HeaderHarnessSession) IsHeader added in v0.0.29

func (_HeaderHarness *HeaderHarnessSession) IsHeader(paddedHeader *big.Int) (bool, error)

IsHeader is a free data retrieval call binding the contract method 0xe7335c50.

Solidity: function isHeader(uint256 paddedHeader) pure returns(bool)

func (*HeaderHarnessSession) Leaf added in v0.0.171

func (_HeaderHarness *HeaderHarnessSession) Leaf(paddedHeader *big.Int) ([32]byte, error)

Leaf is a free data retrieval call binding the contract method 0xf472a58a.

Solidity: function leaf(uint256 paddedHeader) pure returns(bytes32)

func (*HeaderHarnessSession) Nonce added in v0.0.29

func (_HeaderHarness *HeaderHarnessSession) Nonce(paddedHeader *big.Int) (uint32, error)

Nonce is a free data retrieval call binding the contract method 0xce03fdab.

Solidity: function nonce(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessSession) OptimisticPeriod added in v0.0.171

func (_HeaderHarness *HeaderHarnessSession) OptimisticPeriod(paddedHeader *big.Int) (uint32, error)

OptimisticPeriod is a free data retrieval call binding the contract method 0x7668f03b.

Solidity: function optimisticPeriod(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessSession) Origin added in v0.0.29

func (_HeaderHarness *HeaderHarnessSession) Origin(paddedHeader *big.Int) (uint32, error)

Origin is a free data retrieval call binding the contract method 0x622db538.

Solidity: function origin(uint256 paddedHeader) pure returns(uint32)

func (*HeaderHarnessSession) WrapPadded added in v0.0.171

func (_HeaderHarness *HeaderHarnessSession) WrapPadded(paddedHeader *big.Int) (*big.Int, error)

WrapPadded is a free data retrieval call binding the contract method 0x138ac42f.

Solidity: function wrapPadded(uint256 paddedHeader) pure returns(uint136)

type HeaderHarnessTransactor

type HeaderHarnessTransactor struct {
	// contains filtered or unexported fields
}

HeaderHarnessTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewHeaderHarnessTransactor

func NewHeaderHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*HeaderHarnessTransactor, error)

NewHeaderHarnessTransactor creates a new write-only instance of HeaderHarness, bound to a specific deployed contract.

type HeaderHarnessTransactorRaw

type HeaderHarnessTransactorRaw struct {
	Contract *HeaderHarnessTransactor // Generic write-only contract binding to access the raw methods on
}

HeaderHarnessTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*HeaderHarnessTransactorRaw) Transact

func (_HeaderHarness *HeaderHarnessTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HeaderHarnessTransactorRaw) Transfer

func (_HeaderHarness *HeaderHarnessTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type HeaderHarnessTransactorSession

type HeaderHarnessTransactorSession struct {
	Contract     *HeaderHarnessTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

HeaderHarnessTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type HeaderLib added in v0.0.130

type HeaderLib struct {
	HeaderLibCaller     // Read-only binding to the contract
	HeaderLibTransactor // Write-only binding to the contract
	HeaderLibFilterer   // Log filterer for contract events
}

HeaderLib is an auto generated Go binding around an Ethereum contract.

func DeployHeaderLib added in v0.0.130

func DeployHeaderLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *HeaderLib, error)

DeployHeaderLib deploys a new Ethereum contract, binding an instance of HeaderLib to it.

func NewHeaderLib added in v0.0.130

func NewHeaderLib(address common.Address, backend bind.ContractBackend) (*HeaderLib, error)

NewHeaderLib creates a new instance of HeaderLib, bound to a specific deployed contract.

type HeaderLibCaller added in v0.0.130

type HeaderLibCaller struct {
	// contains filtered or unexported fields
}

HeaderLibCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewHeaderLibCaller added in v0.0.130

func NewHeaderLibCaller(address common.Address, caller bind.ContractCaller) (*HeaderLibCaller, error)

NewHeaderLibCaller creates a new read-only instance of HeaderLib, bound to a specific deployed contract.

type HeaderLibCallerRaw added in v0.0.130

type HeaderLibCallerRaw struct {
	Contract *HeaderLibCaller // Generic read-only contract binding to access the raw methods on
}

HeaderLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*HeaderLibCallerRaw) Call added in v0.0.130

func (_HeaderLib *HeaderLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type HeaderLibCallerSession added in v0.0.130

type HeaderLibCallerSession struct {
	Contract *HeaderLibCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

HeaderLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type HeaderLibFilterer added in v0.0.130

type HeaderLibFilterer struct {
	// contains filtered or unexported fields
}

HeaderLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewHeaderLibFilterer added in v0.0.130

func NewHeaderLibFilterer(address common.Address, filterer bind.ContractFilterer) (*HeaderLibFilterer, error)

NewHeaderLibFilterer creates a new log filterer instance of HeaderLib, bound to a specific deployed contract.

type HeaderLibRaw added in v0.0.130

type HeaderLibRaw struct {
	Contract *HeaderLib // Generic contract binding to access the raw methods on
}

HeaderLibRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*HeaderLibRaw) Call added in v0.0.130

func (_HeaderLib *HeaderLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*HeaderLibRaw) Transact added in v0.0.130

func (_HeaderLib *HeaderLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HeaderLibRaw) Transfer added in v0.0.130

func (_HeaderLib *HeaderLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type HeaderLibSession added in v0.0.130

type HeaderLibSession struct {
	Contract     *HeaderLib        // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

HeaderLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type HeaderLibTransactor added in v0.0.130

type HeaderLibTransactor struct {
	// contains filtered or unexported fields
}

HeaderLibTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewHeaderLibTransactor added in v0.0.130

func NewHeaderLibTransactor(address common.Address, transactor bind.ContractTransactor) (*HeaderLibTransactor, error)

NewHeaderLibTransactor creates a new write-only instance of HeaderLib, bound to a specific deployed contract.

type HeaderLibTransactorRaw added in v0.0.130

type HeaderLibTransactorRaw struct {
	Contract *HeaderLibTransactor // Generic write-only contract binding to access the raw methods on
}

HeaderLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*HeaderLibTransactorRaw) Transact added in v0.0.130

func (_HeaderLib *HeaderLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HeaderLibTransactorRaw) Transfer added in v0.0.130

func (_HeaderLib *HeaderLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type HeaderLibTransactorSession added in v0.0.130

type HeaderLibTransactorSession struct {
	Contract     *HeaderLibTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

HeaderLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

Jump to

Keyboard shortcuts

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