BridgeMessageReceiver

package
v0.0.2-RC2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: GPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BridgeMessageReceiverABI = BridgeMessageReceiverMetaData.ABI

BridgeMessageReceiverABI is the input ABI used to generate the binding from. Deprecated: Use BridgeMessageReceiverMetaData.ABI instead.

View Source
var BridgeMessageReceiverBin = BridgeMessageReceiverMetaData.Bin

BridgeMessageReceiverBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BridgeMessageReceiverMetaData.Bin instead.

View Source
var BridgeMessageReceiverMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"originAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onMessageReceived\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b506101ac806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80631806b5f214610030575b600080fd5b61004361003e36600461008b565b610057565b604051901515815260200160405180910390f35b6000815160001461006a5750600161006e565b5060005b9392505050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156100a057600080fd5b83356001600160a01b03811681146100b757600080fd5b9250602084013563ffffffff811681146100d057600080fd5b9150604084013567ffffffffffffffff808211156100ed57600080fd5b818601915086601f83011261010157600080fd5b81358181111561011357610113610075565b604051601f8201601f19908116603f0116810190838211818310171561013b5761013b610075565b8160405282815289602084870101111561015457600080fd5b826020860160208301376000602084830101528095505050505050925092509256fea2646970667358221220d1f864f32135d4bdd9143aade261b52923985c767a3e688bfbac8f431fd5960164736f6c634300080f0033",
}

BridgeMessageReceiverMetaData contains all meta data concerning the BridgeMessageReceiver contract.

Functions

This section is empty.

Types

type BridgeMessageReceiver

type BridgeMessageReceiver struct {
	BridgeMessageReceiverCaller     // Read-only binding to the contract
	BridgeMessageReceiverTransactor // Write-only binding to the contract
	BridgeMessageReceiverFilterer   // Log filterer for contract events
}

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

func DeployBridgeMessageReceiver

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

DeployBridgeMessageReceiver deploys a new Ethereum contract, binding an instance of BridgeMessageReceiver to it.

func NewBridgeMessageReceiver

func NewBridgeMessageReceiver(address common.Address, backend bind.ContractBackend) (*BridgeMessageReceiver, error)

NewBridgeMessageReceiver creates a new instance of BridgeMessageReceiver, bound to a specific deployed contract.

type BridgeMessageReceiverCaller

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

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

func NewBridgeMessageReceiverCaller

func NewBridgeMessageReceiverCaller(address common.Address, caller bind.ContractCaller) (*BridgeMessageReceiverCaller, error)

NewBridgeMessageReceiverCaller creates a new read-only instance of BridgeMessageReceiver, bound to a specific deployed contract.

func (*BridgeMessageReceiverCaller) OnMessageReceived

func (_BridgeMessageReceiver *BridgeMessageReceiverCaller) OnMessageReceived(opts *bind.CallOpts, originAddress common.Address, originNetwork uint32, data []byte) (bool, error)

OnMessageReceived is a free data retrieval call binding the contract method 0x1806b5f2.

Solidity: function onMessageReceived(address originAddress, uint32 originNetwork, bytes data) view returns(bool)

type BridgeMessageReceiverCallerRaw

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

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

func (*BridgeMessageReceiverCallerRaw) Call

func (_BridgeMessageReceiver *BridgeMessageReceiverCallerRaw) 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 BridgeMessageReceiverCallerSession

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

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

func (*BridgeMessageReceiverCallerSession) OnMessageReceived

func (_BridgeMessageReceiver *BridgeMessageReceiverCallerSession) OnMessageReceived(originAddress common.Address, originNetwork uint32, data []byte) (bool, error)

OnMessageReceived is a free data retrieval call binding the contract method 0x1806b5f2.

Solidity: function onMessageReceived(address originAddress, uint32 originNetwork, bytes data) view returns(bool)

type BridgeMessageReceiverFilterer

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

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

func NewBridgeMessageReceiverFilterer

func NewBridgeMessageReceiverFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeMessageReceiverFilterer, error)

NewBridgeMessageReceiverFilterer creates a new log filterer instance of BridgeMessageReceiver, bound to a specific deployed contract.

type BridgeMessageReceiverRaw

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

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

func (*BridgeMessageReceiverRaw) Call

func (_BridgeMessageReceiver *BridgeMessageReceiverRaw) 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 (*BridgeMessageReceiverRaw) Transact

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

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

func (*BridgeMessageReceiverRaw) Transfer

func (_BridgeMessageReceiver *BridgeMessageReceiverRaw) 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 BridgeMessageReceiverSession

type BridgeMessageReceiverSession struct {
	Contract     *BridgeMessageReceiver // 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
}

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

func (*BridgeMessageReceiverSession) OnMessageReceived

func (_BridgeMessageReceiver *BridgeMessageReceiverSession) OnMessageReceived(originAddress common.Address, originNetwork uint32, data []byte) (bool, error)

OnMessageReceived is a free data retrieval call binding the contract method 0x1806b5f2.

Solidity: function onMessageReceived(address originAddress, uint32 originNetwork, bytes data) view returns(bool)

type BridgeMessageReceiverTransactor

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

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

func NewBridgeMessageReceiverTransactor

func NewBridgeMessageReceiverTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeMessageReceiverTransactor, error)

NewBridgeMessageReceiverTransactor creates a new write-only instance of BridgeMessageReceiver, bound to a specific deployed contract.

type BridgeMessageReceiverTransactorRaw

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

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

func (*BridgeMessageReceiverTransactorRaw) Transact

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

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

func (*BridgeMessageReceiverTransactorRaw) Transfer

func (_BridgeMessageReceiver *BridgeMessageReceiverTransactorRaw) 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 BridgeMessageReceiverTransactorSession

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

BridgeMessageReceiverTransactorSession 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