mockmessagetransmitter

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package mockmessagetransmitter contains an interface for interacting with circles Cross-Chain transfer protocol.

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 IMessageTransmitterABI = IMessageTransmitterMetaData.ABI

IMessageTransmitterABI is the input ABI used to generate the binding from. Deprecated: Use IMessageTransmitterMetaData.ABI instead.

View Source
var IMessageTransmitterFuncSigs = IMessageTransmitterMetaData.Sigs

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

View Source
var IMessageTransmitterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextAvailableNonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"receiveMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destinationDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"recipient\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"destinationCaller\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"messageBody\",\"type\":\"bytes\"}],\"name\":\"sendMessageWithCaller\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"8d3638f4": "localDomain()",
		"8371744e": "nextAvailableNonce()",
		"57ecfd28": "receiveMessage(bytes,bytes)",
		"f7259a75": "sendMessageWithCaller(uint32,bytes32,bytes32,bytes)",
	},
}

IMessageTransmitterMetaData contains all meta data concerning the IMessageTransmitter contract.

View Source
var ITokenMessengerABI = ITokenMessengerMetaData.ABI

ITokenMessengerABI is the input ABI used to generate the binding from. Deprecated: Use ITokenMessengerMetaData.ABI instead.

View Source
var ITokenMessengerFuncSigs = ITokenMessengerMetaData.Sigs

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

View Source
var ITokenMessengerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"destinationDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"mintRecipient\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"burnToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"destinationCaller\",\"type\":\"bytes32\"}],\"name\":\"depositForBurnWithCaller\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"remoteDomain\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"sender\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"messageBody\",\"type\":\"bytes\"}],\"name\":\"handleReceiveMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localMessageTransmitter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localMinter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"f856ddb6": "depositForBurnWithCaller(uint256,uint32,bytes32,address,bytes32)",
		"96abeb70": "handleReceiveMessage(uint32,bytes32,bytes)",
		"2c121921": "localMessageTransmitter()",
		"cb75c11c": "localMinter()",
	},
}

ITokenMessengerMetaData contains all meta data concerning the ITokenMessenger contract.

View Source
var MessageSentTopic common.Hash

MessageSentTopic is the topic that gets emitted when the sent event is called.

View Source
var MessageTransmitterEventsABI = MessageTransmitterEventsMetaData.ABI

MessageTransmitterEventsABI is the input ABI used to generate the binding from. Deprecated: Use MessageTransmitterEventsMetaData.ABI instead.

View Source
var MessageTransmitterEventsMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"sourceDomain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"sender\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"messageBody\",\"type\":\"bytes\"}],\"name\":\"MessageReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"MessageSent\",\"type\":\"event\"}]",
}

MessageTransmitterEventsMetaData contains all meta data concerning the MessageTransmitterEvents contract.

View Source
var MockMessageTransmitterABI = MockMessageTransmitterMetaData.ABI

MockMessageTransmitterABI is the input ABI used to generate the binding from. Deprecated: Use MockMessageTransmitterMetaData.ABI instead.

View Source
var MockMessageTransmitterBin = MockMessageTransmitterMetaData.Bin

MockMessageTransmitterBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MockMessageTransmitterMetaData.Bin instead.

View Source
var MockMessageTransmitterFuncSigs = MockMessageTransmitterMetaData.Sigs

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

View Source
var MockMessageTransmitterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"localDomain_\",\"type\":\"uint32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"sourceDomain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"sender\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"messageBody\",\"type\":\"bytes\"}],\"name\":\"MessageReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"MessageSent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"SignatureReceived\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"remoteDomain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"destinationCaller\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"messageBody\",\"type\":\"bytes\"}],\"name\":\"formatMessage\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextAvailableNonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"receiveMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"recipient\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"destinationCaller\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"messageBody\",\"type\":\"bytes\"}],\"name\":\"sendMessageWithCaller\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"reservedNonce\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"d81bbe02": "formatMessage(uint32,address,address,bytes32,bytes)",
		"8d3638f4": "localDomain()",
		"8371744e": "nextAvailableNonce()",
		"57ecfd28": "receiveMessage(bytes,bytes)",
		"f7259a75": "sendMessageWithCaller(uint32,bytes32,bytes32,bytes)",
	},
	Bin: "0x608060405234801561001057600080fd5b50604051610a42380380610a4283398101604081905261002f91610057565b600080546001600160601b03191663ffffffff90921691909117640100000000179055610084565b60006020828403121561006957600080fd5b815163ffffffff8116811461007d57600080fd5b9392505050565b6109af806100936000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80638d3638f4116100505780638d3638f4146100c9578063d81bbe02146100ee578063f7259a751461010e57600080fd5b806357ecfd281461006c5780638371744e14610094575b600080fd5b61007f61007a3660046104dd565b610121565b60405190151581526020015b60405180910390f35b6000546100b090640100000000900467ffffffffffffffff1681565b60405167ffffffffffffffff909116815260200161008b565b6000546100d99063ffffffff1681565b60405163ffffffff909116815260200161008b565b6101016100fc366004610661565b610382565b60405161008b9190610742565b6100b061011c36600461075c565b6103b7565b600060018290036101345750600061037a565b61013f6041836107c4565b156101ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f496e76616c6964206174746573746174696f6e206c656e67746800000000000060448201526064015b60405180910390fd5b6000808080806101bd898b018b6107ff565b939850919650945092509050811561023857338214610238576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f496e76616c69642063616c6c657220666f72206d65737361676500000000000060448201526064016101a2565b6040517f96abeb7000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906396abeb709061028e90889088908690600401610837565b6020604051808303816000875af11580156102ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d19190610865565b610337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f68616e646c65526563656976654d6573736167652829206661696c656400000060448201526064016101a2565b7fd5abd8bafd66536a7715960b4606ae43cbe944953190b51b2e984dff14d6b6108888604051610368929190610887565b60405180910390a16001955050505050505b949350505050565b6060858585858560405160200161039d9594939291906108d4565b604051602081830303815290604052905095945050505050565b600054640100000000900467ffffffffffffffff166103d781600161092a565b600060046101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b03661047660008054906101000a900463ffffffff16338860001c8888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061038292505050565b6040516104839190610742565b60405180910390a195945050505050565b60008083601f8401126104a657600080fd5b50813567ffffffffffffffff8111156104be57600080fd5b6020830191508360208285010111156104d657600080fd5b9250929050565b600080600080604085870312156104f357600080fd5b843567ffffffffffffffff8082111561050b57600080fd5b61051788838901610494565b9096509450602087013591508082111561053057600080fd5b5061053d87828801610494565b95989497509550505050565b803563ffffffff8116811461055d57600080fd5b919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461058457600080fd5b50565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126105c757600080fd5b813567ffffffffffffffff808211156105e2576105e2610587565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561062857610628610587565b8160405283815286602085880101111561064157600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080600060a0868803121561067957600080fd5b61068286610549565b9450602086013561069281610562565b935060408601356106a281610562565b925060608601359150608086013567ffffffffffffffff8111156106c557600080fd5b6106d1888289016105b6565b9150509295509295909350565b6000815180845260005b81811015610704576020818501810151868301820152016106e8565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b60208152600061075560208301846106de565b9392505050565b60008060008060006080868803121561077457600080fd5b61077d86610549565b94506020860135935060408601359250606086013567ffffffffffffffff8111156107a757600080fd5b6107b388828901610494565b969995985093965092949392505050565b6000826107fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500690565b600080600080600060a0868803121561081757600080fd5b61082086610549565b94506020860135935060408601356106a281610562565b63ffffffff8416815282602082015260606040820152600061085c60608301846106de565b95945050505050565b60006020828403121561087757600080fd5b8151801515811461075557600080fd5b60208152816020820152818360408301376000818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b63ffffffff86168152600073ffffffffffffffffffffffffffffffffffffffff808716602084015280861660408401525083606083015260a0608083015261091f60a08301846106de565b979650505050505050565b67ffffffffffffffff818116838216019080821115610972577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b509291505056fea26469706673582212207c37228c4ae7cd15c4835c68e07402b56b73d3dab056c5e4d7ff06bdb231368464736f6c63430008110033",
}

