receiptharness

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Overview

Package receiptharness generates abi data for contract ReceiptHarness.t.sol

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 MemViewLibABI = MemViewLibMetaData.ABI

MemViewLibABI is the input ABI used to generate the binding from. Deprecated: Use MemViewLibMetaData.ABI instead.

View Source
var MemViewLibBin = MemViewLibMetaData.Bin

MemViewLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MemViewLibMetaData.Bin instead.

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

MemViewLibMetaData contains all meta data concerning the MemViewLib contract.

View Source
var ReceiptHarnessABI = ReceiptHarnessMetaData.ABI

ReceiptHarnessABI is the input ABI used to generate the binding from. Deprecated: Use ReceiptHarnessMetaData.ABI instead.

View Source
var ReceiptHarnessBin = ReceiptHarnessMetaData.Bin

ReceiptHarnessBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ReceiptHarnessMetaData.Bin instead.

View Source
var ReceiptHarnessFuncSigs = ReceiptHarnessMetaData.Sigs

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

View Source
var ReceiptHarnessMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"IndexedTooMuch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OccupiedMemory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PrecompileOutOfGas\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnallocatedMemory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnformattedReceipt\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ViewOverrun\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"attNotary\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"castToReceipt\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"a\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"b\",\"type\":\"bytes\"}],\"name\":\"equals\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"finalExecutor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"firstExecutor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"origin_\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"destination_\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"messageHash_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"snapshotRoot_\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"stateIndex_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"attNotary_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"firstExecutor_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"finalExecutor_\",\"type\":\"address\"}],\"name\":\"formatReceipt\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"hashInvalid\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"hashValid\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"isReceipt\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"messageHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"snapshotRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"stateIndex\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"e152a8cb": "attNotary(bytes)",
		"5cab5d3b": "castToReceipt(bytes)",
		"c81aa9c8": "destination(bytes)",
		"137e618a": "equals(bytes,bytes)",
		"f7e6a05b": "finalExecutor(bytes)",
		"27f2ee36": "firstExecutor(bytes)",
		"c3bfda6c": "formatReceipt(uint32,uint32,bytes32,bytes32,uint8,address,address,address)",
		"60cf3bf0": "hashInvalid(bytes)",
		"730dbf63": "hashValid(bytes)",
		"0bb3b580": "isReceipt(bytes)",
		"ed54c3b6": "messageHash(bytes)",
		"cb3eb0e1": "origin(bytes)",
		"854dfcd7": "snapshotRoot(bytes)",
		"595271d1": "stateIndex(bytes)",
	},
	Bin: "0x608060405234801561001057600080fd5b50610c09806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063854dfcd71161008c578063cb3eb0e111610066578063cb3eb0e1146102f5578063e152a8cb14610308578063ed54c3b61461031b578063f7e6a05b1461032e57600080fd5b8063854dfcd7146101db578063c3bfda6c146101ee578063c81aa9c8146102cd57600080fd5b8063595271d1116100c8578063595271d1146101625780635cab5d3b1461018757806360cf3bf0146101a7578063730dbf63146101c857600080fd5b80630bb3b580146100ef578063137e618a1461011757806327f2ee361461012a575b600080fd5b6101026100fd3660046109c6565b610341565b60405190151581526020015b60405180910390f35b6101026101253660046109fb565b61036d565b61013d6101383660046109c6565b61039c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010e565b6101756101703660046109c6565b6103af565b60405160ff909116815260200161010e565b61019a6101953660046109c6565b6103c2565b60405161010e9190610a5f565b6101ba6101b53660046109c6565b6103da565b60405190815260200161010e565b6101ba6101d63660046109c6565b6103f0565b6101ba6101e93660046109c6565b610406565b61019a6101fc366004610b08565b6040805160e0998a1b7fffffffff0000000000000000000000000000000000000000000000000000000090811660208301529890991b90971660248901526028880195909552604887019390935260f89190911b7fff00000000000000000000000000000000000000000000000000000000000000166068860152606090811b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000908116606987015291811b8216607d8601529190911b1660918301528051608581840301815260a5909201905290565b6102e06102db3660046109c6565b610419565b60405163ffffffff909116815260200161010e565b6102e06103033660046109c6565b61042c565b61013d6103163660046109c6565b61043f565b6101ba6103293660046109c6565b610452565b61013d61033c3660046109c6565b610465565b600061036761034f83610478565b6fffffffffffffffffffffffffffffffff1660851490565b92915050565b600061039561038361037e84610478565b610493565b61038f61037e86610478565b906104e5565b9392505050565b60006103676103aa83610501565b61050f565b60006103676103bd83610501565b61051e565b606060006103cf83610501565b905061039581610530565b60006103676103eb61037e84610478565b61058d565b600061036761040161037e84610478565b6105bb565b600061036761041483610501565b6105e7565b600061036761042783610501565b6105f9565b600061036761043a83610501565b610607565b600061036761044d83610501565b610615565b600061036761046083610501565b610622565b600061036761047383610501565b610631565b80516000906020830161048b818361063e565b949350505050565b600060856fffffffffffffffffffffffffffffffff8316146104e1576040517f76b4e13c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5090565b60006104f0826106a1565b6104f9846106a1565b149392505050565b600061036761037e83610478565b6000610367605d835b906106cc565b600061036760486001845b91906106d6565b6040518061054183602083016106f7565b506fffffffffffffffffffffffffffffffff83166000601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168301602001604052509052919050565b60006103677fdf42b2c0137811ba604f5c79e20c4d6b94770aa819cc524eca444056544f8ab7835b906107a6565b60006103677fb38669e8ca41a27fcd85729b868e8ab047d0f142073a017213e58f0a91e88ef3836105b5565b600061036760286020845b91906107e2565b600061036760048084610529565b600061036781600484610529565b6000610367604983610518565b600061036760086020846105f2565b6000610367607183610518565b60008061064b8385610b99565b905060405181111561065b575060005b80600003610695576040517f10bef38600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b608084901b831761048b565b6000806106ae8360801c90565b6fffffffffffffffffffffffffffffffff9390931690922092915050565b6000610395838360145b6000806106e48585856107e2565b602084900360031b1c9150509392505050565b6040516000906fffffffffffffffffffffffffffffffff841690608085901c9080851015610751576040517f4b2a158c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008386858560045afa905080610794576040517f7c7d772f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b608086901b8417979650505050505050565b6000816107b2846106a1565b60408051602081019390935282015260600160405160208183030381529060405280519060200120905092915050565b6000816000036107f457506000610395565b602082111561082f576040517f31d784a800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6fffffffffffffffffffffffffffffffff841661084c8385610b99565b1115610884576040517fa3b99ded00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600382901b60006108958660801c90565b909401517f80000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092019190911d16949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261092c57600080fd5b813567ffffffffffffffff80821115610947576109476108ec565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561098d5761098d6108ec565b816040528381528660208588010111156109a657600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156109d857600080fd5b813567ffffffffffffffff8111156109ef57600080fd5b61048b8482850161091b565b60008060408385031215610a0e57600080fd5b823567ffffffffffffffff80821115610a2657600080fd5b610a328683870161091b565b93506020850135915080821115610a4857600080fd5b50610a558582860161091b565b9150509250929050565b600060208083528351808285015260005b81811015610a8c57858101830151858201604001528201610a70565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803563ffffffff81168114610adf57600080fd5b919050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610adf57600080fd5b600080600080600080600080610100898b031215610b2557600080fd5b610b2e89610acb565b9750610b3c60208a01610acb565b96506040890135955060608901359450608089013560ff81168114610b6057600080fd5b9350610b6e60a08a01610ae4565b9250610b7c60c08a01610ae4565b9150610b8a60e08a01610ae4565b90509295985092959890939650565b80820180821115610367577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220b93caf0b14f17123f7eaf8f533297a403221cbafb5d951eac6f5799eb185fad864736f6c63430008110033",
}

