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, sender []common.Address) (*MessageBusLogMessagePublishedIterator, error)
- func (_MessageBus *MessageBusFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*MessageBusOwnershipTransferredIterator, error)
- func (_MessageBus *MessageBusFilterer) FilterValueTransfer(opts *bind.FilterOpts, sender []common.Address, receiver []common.Address) (*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\":true,\"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\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"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: "0x608060405234801561001057600080fd5b50338061003757604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61004081610046565b50610096565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611011806100a56000396000f3fe6080604052600436106100b55760003560e01c80638da5cb5b1161006957806399a3ad211161004e57806399a3ad2114610269578063b1454caa14610289578063f2fde38b146102c257610129565b80638da5cb5b146102215780639730886d1461024957610129565b8063346633fb1161009a578063346633fb146101d957806336d2da90146101ec578063715018a61461020c57610129565b80630fcfbd111461017657806333a88c72146101a957610129565b36610129576040517f346633fb0000000000000000000000000000000000000000000000000000000081523360048201523460248201819052309163346633fb91906044016000604051808303818588803b15801561011357600080fd5b505af1158015610127573d6000803e3d6000fd5b005b60405162461bcd60e51b815260206004820152600b60248201527f756e737570706f7274656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b34801561018257600080fd5b50610196610191366004610964565b6102e2565b6040519081526020015b60405180910390f35b3480156101b557600080fd5b506101c96101c4366004610964565b610398565b60405190151581526020016101a0565b6101276101e73660046109ae565b6103eb565b3480156101f857600080fd5b506101276102073660046109da565b6104ce565b34801561021857600080fd5b5061012761057d565b34801561022d57600080fd5b506000546040516001600160a01b0390911681526020016101a0565b34801561025557600080fd5b506101276102643660046109f7565b610591565b34801561027557600080fd5b506101276102843660046109ae565b6106e3565b34801561029557600080fd5b506102a96102a4366004610a6d565b610793565b60405167ffffffffffffffff90911681526020016101a0565b3480156102ce57600080fd5b506101276102dd3660046109da565b6107f4565b600080826040516020016102f69190610b59565b60408051601f19818403018152918152815160209283012060008181526001909352912054909150806103915760405162461bcd60e51b815260206004820152602160248201527f54686973206d65737361676520776173206e65766572207375626d697474656460448201527f2e00000000000000000000000000000000000000000000000000000000000000606482015260840161016d565b9392505050565b600080826040516020016103ac9190610b59565b60408051601f1981840301815291815281516020928301206000818152600190935291205490915080158015906103e35750428111155b949350505050565b6000341180156103fa57508034145b61046c5760405162461bcd60e51b815260206004820152603060248201527f417474656d7074696e6720746f2073656e642076616c756520776974686f757460448201527f2070726f766964696e6720457468657200000000000000000000000000000000606482015260840161016d565b60006104773361084b565b6040805134815267ffffffffffffffff831660208201529192506001600160a01b0385169133917f50c536ac33a920f00755865b831d17bf4cff0b2e0345f65b16d52bfc004068b6910160405180910390a3505050565b6104d66108a9565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610523576040519150601f19603f3d011682016040523d82523d6000602084013e610528565b606091505b50509050806105795760405162461bcd60e51b815260206004820152601460248201527f6661696c65642073656e64696e672076616c7565000000000000000000000000604482015260640161016d565b5050565b6105856108a9565b61058f60006108ef565b565b6105996108a9565b60006105a58242610c5a565b90506000836040516020016105ba9190610b59565b60408051601f19818403018152918152815160209283012060008181526001909352912054909150156106555760405162461bcd60e51b815260206004820152602160248201527f4d657373616765207375626d6974746564206d6f7265207468616e206f6e636560448201527f2100000000000000000000000000000000000000000000000000000000000000606482015260840161016d565b6000818152600160209081526040822084905560029190610678908701876109da565b6001600160a01b0316815260208101919091526040016000908120906106a46080870160608801610c73565b63ffffffff168152602080820192909252604001600090812080546001810182559082529190208591600402016106db8282610e49565b505050505050565b6106eb6108a9565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610738576040519150601f19603f3d011682016040523d82523d6000602084013e61073d565b606091505b505090508061078e5760405162461bcd60e51b815260206004820152601460248201527f6661696c65642073656e64696e672076616c7565000000000000000000000000604482015260640161016d565b505050565b600061079e3361084b565b9050336001600160a01b03167fb93c37389233beb85a3a726c3f15c2d15533ee74cb602f20f490dfffef7759378288888888886040516107e396959493929190610f63565b60405180910390a295945050505050565b6107fc6108a9565b6001600160a01b03811661083f576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526000600482015260240161016d565b610848816108ef565b50565b6001600160a01b0381166000908152600360205260408120805467ffffffffffffffff16916001919061087e8385610fb3565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550919050565b6000546001600160a01b0316331461058f576040517f118cdaa700000000000000000000000000000000000000000000000000000000815233600482015260240161016d565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060c0828403121561095e57600080fd5b50919050565b60006020828403121561097657600080fd5b813567ffffffffffffffff81111561098d57600080fd5b6103e38482850161094c565b6001600160a01b038116811461084857600080fd5b600080604083850312156109c157600080fd5b82356109cc81610999565b946020939093013593505050565b6000602082840312156109ec57600080fd5b813561039181610999565b60008060408385031215610a0a57600080fd5b823567ffffffffffffffff811115610a2157600080fd5b610a2d8582860161094c565b95602094909401359450505050565b63ffffffff8116811461084857600080fd5b60ff8116811461084857600080fd5b8035610a6881610a4e565b919050565b600080600080600060808688031215610a8557600080fd5b8535610a9081610a3c565b94506020860135610aa081610a3c565b9350604086013567ffffffffffffffff80821115610abd57600080fd5b818801915088601f830112610ad157600080fd5b813581811115610ae057600080fd5b896020828501011115610af257600080fd5b6020830195508094505050506060860135610b0c81610a4e565b809150509295509295909350565b67ffffffffffffffff8116811461084857600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260008235610b6a81610999565b6001600160a01b0381166020840152506020830135610b8881610b1a565b67ffffffffffffffff808216604085015260408501359150610ba982610a3c565b63ffffffff808316606086015260608601359250610bc683610a3c565b80831660808601525060808501359150601e19853603018212610be857600080fd5b6020918501918201913581811115610bff57600080fd5b803603831315610c0e57600080fd5b60c060a0860152610c2360e086018285610b30565b92505050610c3360a08501610a5d565b60ff811660c0850152509392505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c6d57610c6d610c44565b92915050565b600060208284031215610c8557600080fd5b813561039181610a3c565b60008135610c6d81610a3c565b6000808335601e19843603018112610cb457600080fd5b83018035915067ffffffffffffffff821115610ccf57600080fd5b602001915036819003821315610ce457600080fd5b9250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680610d1557607f821691505b60208210810361095e57634e487b7160e01b600052602260045260246000fd5b601f82111561078e57600081815260208120601f850160051c81016020861015610d5c5750805b601f850160051c820191505b818110156106db57828155600101610d68565b67ffffffffffffffff831115610d9357610d93610ceb565b610da783610da18354610d01565b83610d35565b6000601f841160018114610ddb5760008515610dc35750838201355b600019600387901b1c1916600186901b178355610e35565b600083815260209020601f19861690835b82811015610e0c5786850135825560209485019460019092019101610dec565b5086821015610e295760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b60008135610c6d81610a4e565b8135610e5481610999565b6001600160a01b038116905081548173ffffffffffffffffffffffffffffffffffffffff1982161783556020840135610e8c81610b1a565b7bffffffffffffffff00000000000000000000000000000000000000008160a01b1690507fffffffff0000000000000000000000000000000000000000000000000000000081848285161717855560408601359250610eea83610a3c565b921760e09190911b909116178155610f22610f0760608401610c90565b6001830163ffffffff821663ffffffff198254161781555050565b610f2f6080830183610c9d565b610f3d818360028601610d7b565b5050610579610f4e60a08401610e3c565b6003830160ff821660ff198254161781555050565b67ffffffffffffffff87168152600063ffffffff808816602084015280871660408401525060a06060830152610f9d60a083018587610b30565b905060ff83166080830152979650505050505050565b67ffffffffffffffff818116838216019080821115610fd457610fd4610c44565b509291505056fea2646970667358221220073c6e123b67e520085093323c32c074810fb42d685759b5eb502caef7f72f0c64736f6c63430008140033",
}
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, sender []common.Address) (*MessageBusLogMessagePublishedIterator, error)
FilterLogMessagePublished is a free log retrieval operation binding the contract event 0xb93c37389233beb85a3a726c3f15c2d15533ee74cb602f20f490dfffef775937.
Solidity: event LogMessagePublished(address indexed 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, sender []common.Address, receiver []common.Address) (*MessageBusValueTransferIterator, error)
FilterValueTransfer is a free log retrieval operation binding the contract event 0x50c536ac33a920f00755865b831d17bf4cff0b2e0345f65b16d52bfc004068b6.
Solidity: event ValueTransfer(address indexed sender, address indexed 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 indexed 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 indexed sender, address indexed receiver, uint256 amount, uint64 sequence)
func (*MessageBusFilterer) WatchLogMessagePublished ¶
func (_MessageBus *MessageBusFilterer) WatchLogMessagePublished(opts *bind.WatchOpts, sink chan<- *MessageBusLogMessagePublished, sender []common.Address) (event.Subscription, error)
WatchLogMessagePublished is a free log subscription operation binding the contract event 0xb93c37389233beb85a3a726c3f15c2d15533ee74cb602f20f490dfffef775937.
Solidity: event LogMessagePublished(address indexed 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, sender []common.Address, receiver []common.Address) (event.Subscription, error)
WatchValueTransfer is a free log subscription operation binding the contract event 0x50c536ac33a920f00755865b831d17bf4cff0b2e0345f65b16d52bfc004068b6.
Solidity: event ValueTransfer(address indexed sender, address indexed 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.