MockMessageTransmitterMetaData contains all meta data concerning the MockMessageTransmitter contract.

Functions

This section is empty.

Types

type IMessageTransmitter

type IMessageTransmitter struct {
	IMessageTransmitterCaller     // Read-only binding to the contract
	IMessageTransmitterTransactor // Write-only binding to the contract
	IMessageTransmitterFilterer   // Log filterer for contract events
}

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

func NewIMessageTransmitter

func NewIMessageTransmitter(address common.Address, backend bind.ContractBackend) (*IMessageTransmitter, error)

NewIMessageTransmitter creates a new instance of IMessageTransmitter, bound to a specific deployed contract.

type IMessageTransmitterCaller

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

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

func NewIMessageTransmitterCaller

func NewIMessageTransmitterCaller(address common.Address, caller bind.ContractCaller) (*IMessageTransmitterCaller, error)

NewIMessageTransmitterCaller creates a new read-only instance of IMessageTransmitter, bound to a specific deployed contract.

func (*IMessageTransmitterCaller) LocalDomain

func (_IMessageTransmitter *IMessageTransmitterCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*IMessageTransmitterCaller) NextAvailableNonce

func (_IMessageTransmitter *IMessageTransmitterCaller) NextAvailableNonce(opts *bind.CallOpts) (uint64, error)

NextAvailableNonce is a free data retrieval call binding the contract method 0x8371744e.

Solidity: function nextAvailableNonce() view returns(uint64)

type IMessageTransmitterCallerRaw

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

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

func (*IMessageTransmitterCallerRaw) Call

func (_IMessageTransmitter *IMessageTransmitterCallerRaw) 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 IMessageTransmitterCallerSession

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

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

func (*IMessageTransmitterCallerSession) LocalDomain

func (_IMessageTransmitter *IMessageTransmitterCallerSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*IMessageTransmitterCallerSession) NextAvailableNonce

func (_IMessageTransmitter *IMessageTransmitterCallerSession) NextAvailableNonce() (uint64, error)

NextAvailableNonce is a free data retrieval call binding the contract method 0x8371744e.

Solidity: function nextAvailableNonce() view returns(uint64)

type IMessageTransmitterFilterer

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

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

func NewIMessageTransmitterFilterer

func NewIMessageTransmitterFilterer(address common.Address, filterer bind.ContractFilterer) (*IMessageTransmitterFilterer, error)

NewIMessageTransmitterFilterer creates a new log filterer instance of IMessageTransmitter, bound to a specific deployed contract.

type IMessageTransmitterRaw

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

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

func (*IMessageTransmitterRaw) Call

func (_IMessageTransmitter *IMessageTransmitterRaw) 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 (*IMessageTransmitterRaw) Transact

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

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

func (*IMessageTransmitterRaw) Transfer

func (_IMessageTransmitter *IMessageTransmitterRaw) 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 IMessageTransmitterSession

type IMessageTransmitterSession struct {
	Contract     *IMessageTransmitter // 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
}

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

func (*IMessageTransmitterSession) LocalDomain

func (_IMessageTransmitter *IMessageTransmitterSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*IMessageTransmitterSession) NextAvailableNonce

func (_IMessageTransmitter *IMessageTransmitterSession) NextAvailableNonce() (uint64, error)

NextAvailableNonce is a free data retrieval call binding the contract method 0x8371744e.

Solidity: function nextAvailableNonce() view returns(uint64)