ReceiptHarnessMetaData contains all meta data concerning the ReceiptHarness contract.

View Source
var ReceiptLibABI = ReceiptLibMetaData.ABI

ReceiptLibABI is the input ABI used to generate the binding from. Deprecated: Use ReceiptLibMetaData.ABI instead.

View Source
var ReceiptLibBin = ReceiptLibMetaData.Bin

ReceiptLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ReceiptLibMetaData.Bin instead.

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

ReceiptLibMetaData contains all meta data concerning the ReceiptLib contract.

Functions

This section is empty.

Types

type MemViewLib

type MemViewLib struct {
	MemViewLibCaller     // Read-only binding to the contract
	MemViewLibTransactor // Write-only binding to the contract
	MemViewLibFilterer   // Log filterer for contract events
}

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

func DeployMemViewLib

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

DeployMemViewLib deploys a new Ethereum contract, binding an instance of MemViewLib to it.

func NewMemViewLib

func NewMemViewLib(address common.Address, backend bind.ContractBackend) (*MemViewLib, error)

NewMemViewLib creates a new instance of MemViewLib, bound to a specific deployed contract.

type MemViewLibCaller

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

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

func NewMemViewLibCaller

func NewMemViewLibCaller(address common.Address, caller bind.ContractCaller) (*MemViewLibCaller, error)

