Documentation ¶
Index ¶
- Variables
- type MessageBus
- type MessageBusCaller
- func (_MessageBus *MessageBusCaller) GetMessageTimeOfFinality(opts *bind.CallOpts, crossChainMessage StructsCrossChainMessage) (*big.Int, error)
- func (_MessageBus *MessageBusCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_MessageBus *MessageBusCaller) VerifyMessageFinalized(opts *bind.CallOpts, crossChainMessage StructsCrossChainMessage) (bool, error)
- type MessageBusCallerRaw
- type MessageBusCallerSession
- func (_MessageBus *MessageBusCallerSession) GetMessageTimeOfFinality(crossChainMessage StructsCrossChainMessage) (*big.Int, error)
- func (_MessageBus *MessageBusCallerSession) Owner() (common.Address, error)
- func (_MessageBus *MessageBusCallerSession) VerifyMessageFinalized(crossChainMessage StructsCrossChainMessage) (bool, error)
- type MessageBusFilterer
- func (_MessageBus *MessageBusFilterer) FilterLogMessagePublished(opts *bind.FilterOpts) (*MessageBusLogMessagePublishedIterator, error)
- func (_MessageBus *MessageBusFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*MessageBusOwnershipTransferredIterator, error)
- func (_MessageBus *MessageBusFilterer) FilterValueTransfer(opts *bind.FilterOpts) (*MessageBusValueTransferIterator, error)
- func (_MessageBus *MessageBusFilterer) ParseLogMessagePublished(log types.Log) (*MessageBusLogMessagePublished, error)
- func (_MessageBus *MessageBusFilterer) ParseOwnershipTransferred(log types.Log) (*MessageBusOwnershipTransferred, error)
- func (_MessageBus *MessageBusFilterer) ParseValueTransfer(log types.Log) (*MessageBusValueTransfer, error)
- func (_MessageBus *MessageBusFilterer) WatchLogMessagePublished(opts *bind.WatchOpts, sink chan<- *MessageBusLogMessagePublished) (event.Subscription, error)
- func (_MessageBus *MessageBusFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MessageBusOwnershipTransferred, ...) (event.Subscription, error)
- func (_MessageBus *MessageBusFilterer) WatchValueTransfer(opts *bind.WatchOpts, sink chan<- *MessageBusValueTransfer) (event.Subscription, error)
- type MessageBusLogMessagePublished
- type MessageBusLogMessagePublishedIterator
- type MessageBusOwnershipTransferred
- type MessageBusOwnershipTransferredIterator
- type MessageBusRaw
- func (_MessageBus *MessageBusRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MessageBus *MessageBusRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MessageBus *MessageBusRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MessageBusSession
- func (_MessageBus *MessageBusSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_MessageBus *MessageBusSession) GetMessageTimeOfFinality(crossChainMessage StructsCrossChainMessage) (*big.Int, error)
- func (_MessageBus *MessageBusSession) Owner() (common.Address, error)
- func (_MessageBus *MessageBusSession) PublishMessage(nonce uint32, topic uint32, payload []byte, consistencyLevel uint8) (*types.Transaction, error)
- func (_MessageBus *MessageBusSession) Receive() (*types.Transaction, error)
- func (_MessageBus *MessageBusSession) ReceiveValueFromL2(receiver common.Address, amount *big.Int) (*types.Transaction, error)
- func (_MessageBus *MessageBusSession) RenounceOwnership() (*types.Transaction, error)
- func (_MessageBus *MessageBusSession) RetrieveAllFunds(receiver common.Address) (*types.Transaction, error)
- func (_MessageBus *MessageBusSession) SendValueToL2(receiver common.Address, amount *big.Int) (*types.Transaction, error)
- func (_MessageBus *MessageBusSession) StoreCrossChainMessage(crossChainMessage StructsCrossChainMessage, finalAfterTimestamp *big.Int) (*types.Transaction, error)
- func (_MessageBus *MessageBusSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_MessageBus *MessageBusSession) VerifyMessageFinalized(crossChainMessage StructsCrossChainMessage) (bool, error)
- type MessageBusTransactor
- func (_MessageBus *MessageBusTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactor) PublishMessage(opts *bind.TransactOpts, nonce uint32, topic uint32, payload []byte, ...) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactor) ReceiveValueFromL2(opts *bind.TransactOpts, receiver common.Address, amount *big.Int) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactor) RetrieveAllFunds(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactor) SendValueToL2(opts *bind.TransactOpts, receiver common.Address, amount *big.Int) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactor) StoreCrossChainMessage(opts *bind.TransactOpts, crossChainMessage StructsCrossChainMessage, ...) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type MessageBusTransactorRaw
- type MessageBusTransactorSession
- func (_MessageBus *MessageBusTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactorSession) PublishMessage(nonce uint32, topic uint32, payload []byte, consistencyLevel uint8) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactorSession) Receive() (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactorSession) ReceiveValueFromL2(receiver common.Address, amount *big.Int) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactorSession) RetrieveAllFunds(receiver common.Address) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactorSession) SendValueToL2(receiver common.Address, amount *big.Int) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactorSession) StoreCrossChainMessage(crossChainMessage StructsCrossChainMessage, finalAfterTimestamp *big.Int) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type MessageBusValueTransfer
- type MessageBusValueTransferIterator
- type StructsCrossChainMessage
Constants ¶
This section is empty.
Variables ¶
var MessageBusABI = MessageBusMetaData.ABI
MessageBusABI is the input ABI used to generate the binding from. Deprecated: Use MessageBusMetaData.ABI instead.
var MessageBusBin = MessageBusMetaData.Bin
MessageBusBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MessageBusMetaData.Bin instead.
var MessageBusMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"topic\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"consistencyLevel\",\"type\":\"uint8\"}],\"name\":\"LogMessagePublished\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"}],\"name\":\"ValueTransfer\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"topic\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"consistencyLevel\",\"type\":\"uint8\"}],\"internalType\":\"structStructs.CrossChainMessage\",\"name\":\"crossChainMessage\",\"type\":\"tuple\"}],\"name\":\"getMessageTimeOfFinality\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"topic\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"consistencyLevel\",\"type\":\"uint8\"}],\"name\":\"publishMessage\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"receiveValueFromL2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"retrieveAllFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"sendValueToL2\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"topic\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"consistencyLevel\",\"type\":\"uint8\"}],\"internalType\":\"structStructs.CrossChainMessage\",\"name\":\"crossChainMessage\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"finalAfterTimestamp\",\"type\":\"uint256\"}],\"name\":\"storeCrossChainMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"topic\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"consistencyLevel\",\"type\":\"uint8\"}],\"internalType\":\"structStructs.CrossChainMessage\",\"name\":\"crossChainMessage\",\"type\":\"tuple\"}],\"name\":\"verifyMessageFinalized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
Bin: "0x608060405234801561001057600080fd5b50338061003757604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61004081610046565b50610096565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611022806100a56000396000f3fe6080604052600436106100b55760003560e01c80638da5cb5b1161006957806399a3ad211161004e57806399a3ad2114610269578063b1454caa14610289578063f2fde38b146102c257610129565b80638da5cb5b146102215780639730886d1461024957610129565b8063346633fb1161009a578063346633fb146101d957806336d2da90146101ec578063715018a61461020c57610129565b80630fcfbd111461017657806333a88c72146101a957610129565b36610129576040517f346633fb0000000000000000000000000000000000000000000000000000000081523360048201523460248201819052309163346633fb91906044016000604051808303818588803b15801561011357600080fd5b505af1158015610127573d6000803e3d6000fd5b005b60405162461bcd60e51b815260206004820152600b60248201527f756e737570706f7274656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b34801561018257600080fd5b50610196610191366004610965565b6102e2565b6040519081526020015b60405180910390f35b3480156101b557600080fd5b506101c96101c4366004610965565b610398565b60405190151581526020016101a0565b6101276101e73660046109af565b6103eb565b3480156101f857600080fd5b506101276102073660046109db565b6104d7565b34801561021857600080fd5b50610127610586565b34801561022d57600080fd5b506000546040516001600160a01b0390911681526020016101a0565b34801561025557600080fd5b506101276102643660046109f8565b61059a565b34801561027557600080fd5b506101276102843660046109af565b6106ec565b34801561029557600080fd5b506102a96102a4366004610a6e565b61079c565b60405167ffffffffffffffff90911681526020016101a0565b3480156102ce57600080fd5b506101276102dd3660046109db565b6107f5565b600080826040516020016102f69190610b5a565b60408051601f19818403018152918152815160209283012060008181526001909352912054909150806103915760405162461bcd60e51b815260206004820152602160248201527f54686973206d65737361676520776173206e65766572207375626d697474656460448201527f2e00000000000000000000000000000000000000000000000000000000000000606482015260840161016d565b9392505050565b600080826040516020016103ac9190610b5a565b60408051601f1981840301815291815281516020928301206000818152600190935291205490915080158015906103e35750428111155b949350505050565b6000341180156103fa57508034145b61046c5760405162461bcd60e51b815260206004820152603060248201527f417474656d7074696e6720746f2073656e642076616c756520776974686f757460448201527f2070726f766964696e6720457468657200000000000000000000000000000000606482015260840161016d565b60006104773361084c565b604080513381526001600160a01b0386166020820152348183015267ffffffffffffffff8316606082015290519192507f50c536ac33a920f00755865b831d17bf4cff0b2e0345f65b16d52bfc004068b6919081900360800190a1505050565b6104df6108aa565b6000816001600160a01b03164760405160006040518083038185875af1925050503d806000811461052c576040519150601f19603f3d011682016040523d82523d6000602084013e610531565b606091505b50509050806105825760405162461bcd60e51b815260206004820152601460248201527f6661696c65642073656e64696e672076616c7565000000000000000000000000604482015260640161016d565b5050565b61058e6108aa565b61059860006108f0565b565b6105a26108aa565b60006105ae8242610c5b565b90506000836040516020016105c39190610b5a565b60408051601f198184030181529181528151602092830120600081815260019093529120549091501561065e5760405162461bcd60e51b815260206004820152602160248201527f4d657373616765207375626d6974746564206d6f7265207468616e206f6e636560448201527f2100000000000000000000000000000000000000000000000000000000000000606482015260840161016d565b6000818152600160209081526040822084905560029190610681908701876109db565b6001600160a01b0316815260208101919091526040016000908120906106ad6080870160608801610c74565b63ffffffff168152602080820192909252604001600090812080546001810182559082529190208591600402016106e48282610e4a565b505050505050565b6106f46108aa565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610741576040519150601f19603f3d011682016040523d82523d6000602084013e610746565b606091505b50509050806107975760405162461bcd60e51b815260206004820152601460248201527f6661696c65642073656e64696e672076616c7565000000000000000000000000604482015260640161016d565b505050565b60006107a73361084c565b90507fb93c37389233beb85a3a726c3f15c2d15533ee74cb602f20f490dfffef775937338288888888886040516107e49796959493929190610f64565b60405180910390a195945050505050565b6107fd6108aa565b6001600160a01b038116610840576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526000600482015260240161016d565b610849816108f0565b50565b6001600160a01b0381166000908152600360205260408120805467ffffffffffffffff16916001919061087f8385610fc4565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550919050565b6000546001600160a01b03163314610598576040517f118cdaa700000000000000000000000000000000000000000000000000000000815233600482015260240161016d565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060c0828403121561095f57600080fd5b50919050565b60006020828403121561097757600080fd5b813567ffffffffffffffff81111561098e57600080fd5b6103e38482850161094d565b6001600160a01b038116811461084957600080fd5b600080604083850312156109c257600080fd5b82356109cd8161099a565b946020939093013593505050565b6000602082840312156109ed57600080fd5b81356103918161099a565b60008060408385031215610a0b57600080fd5b823567ffffffffffffffff811115610a2257600080fd5b610a2e8582860161094d565b95602094909401359450505050565b63ffffffff8116811461084957600080fd5b60ff8116811461084957600080fd5b8035610a6981610a4f565b919050565b600080600080600060808688031215610a8657600080fd5b8535610a9181610a3d565b94506020860135610aa181610a3d565b9350604086013567ffffffffffffffff80821115610abe57600080fd5b818801915088601f830112610ad257600080fd5b813581811115610ae157600080fd5b896020828501011115610af357600080fd5b6020830195508094505050506060860135610b0d81610a4f565b809150509295509295909350565b67ffffffffffffffff8116811461084957600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260008235610b6b8161099a565b6001600160a01b0381166020840152506020830135610b8981610b1b565b67ffffffffffffffff808216604085015260408501359150610baa82610a3d565b63ffffffff808316606086015260608601359250610bc783610a3d565b80831660808601525060808501359150601e19853603018212610be957600080fd5b6020918501918201913581811115610c0057600080fd5b803603831315610c0f57600080fd5b60c060a0860152610c2460e086018285610b31565b92505050610c3460a08501610a5e565b60ff811660c0850152509392505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c6e57610c6e610c45565b92915050565b600060208284031215610c8657600080fd5b813561039181610a3d565b60008135610c6e81610a3d565b6000808335601e19843603018112610cb557600080fd5b83018035915067ffffffffffffffff821115610cd057600080fd5b602001915036819003821315610ce557600080fd5b9250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680610d1657607f821691505b60208210810361095f57634e487b7160e01b600052602260045260246000fd5b601f82111561079757600081815260208120601f850160051c81016020861015610d5d5750805b601f850160051c820191505b818110156106e457828155600101610d69565b67ffffffffffffffff831115610d9457610d94610cec565b610da883610da28354610d02565b83610d36565b6000601f841160018114610ddc5760008515610dc45750838201355b600019600387901b1c1916600186901b178355610e36565b600083815260209020601f19861690835b82811015610e0d5786850135825560209485019460019092019101610ded565b5086821015610e2a5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b60008135610c6e81610a4f565b8135610e558161099a565b6001600160a01b038116905081548173ffffffffffffffffffffffffffffffffffffffff1982161783556020840135610e8d81610b1b565b7bffffffffffffffff00000000000000000000000000000000000000008160a01b1690507fffffffff0000000000000000000000000000000000000000000000000000000081848285161717855560408601359250610eeb83610a3d565b921760e09190911b909116178155610f23610f0860608401610c91565b6001830163ffffffff821663ffffffff198254161781555050565b610f306080830183610c9e565b610f3e818360028601610d7c565b5050610582610f4f60a08401610e3d565b6003830160ff821660ff198254161781555050565b6001600160a01b038816815267ffffffffffffffff87166020820152600063ffffffff808816604084015280871660608401525060c06080830152610fad60c083018587610b31565b905060ff831660a083015298975050505050505050565b67ffffffffffffffff818116838216019080821115610fe557610fe5610c45565b509291505056fea2646970667358221220c609dbdd03d0c6e5be1a2cd5db6dd506c7935a73c0335e5f16256a64c6c5fe9164736f6c63430008140033",
}
MessageBusMetaData contains all meta data concerning the MessageBus contract.
Functions ¶
This section is empty.
Types ¶
type MessageBus ¶
type MessageBus struct { MessageBusCaller // Read-only binding to the contract MessageBusTransactor // Write-only binding to the contract MessageBusFilterer // Log filterer for contract events }
MessageBus is an auto generated Go binding around an Ethereum contract.
func DeployMessageBus ¶
func DeployMessageBus(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MessageBus, error)
DeployMessageBus deploys a new Ethereum contract, binding an instance of MessageBus to it.
func NewMessageBus ¶
func NewMessageBus(address common.Address, backend bind.ContractBackend) (*MessageBus, error)
NewMessageBus creates a new instance of MessageBus, bound to a specific deployed contract.
type MessageBusCaller ¶
type MessageBusCaller struct {
// contains filtered or unexported fields
}
MessageBusCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMessageBusCaller ¶
func NewMessageBusCaller(address common.Address, caller bind.ContractCaller) (*MessageBusCaller, error)
NewMessageBusCaller creates a new read-only instance of MessageBus, bound to a specific deployed contract.
func (*MessageBusCaller) GetMessageTimeOfFinality ¶
func (_MessageBus *MessageBusCaller) GetMessageTimeOfFinality(opts *bind.CallOpts, crossChainMessage StructsCrossChainMessage) (*big.Int, error)
GetMessageTimeOfFinality is a free data retrieval call binding the contract method 0x0fcfbd11.
Solidity: function getMessageTimeOfFinality((address,uint64,uint32,uint32,bytes,uint8) crossChainMessage) view returns(uint256)
func (*MessageBusCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MessageBusCaller) VerifyMessageFinalized ¶
func (_MessageBus *MessageBusCaller) VerifyMessageFinalized(opts *bind.CallOpts, crossChainMessage StructsCrossChainMessage) (bool, error)
VerifyMessageFinalized is a free data retrieval call binding the contract method 0x33a88c72.
Solidity: function verifyMessageFinalized((address,uint64,uint32,uint32,bytes,uint8) crossChainMessage) view returns(bool)
type MessageBusCallerRaw ¶
type MessageBusCallerRaw struct {
Contract *MessageBusCaller // Generic read-only contract binding to access the raw methods on
}
MessageBusCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MessageBusCallerRaw) Call ¶
func (_MessageBus *MessageBusCallerRaw) 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 MessageBusCallerSession ¶
type MessageBusCallerSession struct { Contract *MessageBusCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MessageBusCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MessageBusCallerSession) GetMessageTimeOfFinality ¶
func (_MessageBus *MessageBusCallerSession) GetMessageTimeOfFinality(crossChainMessage StructsCrossChainMessage) (*big.Int, error)
GetMessageTimeOfFinality is a free data retrieval call binding the contract method 0x0fcfbd11.
Solidity: function getMessageTimeOfFinality((address,uint64,uint32,uint32,bytes,uint8) crossChainMessage) view returns(uint256)
func (*MessageBusCallerSession) Owner ¶
func (_MessageBus *MessageBusCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MessageBusCallerSession) VerifyMessageFinalized ¶
func (_MessageBus *MessageBusCallerSession) VerifyMessageFinalized(crossChainMessage StructsCrossChainMessage) (bool, error)
VerifyMessageFinalized is a free data retrieval call binding the contract method 0x33a88c72.
Solidity: function verifyMessageFinalized((address,uint64,uint32,uint32,bytes,uint8) crossChainMessage) view returns(bool)
type MessageBusFilterer ¶
type MessageBusFilterer struct {
// contains filtered or unexported fields
}
MessageBusFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMessageBusFilterer ¶
func NewMessageBusFilterer(address common.Address, filterer bind.ContractFilterer) (*MessageBusFilterer, error)
NewMessageBusFilterer creates a new log filterer instance of MessageBus, bound to a specific deployed contract.
func (*MessageBusFilterer) FilterLogMessagePublished ¶
func (_MessageBus *MessageBusFilterer) FilterLogMessagePublished(opts *bind.FilterOpts) (*MessageBusLogMessagePublishedIterator, error)
FilterLogMessagePublished is a free log retrieval operation binding the contract event 0xb93c37389233beb85a3a726c3f15c2d15533ee74cb602f20f490dfffef775937.
Solidity: event LogMessagePublished(address sender, uint64 sequence, uint32 nonce, uint32 topic, bytes payload, uint8 consistencyLevel)
func (*MessageBusFilterer) FilterOwnershipTransferred ¶
func (_MessageBus *MessageBusFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MessageBusOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MessageBusFilterer) FilterValueTransfer ¶
func (_MessageBus *MessageBusFilterer) FilterValueTransfer(opts *bind.FilterOpts) (*MessageBusValueTransferIterator, error)
FilterValueTransfer is a free log retrieval operation binding the contract event 0x50c536ac33a920f00755865b831d17bf4cff0b2e0345f65b16d52bfc004068b6.
Solidity: event ValueTransfer(address sender, address receiver, uint256 amount, uint64 sequence)
func (*MessageBusFilterer) ParseLogMessagePublished ¶
func (_MessageBus *MessageBusFilterer) ParseLogMessagePublished(log types.Log) (*MessageBusLogMessagePublished, error)
ParseLogMessagePublished is a log parse operation binding the contract event 0xb93c37389233beb85a3a726c3f15c2d15533ee74cb602f20f490dfffef775937.
Solidity: event LogMessagePublished(address sender, uint64 sequence, uint32 nonce, uint32 topic, bytes payload, uint8 consistencyLevel)
func (*MessageBusFilterer) ParseOwnershipTransferred ¶
func (_MessageBus *MessageBusFilterer) ParseOwnershipTransferred(log types.Log) (*MessageBusOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MessageBusFilterer) ParseValueTransfer ¶
func (_MessageBus *MessageBusFilterer) ParseValueTransfer(log types.Log) (*MessageBusValueTransfer, error)
ParseValueTransfer is a log parse operation binding the contract event 0x50c536ac33a920f00755865b831d17bf4cff0b2e0345f65b16d52bfc004068b6.
Solidity: event ValueTransfer(address sender, address receiver, uint256 amount, uint64 sequence)
func (*MessageBusFilterer) WatchLogMessagePublished ¶
func (_MessageBus *MessageBusFilterer) WatchLogMessagePublished(opts *bind.WatchOpts, sink chan<- *MessageBusLogMessagePublished) (event.Subscription, error)
WatchLogMessagePublished is a free log subscription operation binding the contract event 0xb93c37389233beb85a3a726c3f15c2d15533ee74cb602f20f490dfffef775937.
Solidity: event LogMessagePublished(address sender, uint64 sequence, uint32 nonce, uint32 topic, bytes payload, uint8 consistencyLevel)
func (*MessageBusFilterer) WatchOwnershipTransferred ¶
func (_MessageBus *MessageBusFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MessageBusOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MessageBusFilterer) WatchValueTransfer ¶
func (_MessageBus *MessageBusFilterer) WatchValueTransfer(opts *bind.WatchOpts, sink chan<- *MessageBusValueTransfer) (event.Subscription, error)
WatchValueTransfer is a free log subscription operation binding the contract event 0x50c536ac33a920f00755865b831d17bf4cff0b2e0345f65b16d52bfc004068b6.
Solidity: event ValueTransfer(address sender, address receiver, uint256 amount, uint64 sequence)
type MessageBusLogMessagePublished ¶
type MessageBusLogMessagePublished struct { Sender common.Address Sequence uint64 Nonce uint32 Topic uint32 Payload []byte ConsistencyLevel uint8 Raw types.Log // Blockchain specific contextual infos }
MessageBusLogMessagePublished represents a LogMessagePublished event raised by the MessageBus contract.
type MessageBusLogMessagePublishedIterator ¶
type MessageBusLogMessagePublishedIterator struct { Event *MessageBusLogMessagePublished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MessageBusLogMessagePublishedIterator is returned from FilterLogMessagePublished and is used to iterate over the raw logs and unpacked data for LogMessagePublished events raised by the MessageBus contract.
func (*MessageBusLogMessagePublishedIterator) Close ¶
func (it *MessageBusLogMessagePublishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MessageBusLogMessagePublishedIterator) Error ¶
func (it *MessageBusLogMessagePublishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MessageBusLogMessagePublishedIterator) Next ¶
func (it *MessageBusLogMessagePublishedIterator) Next() bool
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 MessageBusOwnershipTransferred ¶
type MessageBusOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
MessageBusOwnershipTransferred represents a OwnershipTransferred event raised by the MessageBus contract.
type MessageBusOwnershipTransferredIterator ¶
type MessageBusOwnershipTransferredIterator struct { Event *MessageBusOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MessageBusOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the MessageBus contract.
func (*MessageBusOwnershipTransferredIterator) Close ¶
func (it *MessageBusOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MessageBusOwnershipTransferredIterator) Error ¶
func (it *MessageBusOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MessageBusOwnershipTransferredIterator) Next ¶
func (it *MessageBusOwnershipTransferredIterator) Next() bool
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 MessageBusRaw ¶
type MessageBusRaw struct {
Contract *MessageBus // Generic contract binding to access the raw methods on
}
MessageBusRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MessageBusRaw) Call ¶
func (_MessageBus *MessageBusRaw) 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 (*MessageBusRaw) Transact ¶
func (_MessageBus *MessageBusRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MessageBusRaw) Transfer ¶
func (_MessageBus *MessageBusRaw) 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 MessageBusSession ¶
type MessageBusSession struct { Contract *MessageBus // 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 }
MessageBusSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MessageBusSession) Fallback ¶
func (_MessageBus *MessageBusSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*MessageBusSession) GetMessageTimeOfFinality ¶
func (_MessageBus *MessageBusSession) GetMessageTimeOfFinality(crossChainMessage StructsCrossChainMessage) (*big.Int, error)
GetMessageTimeOfFinality is a free data retrieval call binding the contract method 0x0fcfbd11.
Solidity: function getMessageTimeOfFinality((address,uint64,uint32,uint32,bytes,uint8) crossChainMessage) view returns(uint256)
func (*MessageBusSession) Owner ¶
func (_MessageBus *MessageBusSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MessageBusSession) PublishMessage ¶
func (_MessageBus *MessageBusSession) PublishMessage(nonce uint32, topic uint32, payload []byte, consistencyLevel uint8) (*types.Transaction, error)
PublishMessage is a paid mutator transaction binding the contract method 0xb1454caa.
Solidity: function publishMessage(uint32 nonce, uint32 topic, bytes payload, uint8 consistencyLevel) returns(uint64 sequence)
func (*MessageBusSession) Receive ¶
func (_MessageBus *MessageBusSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*MessageBusSession) ReceiveValueFromL2 ¶
func (_MessageBus *MessageBusSession) ReceiveValueFromL2(receiver common.Address, amount *big.Int) (*types.Transaction, error)
ReceiveValueFromL2 is a paid mutator transaction binding the contract method 0x99a3ad21.
Solidity: function receiveValueFromL2(address receiver, uint256 amount) returns()
func (*MessageBusSession) RenounceOwnership ¶
func (_MessageBus *MessageBusSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MessageBusSession) RetrieveAllFunds ¶
func (_MessageBus *MessageBusSession) RetrieveAllFunds(receiver common.Address) (*types.Transaction, error)
RetrieveAllFunds is a paid mutator transaction binding the contract method 0x36d2da90.
Solidity: function retrieveAllFunds(address receiver) returns()
func (*MessageBusSession) SendValueToL2 ¶
func (_MessageBus *MessageBusSession) SendValueToL2(receiver common.Address, amount *big.Int) (*types.Transaction, error)
SendValueToL2 is a paid mutator transaction binding the contract method 0x346633fb.
Solidity: function sendValueToL2(address receiver, uint256 amount) payable returns()
func (*MessageBusSession) StoreCrossChainMessage ¶
func (_MessageBus *MessageBusSession) StoreCrossChainMessage(crossChainMessage StructsCrossChainMessage, finalAfterTimestamp *big.Int) (*types.Transaction, error)
StoreCrossChainMessage is a paid mutator transaction binding the contract method 0x9730886d.
Solidity: function storeCrossChainMessage((address,uint64,uint32,uint32,bytes,uint8) crossChainMessage, uint256 finalAfterTimestamp) returns()
func (*MessageBusSession) TransferOwnership ¶
func (_MessageBus *MessageBusSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*MessageBusSession) VerifyMessageFinalized ¶
func (_MessageBus *MessageBusSession) VerifyMessageFinalized(crossChainMessage StructsCrossChainMessage) (bool, error)
VerifyMessageFinalized is a free data retrieval call binding the contract method 0x33a88c72.
Solidity: function verifyMessageFinalized((address,uint64,uint32,uint32,bytes,uint8) crossChainMessage) view returns(bool)
type MessageBusTransactor ¶
type MessageBusTransactor struct {
// contains filtered or unexported fields
}
MessageBusTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMessageBusTransactor ¶
func NewMessageBusTransactor(address common.Address, transactor bind.ContractTransactor) (*MessageBusTransactor, error)
NewMessageBusTransactor creates a new write-only instance of MessageBus, bound to a specific deployed contract.
func (*MessageBusTransactor) Fallback ¶
func (_MessageBus *MessageBusTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*MessageBusTransactor) PublishMessage ¶
func (_MessageBus *MessageBusTransactor) PublishMessage(opts *bind.TransactOpts, nonce uint32, topic uint32, payload []byte, consistencyLevel uint8) (*types.Transaction, error)
PublishMessage is a paid mutator transaction binding the contract method 0xb1454caa.
Solidity: function publishMessage(uint32 nonce, uint32 topic, bytes payload, uint8 consistencyLevel) returns(uint64 sequence)
func (*MessageBusTransactor) Receive ¶
func (_MessageBus *MessageBusTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*MessageBusTransactor) ReceiveValueFromL2 ¶
func (_MessageBus *MessageBusTransactor) ReceiveValueFromL2(opts *bind.TransactOpts, receiver common.Address, amount *big.Int) (*types.Transaction, error)
ReceiveValueFromL2 is a paid mutator transaction binding the contract method 0x99a3ad21.
Solidity: function receiveValueFromL2(address receiver, uint256 amount) returns()
func (*MessageBusTransactor) RenounceOwnership ¶
func (_MessageBus *MessageBusTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MessageBusTransactor) RetrieveAllFunds ¶
func (_MessageBus *MessageBusTransactor) RetrieveAllFunds(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)
RetrieveAllFunds is a paid mutator transaction binding the contract method 0x36d2da90.
Solidity: function retrieveAllFunds(address receiver) returns()
func (*MessageBusTransactor) SendValueToL2 ¶
func (_MessageBus *MessageBusTransactor) SendValueToL2(opts *bind.TransactOpts, receiver common.Address, amount *big.Int) (*types.Transaction, error)
SendValueToL2 is a paid mutator transaction binding the contract method 0x346633fb.
Solidity: function sendValueToL2(address receiver, uint256 amount) payable returns()
func (*MessageBusTransactor) StoreCrossChainMessage ¶
func (_MessageBus *MessageBusTransactor) StoreCrossChainMessage(opts *bind.TransactOpts, crossChainMessage StructsCrossChainMessage, finalAfterTimestamp *big.Int) (*types.Transaction, error)
StoreCrossChainMessage is a paid mutator transaction binding the contract method 0x9730886d.
Solidity: function storeCrossChainMessage((address,uint64,uint32,uint32,bytes,uint8) crossChainMessage, uint256 finalAfterTimestamp) returns()
func (*MessageBusTransactor) TransferOwnership ¶
func (_MessageBus *MessageBusTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type MessageBusTransactorRaw ¶
type MessageBusTransactorRaw struct {
Contract *MessageBusTransactor // Generic write-only contract binding to access the raw methods on
}
MessageBusTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MessageBusTransactorRaw) Transact ¶
func (_MessageBus *MessageBusTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MessageBusTransactorRaw) Transfer ¶
func (_MessageBus *MessageBusTransactorRaw) 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 MessageBusTransactorSession ¶
type MessageBusTransactorSession struct { Contract *MessageBusTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MessageBusTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MessageBusTransactorSession) Fallback ¶
func (_MessageBus *MessageBusTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*MessageBusTransactorSession) PublishMessage ¶
func (_MessageBus *MessageBusTransactorSession) PublishMessage(nonce uint32, topic uint32, payload []byte, consistencyLevel uint8) (*types.Transaction, error)
PublishMessage is a paid mutator transaction binding the contract method 0xb1454caa.
Solidity: function publishMessage(uint32 nonce, uint32 topic, bytes payload, uint8 consistencyLevel) returns(uint64 sequence)
func (*MessageBusTransactorSession) Receive ¶
func (_MessageBus *MessageBusTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*MessageBusTransactorSession) ReceiveValueFromL2 ¶
func (_MessageBus *MessageBusTransactorSession) ReceiveValueFromL2(receiver common.Address, amount *big.Int) (*types.Transaction, error)
ReceiveValueFromL2 is a paid mutator transaction binding the contract method 0x99a3ad21.
Solidity: function receiveValueFromL2(address receiver, uint256 amount) returns()
func (*MessageBusTransactorSession) RenounceOwnership ¶
func (_MessageBus *MessageBusTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MessageBusTransactorSession) RetrieveAllFunds ¶
func (_MessageBus *MessageBusTransactorSession) RetrieveAllFunds(receiver common.Address) (*types.Transaction, error)
RetrieveAllFunds is a paid mutator transaction binding the contract method 0x36d2da90.
Solidity: function retrieveAllFunds(address receiver) returns()
func (*MessageBusTransactorSession) SendValueToL2 ¶
func (_MessageBus *MessageBusTransactorSession) SendValueToL2(receiver common.Address, amount *big.Int) (*types.Transaction, error)
SendValueToL2 is a paid mutator transaction binding the contract method 0x346633fb.
Solidity: function sendValueToL2(address receiver, uint256 amount) payable returns()
func (*MessageBusTransactorSession) StoreCrossChainMessage ¶
func (_MessageBus *MessageBusTransactorSession) StoreCrossChainMessage(crossChainMessage StructsCrossChainMessage, finalAfterTimestamp *big.Int) (*types.Transaction, error)
StoreCrossChainMessage is a paid mutator transaction binding the contract method 0x9730886d.
Solidity: function storeCrossChainMessage((address,uint64,uint32,uint32,bytes,uint8) crossChainMessage, uint256 finalAfterTimestamp) returns()
func (*MessageBusTransactorSession) TransferOwnership ¶
func (_MessageBus *MessageBusTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type MessageBusValueTransfer ¶
type MessageBusValueTransfer struct { Sender common.Address Receiver common.Address Amount *big.Int Sequence uint64 Raw types.Log // Blockchain specific contextual infos }
MessageBusValueTransfer represents a ValueTransfer event raised by the MessageBus contract.
type MessageBusValueTransferIterator ¶
type MessageBusValueTransferIterator struct { Event *MessageBusValueTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MessageBusValueTransferIterator is returned from FilterValueTransfer and is used to iterate over the raw logs and unpacked data for ValueTransfer events raised by the MessageBus contract.
func (*MessageBusValueTransferIterator) Close ¶
func (it *MessageBusValueTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MessageBusValueTransferIterator) Error ¶
func (it *MessageBusValueTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MessageBusValueTransferIterator) Next ¶
func (it *MessageBusValueTransferIterator) Next() bool
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.