func (*IMessageTransmitterSession) ReceiveMessage

func (_IMessageTransmitter *IMessageTransmitterSession) ReceiveMessage(message []byte, signature []byte) (*types.Transaction, error)

ReceiveMessage is a paid mutator transaction binding the contract method 0x57ecfd28.

Solidity: function receiveMessage(bytes message, bytes signature) returns(bool success)

func (*IMessageTransmitterSession) SendMessageWithCaller

func (_IMessageTransmitter *IMessageTransmitterSession) SendMessageWithCaller(destinationDomain uint32, recipient [32]byte, destinationCaller [32]byte, messageBody []byte) (*types.Transaction, error)

SendMessageWithCaller is a paid mutator transaction binding the contract method 0xf7259a75.

Solidity: function sendMessageWithCaller(uint32 destinationDomain, bytes32 recipient, bytes32 destinationCaller, bytes messageBody) returns(uint64)

type IMessageTransmitterTransactor

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

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

func NewIMessageTransmitterTransactor

func NewIMessageTransmitterTransactor(address common.Address, transactor bind.ContractTransactor) (*IMessageTransmitterTransactor, error)

NewIMessageTransmitterTransactor creates a new write-only instance of IMessageTransmitter, bound to a specific deployed contract.

func (*IMessageTransmitterTransactor) ReceiveMessage

func (_IMessageTransmitter *IMessageTransmitterTransactor) ReceiveMessage(opts *bind.TransactOpts, message []byte, signature []byte) (*types.Transaction, error)

ReceiveMessage is a paid mutator transaction binding the contract method 0x57ecfd28.

Solidity: function receiveMessage(bytes message, bytes signature) returns(bool success)

func (*IMessageTransmitterTransactor) SendMessageWithCaller

func (_IMessageTransmitter *IMessageTransmitterTransactor) SendMessageWithCaller(opts *bind.TransactOpts, destinationDomain uint32, recipient [32]byte, destinationCaller [32]byte, messageBody []byte) (*types.Transaction, error)

SendMessageWithCaller is a paid mutator transaction binding the contract method 0xf7259a75.

Solidity: function sendMessageWithCaller(uint32 destinationDomain, bytes32 recipient, bytes32 destinationCaller, bytes messageBody) returns(uint64)

type IMessageTransmitterTransactorRaw

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

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

func (*IMessageTransmitterTransactorRaw) Transact

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

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

func (*IMessageTransmitterTransactorRaw) Transfer

func (_IMessageTransmitter *IMessageTransmitterTransactorRaw) 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 IMessageTransmitterTransactorSession

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

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

func (*IMessageTransmitterTransactorSession) ReceiveMessage

func (_IMessageTransmitter *IMessageTransmitterTransactorSession) ReceiveMessage(message []byte, signature []byte) (*types.Transaction, error)

ReceiveMessage is a paid mutator transaction binding the contract method 0x57ecfd28.

Solidity: function receiveMessage(bytes message, bytes signature) returns(bool success)

func (*IMessageTransmitterTransactorSession) SendMessageWithCaller

func (_IMessageTransmitter *IMessageTransmitterTransactorSession) SendMessageWithCaller(destinationDomain uint32, recipient [32]byte, destinationCaller [32]byte, messageBody []byte) (*types.Transaction, error)

SendMessageWithCaller is a paid mutator transaction binding the contract method 0xf7259a75.

Solidity: function sendMessageWithCaller(uint32 destinationDomain, bytes32 recipient, bytes32 destinationCaller, bytes messageBody) returns(uint64)

type ITokenMessenger

type ITokenMessenger struct {
	ITokenMessengerCaller     // Read-only binding to the contract
	ITokenMessengerTransactor // Write-only binding to the contract
	ITokenMessengerFilterer   // Log filterer for contract events
}

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

func NewITokenMessenger

func NewITokenMessenger(address common.Address, backend bind.ContractBackend) (*ITokenMessenger, error)

NewITokenMessenger creates a new instance of ITokenMessenger, bound to a specific deployed contract.

type ITokenMessengerCaller

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

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

func NewITokenMessengerCaller

func NewITokenMessengerCaller(address common.Address, caller bind.ContractCaller) (*ITokenMessengerCaller, error)

NewITokenMessengerCaller creates a new read-only instance of ITokenMessenger, bound to a specific deployed contract.

func (*ITokenMessengerCaller) LocalMessageTransmitter

func (_ITokenMessenger *ITokenMessengerCaller) LocalMessageTransmitter(opts *bind.CallOpts) (common.Address, error)

LocalMessageTransmitter is a free data retrieval call binding the contract method 0x2c121921.

Solidity: function localMessageTransmitter() view returns(address)

func (*ITokenMessengerCaller) LocalMinter

func (_ITokenMessenger *ITokenMessengerCaller) LocalMinter(opts *bind.CallOpts) (common.Address, error)

LocalMinter is a free data retrieval call binding the contract method 0xcb75c11c.

Solidity: function localMinter() view returns(address)

type ITokenMessengerCallerRaw

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

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

func (*ITokenMessengerCallerRaw) Call

func (_ITokenMessenger *ITokenMessengerCallerRaw) 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 ITokenMessengerCallerSession

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

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

func (*ITokenMessengerCallerSession) LocalMessageTransmitter

func (_ITokenMessenger *ITokenMessengerCallerSession) LocalMessageTransmitter() (common.Address, error)

LocalMessageTransmitter is a free data retrieval call binding the contract method 0x2c121921.

Solidity: function localMessageTransmitter() view returns(address)

func (*ITokenMessengerCallerSession) LocalMinter

func (_ITokenMessenger *ITokenMessengerCallerSession) LocalMinter() (common.Address, error)

LocalMinter is a free data retrieval call binding the contract method 0xcb75c11c.

Solidity: function localMinter() view returns(address)