NewMemViewLibCaller creates a new read-only instance of MemViewLib, bound to a specific deployed contract.

type MemViewLibCallerRaw

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

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

func (*MemViewLibCallerRaw) Call

func (_MemViewLib *MemViewLibCallerRaw) 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 MemViewLibCallerSession

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

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

type MemViewLibFilterer

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

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

func NewMemViewLibFilterer

func NewMemViewLibFilterer(address common.Address, filterer bind.ContractFilterer) (*MemViewLibFilterer, error)

NewMemViewLibFilterer creates a new log filterer instance of MemViewLib, bound to a specific deployed contract.

type MemViewLibRaw

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

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

func (*MemViewLibRaw) Call

func (_MemViewLib *MemViewLibRaw) 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 (*MemViewLibRaw) Transact

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

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

func (*MemViewLibRaw) Transfer

func (_MemViewLib *MemViewLibRaw) 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 MemViewLibSession

type MemViewLibSession struct {
	Contract     *MemViewLib       // 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
}

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

type MemViewLibTransactor

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

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

func NewMemViewLibTransactor

func NewMemViewLibTransactor(address common.Address, transactor bind.ContractTransactor) (*MemViewLibTransactor, error)

NewMemViewLibTransactor creates a new write-only instance of MemViewLib, bound to a specific deployed contract.

type MemViewLibTransactorRaw

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

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

func (*MemViewLibTransactorRaw) Transact

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

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

func (*MemViewLibTransactorRaw) Transfer

func (_MemViewLib *MemViewLibTransactorRaw) 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 MemViewLibTransactorSession

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

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

type ReceiptHarness

type ReceiptHarness struct {
	ReceiptHarnessCaller     // Read-only binding to the contract
	ReceiptHarnessTransactor // Write-only binding to the contract
	ReceiptHarnessFilterer   // Log filterer for contract events
}

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

func DeployReceiptHarness

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

DeployReceiptHarness deploys a new Ethereum contract, binding an instance of ReceiptHarness to it.

func NewReceiptHarness

func NewReceiptHarness(address common.Address, backend bind.ContractBackend) (*ReceiptHarness, error)

NewReceiptHarness creates a new instance of ReceiptHarness, bound to a specific deployed contract.

type ReceiptHarnessCaller

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

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

func NewReceiptHarnessCaller

func NewReceiptHarnessCaller(address common.Address, caller bind.ContractCaller) (*ReceiptHarnessCaller, error)

NewReceiptHarnessCaller creates a new read-only instance of ReceiptHarness, bound to a specific deployed contract.

func (*ReceiptHarnessCaller) AttNotary

func (_ReceiptHarness *ReceiptHarnessCaller) AttNotary(opts *bind.CallOpts, payload []byte) (common.Address, error)

AttNotary is a free data retrieval call binding the contract method 0xe152a8cb.

Solidity: function attNotary(bytes payload) pure returns(address)

func (*ReceiptHarnessCaller) CastToReceipt

func (_ReceiptHarness *ReceiptHarnessCaller) CastToReceipt(opts *bind.CallOpts, payload []byte) ([]byte, error)

CastToReceipt is a free data retrieval call binding the contract method 0x5cab5d3b.

Solidity: function castToReceipt(bytes payload) view returns(bytes)

func (*ReceiptHarnessCaller) Destination

func (_ReceiptHarness *ReceiptHarnessCaller) Destination(opts *bind.CallOpts, payload []byte) (uint32, error)

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

Solidity: function destination(bytes payload) pure returns(uint32)

func (*ReceiptHarnessCaller) Equals

func (_ReceiptHarness *ReceiptHarnessCaller) Equals(opts *bind.CallOpts, a []byte, b []byte) (bool, error)

Equals is a free data retrieval call binding the contract method 0x137e618a.