type ITokenMessengerFilterer

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

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

func NewITokenMessengerFilterer

func NewITokenMessengerFilterer(address common.Address, filterer bind.ContractFilterer) (*ITokenMessengerFilterer, error)

NewITokenMessengerFilterer creates a new log filterer instance of ITokenMessenger, bound to a specific deployed contract.

type ITokenMessengerRaw

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

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

func (*ITokenMessengerRaw) Call

func (_ITokenMessenger *ITokenMessengerRaw) 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 (*ITokenMessengerRaw) Transact

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

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

func (*ITokenMessengerRaw) Transfer

func (_ITokenMessenger *ITokenMessengerRaw) 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 ITokenMessengerSession

type ITokenMessengerSession struct {
	Contract     *ITokenMessenger  // 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
}

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

func (*ITokenMessengerSession) DepositForBurnWithCaller

func (_ITokenMessenger *ITokenMessengerSession) DepositForBurnWithCaller(amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, burnToken common.Address, destinationCaller [32]byte) (*types.Transaction, error)

DepositForBurnWithCaller is a paid mutator transaction binding the contract method 0xf856ddb6.

Solidity: function depositForBurnWithCaller(uint256 amount, uint32 destinationDomain, bytes32 mintRecipient, address burnToken, bytes32 destinationCaller) returns(uint64 nonce)

func (*ITokenMessengerSession) HandleReceiveMessage

func (_ITokenMessenger *ITokenMessengerSession) HandleReceiveMessage(remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)

HandleReceiveMessage is a paid mutator transaction binding the contract method 0x96abeb70.

Solidity: function handleReceiveMessage(uint32 remoteDomain, bytes32 sender, bytes messageBody) returns(bool success)

func (*ITokenMessengerSession) LocalMessageTransmitter

func (_ITokenMessenger *ITokenMessengerSession) LocalMessageTransmitter() (common.Address, error)

LocalMessageTransmitter is a free data retrieval call binding the contract method 0x2c121921.

Solidity: function localMessageTransmitter() view returns(address)

func (*ITokenMessengerSession) LocalMinter

func (_ITokenMessenger *ITokenMessengerSession) LocalMinter() (common.Address, error)

LocalMinter is a free data retrieval call binding the contract method 0xcb75c11c.

Solidity: function localMinter() view returns(address)

type ITokenMessengerTransactor

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

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

func NewITokenMessengerTransactor

func NewITokenMessengerTransactor(address common.Address, transactor bind.ContractTransactor) (*ITokenMessengerTransactor, error)

NewITokenMessengerTransactor creates a new write-only instance of ITokenMessenger, bound to a specific deployed contract.

func (*ITokenMessengerTransactor) DepositForBurnWithCaller

func (_ITokenMessenger *ITokenMessengerTransactor) DepositForBurnWithCaller(opts *bind.TransactOpts, amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, burnToken common.Address, destinationCaller [32]byte) (*types.Transaction, error)

DepositForBurnWithCaller is a paid mutator transaction binding the contract method 0xf856ddb6.

Solidity: function depositForBurnWithCaller(uint256 amount, uint32 destinationDomain, bytes32 mintRecipient, address burnToken, bytes32 destinationCaller) returns(uint64 nonce)

func (*ITokenMessengerTransactor) HandleReceiveMessage

func (_ITokenMessenger *ITokenMessengerTransactor) HandleReceiveMessage(opts *bind.TransactOpts, remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)

HandleReceiveMessage is a paid mutator transaction binding the contract method 0x96abeb70.

Solidity: function handleReceiveMessage(uint32 remoteDomain, bytes32 sender, bytes messageBody) returns(bool success)

type ITokenMessengerTransactorRaw

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

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

func (*ITokenMessengerTransactorRaw) Transact

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

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

func (*ITokenMessengerTransactorRaw) Transfer

func (_ITokenMessenger *ITokenMessengerTransactorRaw) 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 ITokenMessengerTransactorSession

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

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

func (*ITokenMessengerTransactorSession) DepositForBurnWithCaller

func (_ITokenMessenger *ITokenMessengerTransactorSession) DepositForBurnWithCaller(amount *big.Int, destinationDomain uint32, mintRecipient [32]byte, burnToken common.Address, destinationCaller [32]byte) (*types.Transaction, error)

DepositForBurnWithCaller is a paid mutator transaction binding the contract method 0xf856ddb6.

Solidity: function depositForBurnWithCaller(uint256 amount, uint32 destinationDomain, bytes32 mintRecipient, address burnToken, bytes32 destinationCaller) returns(uint64 nonce)

func (*ITokenMessengerTransactorSession) HandleReceiveMessage

func (_ITokenMessenger *ITokenMessengerTransactorSession) HandleReceiveMessage(remoteDomain uint32, sender [32]byte, messageBody []byte) (*types.Transaction, error)

HandleReceiveMessage is a paid mutator transaction binding the contract method 0x96abeb70.

Solidity: function handleReceiveMessage(uint32 remoteDomain, bytes32 sender, bytes messageBody) returns(bool success)

type MessageTransmitterEvents

type MessageTransmitterEvents struct {
	MessageTransmitterEventsCaller     // Read-only binding to the contract
	MessageTransmitterEventsTransactor // Write-only binding to the contract
	MessageTransmitterEventsFilterer   // Log filterer for contract events
}

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

func NewMessageTransmitterEvents

func NewMessageTransmitterEvents(address common.Address, backend bind.ContractBackend) (*MessageTransmitterEvents, error)

NewMessageTransmitterEvents creates a new instance of MessageTransmitterEvents, bound to a specific deployed contract.

type MessageTransmitterEventsCaller

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

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

func NewMessageTransmitterEventsCaller

func NewMessageTransmitterEventsCaller(address common.Address, caller bind.ContractCaller) (*MessageTransmitterEventsCaller, error)

NewMessageTransmitterEventsCaller creates a new read-only instance of MessageTransmitterEvents, bound to a specific deployed contract.

type MessageTransmitterEventsCallerRaw

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

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

func (*MessageTransmitterEventsCallerRaw) Call

func (_MessageTransmitterEvents *MessageTransmitterEventsCallerRaw) 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 MessageTransmitterEventsCallerSession

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

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

type MessageTransmitterEventsFilterer

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

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

func NewMessageTransmitterEventsFilterer

func NewMessageTransmitterEventsFilterer(address common.Address, filterer bind.ContractFilterer) (*MessageTransmitterEventsFilterer, error)

NewMessageTransmitterEventsFilterer creates a new log filterer instance of MessageTransmitterEvents, bound to a specific deployed contract.

func (*MessageTransmitterEventsFilterer) FilterMessageReceived

func (_MessageTransmitterEvents *MessageTransmitterEventsFilterer) FilterMessageReceived(opts *bind.FilterOpts, caller []common.Address, nonce []uint64) (*MessageTransmitterEventsMessageReceivedIterator, error)

FilterMessageReceived is a free log retrieval operation binding the contract event 0x58200b4c34ae05ee816d710053fff3fb75af4395915d3d2a771b24aa10e3cc5d.

Solidity: event MessageReceived(address indexed caller, uint32 sourceDomain, uint64 indexed nonce, bytes32 sender, bytes messageBody)

func (*MessageTransmitterEventsFilterer) FilterMessageSent

func (_MessageTransmitterEvents *MessageTransmitterEventsFilterer) FilterMessageSent(opts *bind.FilterOpts) (*MessageTransmitterEventsMessageSentIterator, error)

FilterMessageSent is a free log retrieval operation binding the contract event 0x8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b036.

Solidity: event MessageSent(bytes message)

func (*MessageTransmitterEventsFilterer) ParseMessageReceived

func (_MessageTransmitterEvents *MessageTransmitterEventsFilterer) ParseMessageReceived(log types.Log) (*MessageTransmitterEventsMessageReceived, error)

ParseMessageReceived is a log parse operation binding the contract event 0x58200b4c34ae05ee816d710053fff3fb75af4395915d3d2a771b24aa10e3cc5d.

Solidity: event MessageReceived(address indexed caller, uint32 sourceDomain, uint64 indexed nonce, bytes32 sender, bytes messageBody)

func (*MessageTransmitterEventsFilterer) ParseMessageSent

func (_MessageTransmitterEvents *MessageTransmitterEventsFilterer) ParseMessageSent(log types.Log) (*MessageTransmitterEventsMessageSent, error)

ParseMessageSent is a log parse operation binding the contract event 0x8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b036.

Solidity: event MessageSent(bytes message)

func (*MessageTransmitterEventsFilterer) WatchMessageReceived

func (_MessageTransmitterEvents *MessageTransmitterEventsFilterer) WatchMessageReceived(opts *bind.WatchOpts, sink chan<- *MessageTransmitterEventsMessageReceived, caller []common.Address, nonce []uint64) (event.Subscription, error)

WatchMessageReceived is a free log subscription operation binding the contract event 0x58200b4c34ae05ee816d710053fff3fb75af4395915d3d2a771b24aa10e3cc5d.

Solidity: event MessageReceived(address indexed caller, uint32 sourceDomain, uint64 indexed nonce, bytes32 sender, bytes messageBody)

func (*MessageTransmitterEventsFilterer) WatchMessageSent

func (_MessageTransmitterEvents *MessageTransmitterEventsFilterer) WatchMessageSent(opts *bind.WatchOpts, sink chan<- *MessageTransmitterEventsMessageSent) (event.Subscription, error)

WatchMessageSent is a free log subscription operation binding the contract event 0x8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b036.

Solidity: event MessageSent(bytes message)

type MessageTransmitterEventsMessageReceived

type MessageTransmitterEventsMessageReceived struct {
	Caller       common.Address
	SourceDomain uint32
	Nonce        uint64
	Sender       [32]byte
	MessageBody  []byte
	Raw          types.Log // Blockchain specific contextual infos
}

MessageTransmitterEventsMessageReceived represents a MessageReceived event raised by the MessageTransmitterEvents contract.

type MessageTransmitterEventsMessageReceivedIterator