Solidity: function equals(bytes a, bytes b) pure returns(bool)

func (*ReceiptHarnessCaller) FinalExecutor

func (_ReceiptHarness *ReceiptHarnessCaller) FinalExecutor(opts *bind.CallOpts, payload []byte) (common.Address, error)

FinalExecutor is a free data retrieval call binding the contract method 0xf7e6a05b.

Solidity: function finalExecutor(bytes payload) pure returns(address)

func (*ReceiptHarnessCaller) FirstExecutor

func (_ReceiptHarness *ReceiptHarnessCaller) FirstExecutor(opts *bind.CallOpts, payload []byte) (common.Address, error)

FirstExecutor is a free data retrieval call binding the contract method 0x27f2ee36.

Solidity: function firstExecutor(bytes payload) pure returns(address)

func (*ReceiptHarnessCaller) FormatReceipt

func (_ReceiptHarness *ReceiptHarnessCaller) FormatReceipt(opts *bind.CallOpts, origin_ uint32, destination_ uint32, messageHash_ [32]byte, snapshotRoot_ [32]byte, stateIndex_ uint8, attNotary_ common.Address, firstExecutor_ common.Address, finalExecutor_ common.Address) ([]byte, error)

FormatReceipt is a free data retrieval call binding the contract method 0xc3bfda6c.

Solidity: function formatReceipt(uint32 origin_, uint32 destination_, bytes32 messageHash_, bytes32 snapshotRoot_, uint8 stateIndex_, address attNotary_, address firstExecutor_, address finalExecutor_) pure returns(bytes)

func (*ReceiptHarnessCaller) HashInvalid

func (_ReceiptHarness *ReceiptHarnessCaller) HashInvalid(opts *bind.CallOpts, payload []byte) ([32]byte, error)

HashInvalid is a free data retrieval call binding the contract method 0x60cf3bf0.

Solidity: function hashInvalid(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessCaller) HashValid

func (_ReceiptHarness *ReceiptHarnessCaller) HashValid(opts *bind.CallOpts, payload []byte) ([32]byte, error)

HashValid is a free data retrieval call binding the contract method 0x730dbf63.

Solidity: function hashValid(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessCaller) IsReceipt

func (_ReceiptHarness *ReceiptHarnessCaller) IsReceipt(opts *bind.CallOpts, payload []byte) (bool, error)

IsReceipt is a free data retrieval call binding the contract method 0x0bb3b580.

Solidity: function isReceipt(bytes payload) pure returns(bool)

func (*ReceiptHarnessCaller) MessageHash

func (_ReceiptHarness *ReceiptHarnessCaller) MessageHash(opts *bind.CallOpts, payload []byte) ([32]byte, error)

MessageHash is a free data retrieval call binding the contract method 0xed54c3b6.

Solidity: function messageHash(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessCaller) Origin

func (_ReceiptHarness *ReceiptHarnessCaller) Origin(opts *bind.CallOpts, payload []byte) (uint32, error)

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

Solidity: function origin(bytes payload) pure returns(uint32)

func (*ReceiptHarnessCaller) SnapshotRoot

func (_ReceiptHarness *ReceiptHarnessCaller) SnapshotRoot(opts *bind.CallOpts, payload []byte) ([32]byte, error)

SnapshotRoot is a free data retrieval call binding the contract method 0x854dfcd7.

Solidity: function snapshotRoot(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessCaller) StateIndex

func (_ReceiptHarness *ReceiptHarnessCaller) StateIndex(opts *bind.CallOpts, payload []byte) (uint8, error)

StateIndex is a free data retrieval call binding the contract method 0x595271d1.

Solidity: function stateIndex(bytes payload) pure returns(uint8)

type ReceiptHarnessCallerRaw

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

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

func (*ReceiptHarnessCallerRaw) Call

func (_ReceiptHarness *ReceiptHarnessCallerRaw) 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 ReceiptHarnessCallerSession

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

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

func (*ReceiptHarnessCallerSession) AttNotary

func (_ReceiptHarness *ReceiptHarnessCallerSession) AttNotary(payload []byte) (common.Address, error)

AttNotary is a free data retrieval call binding the contract method 0xe152a8cb.

Solidity: function attNotary(bytes payload) pure returns(address)

func (*ReceiptHarnessCallerSession) CastToReceipt

func (_ReceiptHarness *ReceiptHarnessCallerSession) CastToReceipt(payload []byte) ([]byte, error)

CastToReceipt is a free data retrieval call binding the contract method 0x5cab5d3b.

Solidity: function castToReceipt(bytes payload) view returns(bytes)

func (*ReceiptHarnessCallerSession) Destination

func (_ReceiptHarness *ReceiptHarnessCallerSession) Destination(payload []byte) (uint32, error)

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

Solidity: function destination(bytes payload) pure returns(uint32)

func (*ReceiptHarnessCallerSession) Equals

func (_ReceiptHarness *ReceiptHarnessCallerSession) Equals(a []byte, b []byte) (bool, error)

Equals is a free data retrieval call binding the contract method 0x137e618a.

Solidity: function equals(bytes a, bytes b) pure returns(bool)

func (*ReceiptHarnessCallerSession) FinalExecutor

func (_ReceiptHarness *ReceiptHarnessCallerSession) FinalExecutor(payload []byte) (common.Address, error)

FinalExecutor is a free data retrieval call binding the contract method 0xf7e6a05b.

Solidity: function finalExecutor(bytes payload) pure returns(address)

func (*ReceiptHarnessCallerSession) FirstExecutor

func (_ReceiptHarness *ReceiptHarnessCallerSession) FirstExecutor(payload []byte) (common.Address, error)

FirstExecutor is a free data retrieval call binding the contract method 0x27f2ee36.

Solidity: function firstExecutor(bytes payload) pure returns(address)

func (*ReceiptHarnessCallerSession) FormatReceipt

func (_ReceiptHarness *ReceiptHarnessCallerSession) FormatReceipt(origin_ uint32, destination_ uint32, messageHash_ [32]byte, snapshotRoot_ [32]byte, stateIndex_ uint8, attNotary_ common.Address, firstExecutor_ common.Address, finalExecutor_ common.Address) ([]byte, error)

FormatReceipt is a free data retrieval call binding the contract method 0xc3bfda6c.

Solidity: function formatReceipt(uint32 origin_, uint32 destination_, bytes32 messageHash_, bytes32 snapshotRoot_, uint8 stateIndex_, address attNotary_, address firstExecutor_, address finalExecutor_) pure returns(bytes)

func (*ReceiptHarnessCallerSession) HashInvalid

func (_ReceiptHarness *ReceiptHarnessCallerSession) HashInvalid(payload []byte) ([32]byte, error)

HashInvalid is a free data retrieval call binding the contract method 0x60cf3bf0.

Solidity: function hashInvalid(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessCallerSession) HashValid

func (_ReceiptHarness *ReceiptHarnessCallerSession) HashValid(payload []byte) ([32]byte, error)

HashValid is a free data retrieval call binding the contract method 0x730dbf63.

Solidity: function hashValid(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessCallerSession) IsReceipt

func (_ReceiptHarness *ReceiptHarnessCallerSession) IsReceipt(payload []byte) (bool, error)

IsReceipt is a free data retrieval call binding the contract method 0x0bb3b580.

Solidity: function isReceipt(bytes payload) pure returns(bool)

func (*ReceiptHarnessCallerSession) MessageHash

func (_ReceiptHarness *ReceiptHarnessCallerSession) MessageHash(payload []byte) ([32]byte, error)

MessageHash is a free data retrieval call binding the contract method 0xed54c3b6.

Solidity: function messageHash(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessCallerSession) Origin

func (_ReceiptHarness *ReceiptHarnessCallerSession) Origin(payload []byte) (uint32, error)

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

Solidity: function origin(bytes payload) pure returns(uint32)

func (*ReceiptHarnessCallerSession) SnapshotRoot

func (_ReceiptHarness *ReceiptHarnessCallerSession) SnapshotRoot(payload []byte) ([32]byte, error)

SnapshotRoot is a free data retrieval call binding the contract method 0x854dfcd7.

Solidity: function snapshotRoot(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessCallerSession) StateIndex

func (_ReceiptHarness *ReceiptHarnessCallerSession) StateIndex(payload []byte) (uint8, error)

StateIndex is a free data retrieval call binding the contract method 0x595271d1.

Solidity: function stateIndex(bytes payload) pure returns(uint8)

type ReceiptHarnessFilterer

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

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

func NewReceiptHarnessFilterer

func NewReceiptHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*ReceiptHarnessFilterer, error)