type MessageTransmitterEventsMessageReceivedIterator struct {
	Event *MessageTransmitterEventsMessageReceived // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MessageTransmitterEventsMessageReceivedIterator is returned from FilterMessageReceived and is used to iterate over the raw logs and unpacked data for MessageReceived events raised by the MessageTransmitterEvents contract.

func (*MessageTransmitterEventsMessageReceivedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MessageTransmitterEventsMessageReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageTransmitterEventsMessageReceivedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MessageTransmitterEventsMessageSent

type MessageTransmitterEventsMessageSent struct {
	Message []byte
	Raw     types.Log // Blockchain specific contextual infos
}

MessageTransmitterEventsMessageSent represents a MessageSent event raised by the MessageTransmitterEvents contract.

type MessageTransmitterEventsMessageSentIterator

type MessageTransmitterEventsMessageSentIterator struct {
	Event *MessageTransmitterEventsMessageSent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MessageTransmitterEventsMessageSentIterator is returned from FilterMessageSent and is used to iterate over the raw logs and unpacked data for MessageSent events raised by the MessageTransmitterEvents contract.

func (*MessageTransmitterEventsMessageSentIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MessageTransmitterEventsMessageSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageTransmitterEventsMessageSentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MessageTransmitterEventsRaw

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

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

func (*MessageTransmitterEventsRaw) Call

func (_MessageTransmitterEvents *MessageTransmitterEventsRaw) 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 (*MessageTransmitterEventsRaw) Transact

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

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

func (*MessageTransmitterEventsRaw) Transfer

func (_MessageTransmitterEvents *MessageTransmitterEventsRaw) 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 MessageTransmitterEventsSession

type MessageTransmitterEventsSession struct {
	Contract     *MessageTransmitterEvents // 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
}

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

type MessageTransmitterEventsTransactor

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

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

func NewMessageTransmitterEventsTransactor

func NewMessageTransmitterEventsTransactor(address common.Address, transactor bind.ContractTransactor) (*MessageTransmitterEventsTransactor, error)

NewMessageTransmitterEventsTransactor creates a new write-only instance of MessageTransmitterEvents, bound to a specific deployed contract.

type MessageTransmitterEventsTransactorRaw

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

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

func (*MessageTransmitterEventsTransactorRaw) Transact

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

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

func (*MessageTransmitterEventsTransactorRaw) Transfer

func (_MessageTransmitterEvents *MessageTransmitterEventsTransactorRaw) 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 MessageTransmitterEventsTransactorSession

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

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

type MockMessageTransmitter

type MockMessageTransmitter struct {
	MockMessageTransmitterCaller     // Read-only binding to the contract
	MockMessageTransmitterTransactor // Write-only binding to the contract
	MockMessageTransmitterFilterer   // Log filterer for contract events
}

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

func DeployMockMessageTransmitter

func DeployMockMessageTransmitter(auth *bind.TransactOpts, backend bind.ContractBackend, localDomain_ uint32) (common.Address, *types.Transaction, *MockMessageTransmitter, error)

DeployMockMessageTransmitter deploys a new Ethereum contract, binding an instance of MockMessageTransmitter to it.

func NewMockMessageTransmitter

func NewMockMessageTransmitter(address common.Address, backend bind.ContractBackend) (*MockMessageTransmitter, error)

NewMockMessageTransmitter creates a new instance of MockMessageTransmitter, bound to a specific deployed contract.

type MockMessageTransmitterCaller

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

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

func NewMockMessageTransmitterCaller

func NewMockMessageTransmitterCaller(address common.Address, caller bind.ContractCaller) (*MockMessageTransmitterCaller, error)

NewMockMessageTransmitterCaller creates a new read-only instance of MockMessageTransmitter, bound to a specific deployed contract.

func (*MockMessageTransmitterCaller) FormatMessage

func (_MockMessageTransmitter *MockMessageTransmitterCaller) FormatMessage(opts *bind.CallOpts, remoteDomain uint32, sender common.Address, recipient common.Address, destinationCaller [32]byte, messageBody []byte) ([]byte, error)

FormatMessage is a free data retrieval call binding the contract method 0xd81bbe02.

Solidity: function formatMessage(uint32 remoteDomain, address sender, address recipient, bytes32 destinationCaller, bytes messageBody) pure returns(bytes message)

func (*MockMessageTransmitterCaller) LocalDomain

func (_MockMessageTransmitter *MockMessageTransmitterCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*MockMessageTransmitterCaller) NextAvailableNonce

func (_MockMessageTransmitter *MockMessageTransmitterCaller) NextAvailableNonce(opts *bind.CallOpts) (uint64, error)

NextAvailableNonce is a free data retrieval call binding the contract method 0x8371744e.

Solidity: function nextAvailableNonce() view returns(uint64)

type MockMessageTransmitterCallerRaw

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

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

func (*MockMessageTransmitterCallerRaw) Call

func (_MockMessageTransmitter *MockMessageTransmitterCallerRaw) 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 MockMessageTransmitterCallerSession

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

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

func (*MockMessageTransmitterCallerSession) FormatMessage

func (_MockMessageTransmitter *MockMessageTransmitterCallerSession) FormatMessage(remoteDomain uint32, sender common.Address, recipient common.Address, destinationCaller [32]byte, messageBody []byte) ([]byte, error)

FormatMessage is a free data retrieval call binding the contract method 0xd81bbe02.

Solidity: function formatMessage(uint32 remoteDomain, address sender, address recipient, bytes32 destinationCaller, bytes messageBody) pure returns(bytes message)

func (*MockMessageTransmitterCallerSession) LocalDomain

func (_MockMessageTransmitter *MockMessageTransmitterCallerSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*MockMessageTransmitterCallerSession) NextAvailableNonce

func (_MockMessageTransmitter *MockMessageTransmitterCallerSession) NextAvailableNonce() (uint64, error)

NextAvailableNonce is a free data retrieval call binding the contract method 0x8371744e.

Solidity: function nextAvailableNonce() view returns(uint64)

type MockMessageTransmitterFilterer

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

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

func NewMockMessageTransmitterFilterer

func NewMockMessageTransmitterFilterer(address common.Address, filterer bind.ContractFilterer) (*MockMessageTransmitterFilterer, error)

NewMockMessageTransmitterFilterer creates a new log filterer instance of MockMessageTransmitter, bound to a specific deployed contract.

func (*MockMessageTransmitterFilterer) FilterMessageReceived

func (_MockMessageTransmitter *MockMessageTransmitterFilterer) FilterMessageReceived(opts *bind.FilterOpts, caller []common.Address, nonce []uint64) (*MockMessageTransmitterMessageReceivedIterator, error)

FilterMessageReceived is a free log retrieval operation binding the contract event 0x58200b4c34ae05ee816d710053fff3fb75af4395915d3d2a771b24aa10e3cc5d.

Solidity: event MessageReceived(address indexed caller, uint32 sourceDomain, uint64 indexed nonce, bytes32 sender, bytes messageBody)

func (*MockMessageTransmitterFilterer) FilterMessageSent

func (_MockMessageTransmitter *MockMessageTransmitterFilterer) FilterMessageSent(opts *bind.FilterOpts) (*MockMessageTransmitterMessageSentIterator, error)

FilterMessageSent is a free log retrieval operation binding the contract event 0x8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b036.

Solidity: event MessageSent(bytes message)

func (*MockMessageTransmitterFilterer) FilterSignatureReceived

func (_MockMessageTransmitter *MockMessageTransmitterFilterer) FilterSignatureReceived(opts *bind.FilterOpts) (*MockMessageTransmitterSignatureReceivedIterator, error)

FilterSignatureReceived is a free log retrieval operation binding the contract event 0xd5abd8bafd66536a7715960b4606ae43cbe944953190b51b2e984dff14d6b610.

Solidity: event SignatureReceived(bytes signature)

func (*MockMessageTransmitterFilterer) ParseMessageReceived

func (_MockMessageTransmitter *MockMessageTransmitterFilterer) ParseMessageReceived(log types.Log) (*MockMessageTransmitterMessageReceived, error)

ParseMessageReceived is a log parse operation binding the contract event 0x58200b4c34ae05ee816d710053fff3fb75af4395915d3d2a771b24aa10e3cc5d.

Solidity: event MessageReceived(address indexed caller, uint32 sourceDomain, uint64 indexed nonce, bytes32 sender, bytes messageBody)

func (*MockMessageTransmitterFilterer) ParseMessageSent

func (_MockMessageTransmitter *MockMessageTransmitterFilterer) ParseMessageSent(log types.Log) (*MockMessageTransmitterMessageSent, error)

ParseMessageSent is a log parse operation binding the contract event 0x8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b036.

Solidity: event MessageSent(bytes message)

func (*MockMessageTransmitterFilterer) ParseSignatureReceived

func (_MockMessageTransmitter *MockMessageTransmitterFilterer) ParseSignatureReceived(log types.Log) (*MockMessageTransmitterSignatureReceived, error)

ParseSignatureReceived is a log parse operation binding the contract event 0xd5abd8bafd66536a7715960b4606ae43cbe944953190b51b2e984dff14d6b610.

Solidity: event SignatureReceived(bytes signature)

func (*MockMessageTransmitterFilterer) WatchMessageReceived

func (_MockMessageTransmitter *MockMessageTransmitterFilterer) WatchMessageReceived(opts *bind.WatchOpts, sink chan<- *MockMessageTransmitterMessageReceived, caller []common.Address, nonce []uint64) (event.Subscription, error)

WatchMessageReceived is a free log subscription operation binding the contract event 0x58200b4c34ae05ee816d710053fff3fb75af4395915d3d2a771b24aa10e3cc5d.

Solidity: event MessageReceived(address indexed caller, uint32 sourceDomain, uint64 indexed nonce, bytes32 sender, bytes messageBody)

func (*MockMessageTransmitterFilterer) WatchMessageSent

func (_MockMessageTransmitter *MockMessageTransmitterFilterer) WatchMessageSent(opts *bind.WatchOpts, sink chan<- *MockMessageTransmitterMessageSent) (event.Subscription, error)

WatchMessageSent is a free log subscription operation binding the contract event 0x8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b036.

Solidity: event MessageSent(bytes message)

func (*MockMessageTransmitterFilterer) WatchSignatureReceived

func (_MockMessageTransmitter *MockMessageTransmitterFilterer) WatchSignatureReceived(opts *bind.WatchOpts, sink chan<- *MockMessageTransmitterSignatureReceived) (event.Subscription, error)

WatchSignatureReceived is a free log subscription operation binding the contract event 0xd5abd8bafd66536a7715960b4606ae43cbe944953190b51b2e984dff14d6b610.

Solidity: event SignatureReceived(bytes signature)

type MockMessageTransmitterMessageReceived

type MockMessageTransmitterMessageReceived struct {
	Caller       common.Address
	SourceDomain uint32
	Nonce        uint64
	Sender       [32]byte
	MessageBody  []byte
	Raw          types.Log // Blockchain specific contextual infos
}

MockMessageTransmitterMessageReceived represents a MessageReceived event raised by the MockMessageTransmitter contract.

type MockMessageTransmitterMessageReceivedIterator

type MockMessageTransmitterMessageReceivedIterator struct {
	Event *MockMessageTransmitterMessageReceived // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MockMessageTransmitterMessageReceivedIterator is returned from FilterMessageReceived and is used to iterate over the raw logs and unpacked data for MessageReceived events raised by the MockMessageTransmitter contract.

func (*MockMessageTransmitterMessageReceivedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MockMessageTransmitterMessageReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MockMessageTransmitterMessageReceivedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MockMessageTransmitterMessageSent

type MockMessageTransmitterMessageSent struct {
	Message []byte
	Raw     types.Log // Blockchain specific contextual infos
}

MockMessageTransmitterMessageSent represents a MessageSent event raised by the MockMessageTransmitter contract.

type MockMessageTransmitterMessageSentIterator

type MockMessageTransmitterMessageSentIterator struct {
	Event *MockMessageTransmitterMessageSent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MockMessageTransmitterMessageSentIterator is returned from FilterMessageSent and is used to iterate over the raw logs and unpacked data for MessageSent events raised by the MockMessageTransmitter contract.

func (*MockMessageTransmitterMessageSentIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MockMessageTransmitterMessageSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MockMessageTransmitterMessageSentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MockMessageTransmitterRaw

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

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

func (*MockMessageTransmitterRaw) Call

func (_MockMessageTransmitter *MockMessageTransmitterRaw) 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 (*MockMessageTransmitterRaw) Transact

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

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

func (*MockMessageTransmitterRaw) Transfer

func (_MockMessageTransmitter *MockMessageTransmitterRaw) 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 MockMessageTransmitterRef

type MockMessageTransmitterRef struct {
	*MockMessageTransmitter
	// contains filtered or unexported fields
}

MockMessageTransmitterRef is a bound cctp contract that conforms to vm.ContractRef.

func NewMockMessageTransmitterRef

func NewMockMessageTransmitterRef(address common.Address, backend bind.ContractBackend) (*MockMessageTransmitterRef, error)

NewMockMessageTransmitterRef creates a new MockMessageTransmitterRef contract with a contract ref.

func (MockMessageTransmitterRef) Address

Address is the contract address.

type MockMessageTransmitterSession

type MockMessageTransmitterSession struct {
	Contract     *MockMessageTransmitter // 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
}

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

func (*MockMessageTransmitterSession) FormatMessage

func (_MockMessageTransmitter *MockMessageTransmitterSession) FormatMessage(remoteDomain uint32, sender common.Address, recipient common.Address, destinationCaller [32]byte, messageBody []byte) ([]byte, error)

FormatMessage is a free data retrieval call binding the contract method 0xd81bbe02.

Solidity: function formatMessage(uint32 remoteDomain, address sender, address recipient, bytes32 destinationCaller, bytes messageBody) pure returns(bytes message)

func (*MockMessageTransmitterSession) LocalDomain

func (_MockMessageTransmitter *MockMessageTransmitterSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*MockMessageTransmitterSession) NextAvailableNonce

func (_MockMessageTransmitter *MockMessageTransmitterSession) NextAvailableNonce() (uint64, error)

NextAvailableNonce is a free data retrieval call binding the contract method 0x8371744e.

Solidity: function nextAvailableNonce() view returns(uint64)

func (*MockMessageTransmitterSession) ReceiveMessage

func (_MockMessageTransmitter *MockMessageTransmitterSession) ReceiveMessage(message []byte, signature []byte) (*types.Transaction, error)

ReceiveMessage is a paid mutator transaction binding the contract method 0x57ecfd28.

Solidity: function receiveMessage(bytes message, bytes signature) returns(bool success)

func (*MockMessageTransmitterSession) SendMessageWithCaller

func (_MockMessageTransmitter *MockMessageTransmitterSession) SendMessageWithCaller(arg0 uint32, recipient [32]byte, destinationCaller [32]byte, messageBody []byte) (*types.Transaction, error)

SendMessageWithCaller is a paid mutator transaction binding the contract method 0xf7259a75.

Solidity: function sendMessageWithCaller(uint32 , bytes32 recipient, bytes32 destinationCaller, bytes messageBody) returns(uint64 reservedNonce)

type MockMessageTransmitterSignatureReceived

type MockMessageTransmitterSignatureReceived struct {
	Signature []byte
	Raw       types.Log // Blockchain specific contextual infos
}

MockMessageTransmitterSignatureReceived represents a SignatureReceived event raised by the MockMessageTransmitter contract.

type MockMessageTransmitterSignatureReceivedIterator

type MockMessageTransmitterSignatureReceivedIterator struct {
	Event *MockMessageTransmitterSignatureReceived // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MockMessageTransmitterSignatureReceivedIterator is returned from FilterSignatureReceived and is used to iterate over the raw logs and unpacked data for SignatureReceived events raised by the MockMessageTransmitter contract.

func (*MockMessageTransmitterSignatureReceivedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MockMessageTransmitterSignatureReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MockMessageTransmitterSignatureReceivedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MockMessageTransmitterTransactor

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

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

func NewMockMessageTransmitterTransactor

func NewMockMessageTransmitterTransactor(address common.Address, transactor bind.ContractTransactor) (*MockMessageTransmitterTransactor, error)

NewMockMessageTransmitterTransactor creates a new write-only instance of MockMessageTransmitter, bound to a specific deployed contract.

func (*MockMessageTransmitterTransactor) ReceiveMessage

func (_MockMessageTransmitter *MockMessageTransmitterTransactor) ReceiveMessage(opts *bind.TransactOpts, message []byte, signature []byte) (*types.Transaction, error)

ReceiveMessage is a paid mutator transaction binding the contract method 0x57ecfd28.

Solidity: function receiveMessage(bytes message, bytes signature) returns(bool success)

func (*MockMessageTransmitterTransactor) SendMessageWithCaller

func (_MockMessageTransmitter *MockMessageTransmitterTransactor) SendMessageWithCaller(opts *bind.TransactOpts, arg0 uint32, recipient [32]byte, destinationCaller [32]byte, messageBody []byte) (*types.Transaction, error)

SendMessageWithCaller is a paid mutator transaction binding the contract method 0xf7259a75.

Solidity: function sendMessageWithCaller(uint32 , bytes32 recipient, bytes32 destinationCaller, bytes messageBody) returns(uint64 reservedNonce)

type MockMessageTransmitterTransactorRaw

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

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

func (*MockMessageTransmitterTransactorRaw) Transact

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

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

func (*MockMessageTransmitterTransactorRaw) Transfer

func (_MockMessageTransmitter *MockMessageTransmitterTransactorRaw) 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 MockMessageTransmitterTransactorSession

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

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

func (*MockMessageTransmitterTransactorSession) ReceiveMessage

func (_MockMessageTransmitter *MockMessageTransmitterTransactorSession) ReceiveMessage(message []byte, signature []byte) (*types.Transaction, error)

ReceiveMessage is a paid mutator transaction binding the contract method 0x57ecfd28.

Solidity: function receiveMessage(bytes message, bytes signature) returns(bool success)

func (*MockMessageTransmitterTransactorSession) SendMessageWithCaller

func (_MockMessageTransmitter *MockMessageTransmitterTransactorSession) SendMessageWithCaller(arg0 uint32, recipient [32]byte, destinationCaller [32]byte, messageBody []byte) (*types.Transaction, error)

SendMessageWithCaller is a paid mutator transaction binding the contract method 0xf7259a75.

Solidity: function sendMessageWithCaller(uint32 , bytes32 recipient, bytes32 destinationCaller, bytes messageBody) returns(uint64 reservedNonce)

Jump to

Keyboard shortcuts

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