NewReceiptHarnessFilterer creates a new log filterer instance of ReceiptHarness, bound to a specific deployed contract.

type ReceiptHarnessRaw

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

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

func (*ReceiptHarnessRaw) Call

func (_ReceiptHarness *ReceiptHarnessRaw) 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 (*ReceiptHarnessRaw) Transact

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

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

func (*ReceiptHarnessRaw) Transfer

func (_ReceiptHarness *ReceiptHarnessRaw) 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 ReceiptHarnessRef

type ReceiptHarnessRef struct {
	*ReceiptHarness
	// contains filtered or unexported fields
}

ReceiptHarnessRef is a receipt harness reference

func NewReceiptHarnessRef

func NewReceiptHarnessRef(address common.Address, backend bind.ContractBackend) (*ReceiptHarnessRef, error)

NewReceiptHarnessRef creates a new receipt harness.

func (ReceiptHarnessRef) Address

func (h ReceiptHarnessRef) Address() common.Address

Address gets the address of the contract.

type ReceiptHarnessSession

type ReceiptHarnessSession struct {
	Contract     *ReceiptHarness   // 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
}

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

func (*ReceiptHarnessSession) AttNotary

func (_ReceiptHarness *ReceiptHarnessSession) AttNotary(payload []byte) (common.Address, error)

AttNotary is a free data retrieval call binding the contract method 0xe152a8cb.

Solidity: function attNotary(bytes payload) pure returns(address)

func (*ReceiptHarnessSession) CastToReceipt

func (_ReceiptHarness *ReceiptHarnessSession) CastToReceipt(payload []byte) ([]byte, error)

CastToReceipt is a free data retrieval call binding the contract method 0x5cab5d3b.

Solidity: function castToReceipt(bytes payload) view returns(bytes)

func (*ReceiptHarnessSession) Destination

func (_ReceiptHarness *ReceiptHarnessSession) Destination(payload []byte) (uint32, error)

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

Solidity: function destination(bytes payload) pure returns(uint32)

func (*ReceiptHarnessSession) Equals

func (_ReceiptHarness *ReceiptHarnessSession) Equals(a []byte, b []byte) (bool, error)

Equals is a free data retrieval call binding the contract method 0x137e618a.

Solidity: function equals(bytes a, bytes b) pure returns(bool)

func (*ReceiptHarnessSession) FinalExecutor

func (_ReceiptHarness *ReceiptHarnessSession) FinalExecutor(payload []byte) (common.Address, error)

FinalExecutor is a free data retrieval call binding the contract method 0xf7e6a05b.

Solidity: function finalExecutor(bytes payload) pure returns(address)

func (*ReceiptHarnessSession) FirstExecutor

func (_ReceiptHarness *ReceiptHarnessSession) FirstExecutor(payload []byte) (common.Address, error)

FirstExecutor is a free data retrieval call binding the contract method 0x27f2ee36.

Solidity: function firstExecutor(bytes payload) pure returns(address)

func (*ReceiptHarnessSession) FormatReceipt

func (_ReceiptHarness *ReceiptHarnessSession) FormatReceipt(origin_ uint32, destination_ uint32, messageHash_ [32]byte, snapshotRoot_ [32]byte, stateIndex_ uint8, attNotary_ common.Address, firstExecutor_ common.Address, finalExecutor_ common.Address) ([]byte, error)

FormatReceipt is a free data retrieval call binding the contract method 0xc3bfda6c.

Solidity: function formatReceipt(uint32 origin_, uint32 destination_, bytes32 messageHash_, bytes32 snapshotRoot_, uint8 stateIndex_, address attNotary_, address firstExecutor_, address finalExecutor_) pure returns(bytes)

func (*ReceiptHarnessSession) HashInvalid

func (_ReceiptHarness *ReceiptHarnessSession) HashInvalid(payload []byte) ([32]byte, error)

HashInvalid is a free data retrieval call binding the contract method 0x60cf3bf0.

Solidity: function hashInvalid(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessSession) HashValid

func (_ReceiptHarness *ReceiptHarnessSession) HashValid(payload []byte) ([32]byte, error)

HashValid is a free data retrieval call binding the contract method 0x730dbf63.

Solidity: function hashValid(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessSession) IsReceipt

func (_ReceiptHarness *ReceiptHarnessSession) IsReceipt(payload []byte) (bool, error)

IsReceipt is a free data retrieval call binding the contract method 0x0bb3b580.

Solidity: function isReceipt(bytes payload) pure returns(bool)

func (*ReceiptHarnessSession) MessageHash

func (_ReceiptHarness *ReceiptHarnessSession) MessageHash(payload []byte) ([32]byte, error)

MessageHash is a free data retrieval call binding the contract method 0xed54c3b6.

Solidity: function messageHash(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessSession) Origin

func (_ReceiptHarness *ReceiptHarnessSession) Origin(payload []byte) (uint32, error)

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

Solidity: function origin(bytes payload) pure returns(uint32)

func (*ReceiptHarnessSession) SnapshotRoot

func (_ReceiptHarness *ReceiptHarnessSession) SnapshotRoot(payload []byte) ([32]byte, error)

SnapshotRoot is a free data retrieval call binding the contract method 0x854dfcd7.

Solidity: function snapshotRoot(bytes payload) pure returns(bytes32)

func (*ReceiptHarnessSession) StateIndex

func (_ReceiptHarness *ReceiptHarnessSession) StateIndex(payload []byte) (uint8, error)

StateIndex is a free data retrieval call binding the contract method 0x595271d1.

Solidity: function stateIndex(bytes payload) pure returns(uint8)

type ReceiptHarnessTransactor

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

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

func NewReceiptHarnessTransactor

func NewReceiptHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*ReceiptHarnessTransactor, error)

NewReceiptHarnessTransactor creates a new write-only instance of ReceiptHarness, bound to a specific deployed contract.

type ReceiptHarnessTransactorRaw

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

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

func (*ReceiptHarnessTransactorRaw) Transact

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

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

func (*ReceiptHarnessTransactorRaw) Transfer

func (_ReceiptHarness *ReceiptHarnessTransactorRaw) 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 ReceiptHarnessTransactorSession

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

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

type ReceiptLib

type ReceiptLib struct {
	ReceiptLibCaller     // Read-only binding to the contract
	ReceiptLibTransactor // Write-only binding to the contract
	ReceiptLibFilterer   // Log filterer for contract events
}

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

func DeployReceiptLib

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

DeployReceiptLib deploys a new Ethereum contract, binding an instance of ReceiptLib to it.

func NewReceiptLib

func NewReceiptLib(address common.Address, backend bind.ContractBackend) (*ReceiptLib, error)

NewReceiptLib creates a new instance of ReceiptLib, bound to a specific deployed contract.

type ReceiptLibCaller

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

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

func NewReceiptLibCaller

func NewReceiptLibCaller(address common.Address, caller bind.ContractCaller) (*ReceiptLibCaller, error)

NewReceiptLibCaller creates a new read-only instance of ReceiptLib, bound to a specific deployed contract.

type ReceiptLibCallerRaw

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

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

func (*ReceiptLibCallerRaw) Call

func (_ReceiptLib *ReceiptLibCallerRaw) 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 ReceiptLibCallerSession

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

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

type ReceiptLibFilterer

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

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

func NewReceiptLibFilterer

func NewReceiptLibFilterer(address common.Address, filterer bind.ContractFilterer) (*ReceiptLibFilterer, error)

NewReceiptLibFilterer creates a new log filterer instance of ReceiptLib, bound to a specific deployed contract.

type ReceiptLibRaw

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

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

func (*ReceiptLibRaw) Call

func (_ReceiptLib *ReceiptLibRaw) 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 (*ReceiptLibRaw) Transact

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

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

func (*ReceiptLibRaw) Transfer

func (_ReceiptLib *ReceiptLibRaw) 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 ReceiptLibSession

type ReceiptLibSession struct {
	Contract     *ReceiptLib       // 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
}

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

type ReceiptLibTransactor

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

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

func NewReceiptLibTransactor

func NewReceiptLibTransactor(address common.Address, transactor bind.ContractTransactor) (*ReceiptLibTransactor, error)

NewReceiptLibTransactor creates a new write-only instance of ReceiptLib, bound to a specific deployed contract.

type ReceiptLibTransactorRaw

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

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

func (*ReceiptLibTransactorRaw) Transact

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

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

func (*ReceiptLibTransactorRaw) Transfer

func (_ReceiptLib *ReceiptLibTransactorRaw) 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 ReceiptLibTransactorSession

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

ReceiptLibTransactorSession 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