Documentation
¶
Index ¶
- Variables
- type MessageBus
- type MessageBusCaller
- func (_MessageBus *MessageBusCaller) GetMessageTimeOfFinality(opts *bind.CallOpts, crossChainMessage StructsCrossChainMessage) (*big.Int, error)
- func (_MessageBus *MessageBusCaller) GetPublishFee(opts *bind.CallOpts) (*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) GetPublishFee() (*big.Int, error)
- func (_MessageBus *MessageBusCallerSession) Owner() (common.Address, error)
- func (_MessageBus *MessageBusCallerSession) VerifyMessageFinalized(crossChainMessage StructsCrossChainMessage) (bool, error)
- type MessageBusFilterer
- func (_MessageBus *MessageBusFilterer) FilterInitialized(opts *bind.FilterOpts) (*MessageBusInitializedIterator, error)
- func (_MessageBus *MessageBusFilterer) FilterLogMessagePublished(opts *bind.FilterOpts) (*MessageBusLogMessagePublishedIterator, error)
- func (_MessageBus *MessageBusFilterer) FilterNativeDeposit(opts *bind.FilterOpts, receiver []common.Address) (*MessageBusNativeDepositIterator, 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) ParseInitialized(log types.Log) (*MessageBusInitialized, error)
- func (_MessageBus *MessageBusFilterer) ParseLogMessagePublished(log types.Log) (*MessageBusLogMessagePublished, error)
- func (_MessageBus *MessageBusFilterer) ParseNativeDeposit(log types.Log) (*MessageBusNativeDeposit, error)
- func (_MessageBus *MessageBusFilterer) ParseOwnershipTransferred(log types.Log) (*MessageBusOwnershipTransferred, error)
- func (_MessageBus *MessageBusFilterer) ParseValueTransfer(log types.Log) (*MessageBusValueTransfer, error)
- func (_MessageBus *MessageBusFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MessageBusInitialized) (event.Subscription, error)
- func (_MessageBus *MessageBusFilterer) WatchLogMessagePublished(opts *bind.WatchOpts, sink chan<- *MessageBusLogMessagePublished) (event.Subscription, error)
- func (_MessageBus *MessageBusFilterer) WatchNativeDeposit(opts *bind.WatchOpts, sink chan<- *MessageBusNativeDeposit, ...) (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 MessageBusInitialized
- type MessageBusInitializedIterator
- type MessageBusLogMessagePublished
- type MessageBusLogMessagePublishedIterator
- type MessageBusNativeDeposit
- type MessageBusNativeDepositIterator
- 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) GetPublishFee() (*big.Int, error)
- func (_MessageBus *MessageBusSession) Initialize(caller common.Address, feesAddress common.Address) (*types.Transaction, error)
- func (_MessageBus *MessageBusSession) NotifyDeposit(receiver common.Address, amount *big.Int) (*types.Transaction, 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) Initialize(opts *bind.TransactOpts, caller common.Address, feesAddress common.Address) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactor) NotifyDeposit(opts *bind.TransactOpts, receiver common.Address, amount *big.Int) (*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) Initialize(caller common.Address, feesAddress common.Address) (*types.Transaction, error)
- func (_MessageBus *MessageBusTransactorSession) NotifyDeposit(receiver common.Address, amount *big.Int) (*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\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"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\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"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\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"NativeDeposit\",\"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\":\"getPublishFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feesAddress\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"notifyDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"payable\",\"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: "0x6080604052348015600e575f5ffd5b50601633601a565b608a565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b611ae7806100975f395ff3fe6080604052600436106100d4575f3560e01c8063715018a61161007e57806399a3ad211161005857806399a3ad21146102a2578063ab53bddc146102c1578063b1454caa146102e0578063f2fde38b1461030057610144565b8063715018a61461022b5780638da5cb5b1461023f5780639730886d1461028357610144565b8063346633fb116100af578063346633fb146101da57806336d2da90146101ed578063485cc9551461020c57610144565b8062a1b815146101655780630fcfbd111461018f57806333a88c72146101ae57610144565b36610144576040517f346633fb000000000000000000000000000000000000000000000000000000008152309063346633fb9034906101199033908390600401610dbb565b5f604051808303818588803b158015610130575f5ffd5b505af1158015610142573d5f5f3e3d5ffd5b005b60405162461bcd60e51b815260040161015c90610e0a565b60405180910390fd5b348015610170575f5ffd5b5061017961031f565b6040516101869190610e1a565b60405180910390f35b34801561019a575f5ffd5b506101796101a9366004610e41565b6103a8565b3480156101b9575f5ffd5b506101cd6101c8366004610e41565b610405565b6040516101869190610e81565b6101426101e8366004610ebe565b610455565b3480156101f8575f5ffd5b50610142610207366004610ef4565b61059e565b348015610217575f5ffd5b50610142610226366004610f11565b610619565b348015610236575f5ffd5b50610142610782565b34801561024a575f5ffd5b507f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b03166040516101869190610f3e565b34801561028e575f5ffd5b5061014261029d366004610f4c565b610795565b3480156102ad575f5ffd5b506101426102bc366004610ebe565b6108fa565b3480156102cc575f5ffd5b506101426102db366004610ebe565b61090c565b6102f36102ee36600461100e565b6109d4565b6040516101869190611096565b34801561030b575f5ffd5b5061014261031a366004610ef4565b610adc565b600354604080517f1a90a21900000000000000000000000000000000000000000000000000000000815290515f926001600160a01b031691631a90a2199160048083019260209291908290030181865afa15801561037f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a391906110af565b905090565b5f5f826040516020016103bb9190611261565b60408051601f1981840301815291815281516020928301205f81815292839052912054909150806103fe5760405162461bcd60e51b815260040161015c906112cc565b9392505050565b5f5f826040516020016104189190611261565b60408051601f1981840301815291815281516020928301205f81815292839052912054909150801580159061044d5750428111155b949350505050565b5f3411801561046357508034145b61047f5760405162461bcd60e51b815260040161015c90611334565b60035434906001600160a01b03161561053f575f61049b61031f565b9050803410156104bd5760405162461bcd60e51b815260040161015c90611374565b6104c78134611398565b6003546040519193505f916001600160a01b039091169083908381818185875af1925050503d805f8114610516576040519150601f19603f3d011682016040523d82523d5f602084013e61051b565b606091505b505090508061053c5760405162461bcd60e51b815260040161015c90611403565b50505b5f61054933610b32565b9050836001600160a01b0316336001600160a01b03167f50c536ac33a920f00755865b831d17bf4cff0b2e0345f65b16d52bfc004068b68484604051610590929190611413565b60405180910390a350505050565b6105a6610b8f565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f81146105ef576040519150601f19603f3d011682016040523d82523d5f602084013e6105f4565b606091505b50509050806106155760405162461bcd60e51b815260040161015c90611460565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f811580156106635750825b90505f8267ffffffffffffffff16600114801561067f5750303b155b90508115801561068d575080155b156106c4576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156106f857845468ff00000000000000001916680100000000000000001785555b61070187610c03565b6003805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038816179055831561077957845468ff0000000000000000191685556040517fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29061077090600190611493565b60405180910390a15b50505050505050565b61078a610b8f565b6107935f610c14565b565b5f6107a16001306114a1565b90506107d47f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b0316336001600160a01b031614806107fb5750336001600160a01b038216145b6108175760405162461bcd60e51b815260040161015c906114f6565b5f6108228342611506565b90505f846040516020016108369190611261565b60408051601f1981840301815291815281516020928301205f81815292839052912054909150156108795760405162461bcd60e51b815260040161015c90611571565b5f8181526020818152604082208490556001919061089990880188610ef4565b6001600160a01b0316815260208101919091526040015f908120906108c46080880160608901611581565b63ffffffff1681526020808201929092526040015f908120805460018101825590825291902086916004020161077982826119b8565b610902610b8f565b6106158282610c91565b5f6109186001306114a1565b905061094b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b0316336001600160a01b031614806109725750336001600160a01b038216145b61098e5760405162461bcd60e51b815260040161015c906114f6565b826001600160a01b03167fcd9850463422a7449c406a036e35e5edb6fbe35a64c9f12a2354be98a750c0d3836040516109c79190610e1a565b60405180910390a2505050565b6003545f906001600160a01b031615610a85575f6109f061031f565b905080341015610a125760405162461bcd60e51b815260040161015c90611a1a565b6003546040515f916001600160a01b03169083908381818185875af1925050503d805f8114610a5c576040519150601f19603f3d011682016040523d82523d5f602084013e610a61565b606091505b5050905080610a825760405162461bcd60e51b815260040161015c90611403565b50505b610a8e33610b32565b90507fb93c37389233beb85a3a726c3f15c2d15533ee74cb602f20f490dfffef77593733828888888888604051610acb9796959493929190611a2a565b60405180910390a195945050505050565b610ae4610b8f565b6001600160a01b038116610b26575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161015c9190610f3e565b610b2f81610c14565b50565b6001600160a01b0381165f908152600260205260408120805467ffffffffffffffff169160019190610b648385611a8d565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550919050565b33610bc17f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b03161461079357336040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161015c9190610f3e565b610c0b610d25565b610b2f81610d8c565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300805473ffffffffffffffffffffffffffffffffffffffff1981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b80471015610cb15760405162461bcd60e51b815260040161015c90611374565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610cfa576040519150601f19603f3d011682016040523d82523d5f602084013e610cff565b606091505b5050905080610d205760405162461bcd60e51b815260040161015c90611460565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610793576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ae4610d25565b5f6001600160a01b0382165b92915050565b610daf81610d94565b82525050565b80610daf565b60408101610dc98285610da6565b6103fe6020830184610db5565b600b8152602081017f756e737570706f72746564000000000000000000000000000000000000000000815290505b60200190565b60208082528101610da081610dd6565b60208101610da08284610db5565b5f60c08284031215610e3b57610e3b5f5ffd5b50919050565b5f60208284031215610e5457610e545f5ffd5b813567ffffffffffffffff811115610e6d57610e6d5f5ffd5b61044d84828501610e28565b801515610daf565b60208101610da08284610e79565b610e9881610d94565b8114610b2f575f5ffd5b8035610da081610e8f565b80610e98565b8035610da081610ead565b5f5f60408385031215610ed257610ed25f5ffd5b610edc8484610ea2565b9150610eeb8460208501610eb3565b90509250929050565b5f60208284031215610f0757610f075f5ffd5b6103fe8383610ea2565b5f5f60408385031215610f2557610f255f5ffd5b610f2f8484610ea2565b9150610eeb8460208501610ea2565b60208101610da08284610da6565b5f5f60408385031215610f6057610f605f5ffd5b823567ffffffffffffffff811115610f7957610f795f5ffd5b610f8585828601610e28565b925050610eeb8460208501610eb3565b63ffffffff8116610e98565b8035610da081610f95565b5f5f83601f840112610fbf57610fbf5f5ffd5b50813567ffffffffffffffff811115610fd957610fd95f5ffd5b602083019150836001820283011115610ff357610ff35f5ffd5b9250929050565b60ff8116610e98565b8035610da081610ffa565b5f5f5f5f5f60808688031215611025576110255f5ffd5b61102f8787610fa1565b945061103e8760208801610fa1565b9350604086013567ffffffffffffffff81111561105c5761105c5f5ffd5b61106888828901610fac565b935093505061107a8760608801611003565b90509295509295909350565b67ffffffffffffffff8116610daf565b60208101610da08284611086565b8051610da081610ead565b5f602082840312156110c2576110c25f5ffd5b6103fe83836110a4565b505f610da06020830183610ea2565b67ffffffffffffffff8116610e98565b8035610da0816110db565b505f610da060208301836110eb565b505f610da06020830183610fa1565b63ffffffff8116610daf565b5f808335601e1936859003018112611139576111395f5ffd5b830160208101925035905067ffffffffffffffff81111561115b5761115b5f5ffd5b36819003821315610ff357610ff35f5ffd5b82818337505f910152565b81835260208301925061118c82848361116d565b50601f01601f19160190565b505f610da06020830183611003565b60ff8116610daf565b5f60c083016111bf83806110cc565b6111c98582610da6565b506111d760208401846110f6565b6111e46020860182611086565b506111f26040840184611105565b6111ff6040860182611114565b5061120d6060840184611105565b61121a6060860182611114565b506112286080840184611120565b858303608087015261123b838284611178565b9250505061124c60a0840184611198565b61125960a08601826111a7565b509392505050565b602080825281016103fe81846111b0565b60218152602081017f54686973206d65737361676520776173206e65766572207375626d697474656481527f2e00000000000000000000000000000000000000000000000000000000000000602082015290505b60400190565b60208082528101610da081611272565b60308152602081017f417474656d7074696e6720746f2073656e642076616c756520776974686f757481527f2070726f766964696e6720457468657200000000000000000000000000000000602082015290506112c6565b60208082528101610da0816112dc565b60208082527f496e73756666696369656e742066756e647320746f2073656e642076616c75659101908152610e04565b60208082528101610da081611344565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610da057610da0611384565b60248152602081017f4661696c656420746f2073656e64206665657320746f206665657320636f6e7481527f7261637400000000000000000000000000000000000000000000000000000000602082015290506112c6565b60208082528101610da0816113ab565b604081016114218285610db5565b6103fe6020830184611086565b60148152602081017f6661696c65642073656e64696e672076616c756500000000000000000000000081529050610e04565b60208082528101610da08161142e565b5f610da08261147d565b90565b67ffffffffffffffff1690565b610daf81611470565b60208101610da0828461148a565b6001600160a01b03918216919081169082820390811115610da057610da0611384565b60118152602081017f4e6f74206f776e6572206f722073656c6600000000000000000000000000000081529050610e04565b60208082528101610da0816114c4565b80820180821115610da057610da0611384565b60218152602081017f4d657373616765207375626d6974746564206d6f7265207468616e206f6e636581527f2100000000000000000000000000000000000000000000000000000000000000602082015290506112c6565b60208082528101610da081611519565b5f60208284031215611594576115945f5ffd5b6103fe8383610fa1565b5f8135610da081610e8f565b5f6001600160a01b03835b81169019929092169190911792915050565b5f6001600160a01b038216610da0565b5f610da0826115c7565b5f610da0826115d7565b6115f4826115e1565b6115ff8183546115aa565b8255505050565b5f8135610da0816110db565b5f7bffffffffffffffff00000000000000000000000000000000000000006115b58460a01b90565b5f610da067ffffffffffffffff831661147d565b6116578261163a565b6115ff818354611612565b5f8135610da081610f95565b5f7fffffffff000000000000000000000000000000000000000000000000000000006115b58460e01b90565b5f63ffffffff8216610da0565b6116b08261169a565b6115ff81835461166e565b5f63ffffffff836115b5565b6116d08261169a565b6115ff8183546116bb565b5f808335601e19368590030181126116f4576116f45f5ffd5b8301915050803567ffffffffffffffff811115611712576117125f5ffd5b602082019150600181023603821315610ff357610ff35f5ffd5b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52602260045260245ffd5b60028104600182168061176857607f821691505b602082108103610e3b57610e3b611740565b5f610da061147a8381565b61178e8361177a565b81545f1960089490940293841b1916921b91909117905550565b5f610d20818484611785565b81811015610615576117c65f826117a8565b6001016117b4565b601f821115610d20575f818152602090206020601f850104810160208510156117f45750805b6118066020601f8601048301826117b4565b5050505050565b8267ffffffffffffffff8111156118265761182661172c565b6118308254611754565b61183b8282856117ce565b505f601f82116001811461186d575f83156118565750848201355b5f19600885021c19811660028502178555506118c4565b5f84815260208120601f198516915b8281101561189c578785013582556020948501946001909201910161187c565b50848210156118b8575f196008601f8716021c19878501351681555b50506001600284020184555b505050505050565b610d2083838361180d565b5f8135610da081610ffa565b5f60ff8216610da0565b6118f6826118e3565b815460ff191660ff8216176115ff565b8082806119128161159e565b905061191e81846115eb565b5050602083018061192e82611606565b905061193a818461164e565b5050604083018061194a82611662565b905061195681846116a7565b505050606082018061196782611662565b905061197681600185016116c7565b505061198560808301836116db565b6119938183600286016118cc565b505060a08201806119a3826118d7565b90506119b281600385016118ed565b50505050565b6106158282611906565b60258152602081017f496e73756666696369656e742066756e647320746f207075626c697368206d6581527f7373616765000000000000000000000000000000000000000000000000000000602082015290506112c6565b60208082528101610da0816119c2565b60c08101611a38828a610da6565b611a456020830189611086565b611a526040830188611114565b611a5f6060830187611114565b8181036080830152611a72818587611178565b9050611a8160a08301846111a7565b98975050505050505050565b67ffffffffffffffff918216919081169082820190811115610da057610da061138456fea2646970667358221220c836c0f8d512a3dd221c59b55724483dcafe9d398f730a9a6c742eb58bba83e864736f6c634300081c0033",
}
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) GetPublishFee ¶ added in v1.0.0
GetPublishFee is a free data retrieval call binding the contract method 0x00a1b815.
Solidity: function getPublishFee() 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) GetPublishFee ¶ added in v1.0.0
func (_MessageBus *MessageBusCallerSession) GetPublishFee() (*big.Int, error)
GetPublishFee is a free data retrieval call binding the contract method 0x00a1b815.
Solidity: function getPublishFee() 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) FilterInitialized ¶ added in v0.28.0
func (_MessageBus *MessageBusFilterer) FilterInitialized(opts *bind.FilterOpts) (*MessageBusInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
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) FilterNativeDeposit ¶ added in v1.0.0
func (_MessageBus *MessageBusFilterer) FilterNativeDeposit(opts *bind.FilterOpts, receiver []common.Address) (*MessageBusNativeDepositIterator, error)
FilterNativeDeposit is a free log retrieval operation binding the contract event 0xcd9850463422a7449c406a036e35e5edb6fbe35a64c9f12a2354be98a750c0d3.
Solidity: event NativeDeposit(address indexed receiver, uint256 amount)
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) ParseInitialized ¶ added in v0.28.0
func (_MessageBus *MessageBusFilterer) ParseInitialized(log types.Log) (*MessageBusInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
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) ParseNativeDeposit ¶ added in v1.0.0
func (_MessageBus *MessageBusFilterer) ParseNativeDeposit(log types.Log) (*MessageBusNativeDeposit, error)
ParseNativeDeposit is a log parse operation binding the contract event 0xcd9850463422a7449c406a036e35e5edb6fbe35a64c9f12a2354be98a750c0d3.
Solidity: event NativeDeposit(address indexed receiver, uint256 amount)
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) WatchInitialized ¶ added in v0.28.0
func (_MessageBus *MessageBusFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MessageBusInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
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) WatchNativeDeposit ¶ added in v1.0.0
func (_MessageBus *MessageBusFilterer) WatchNativeDeposit(opts *bind.WatchOpts, sink chan<- *MessageBusNativeDeposit, receiver []common.Address) (event.Subscription, error)
WatchNativeDeposit is a free log subscription operation binding the contract event 0xcd9850463422a7449c406a036e35e5edb6fbe35a64c9f12a2354be98a750c0d3.
Solidity: event NativeDeposit(address indexed receiver, uint256 amount)
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 MessageBusInitialized ¶ added in v0.28.0
type MessageBusInitialized struct {
Version uint64
Raw types.Log // Blockchain specific contextual infos
}
MessageBusInitialized represents a Initialized event raised by the MessageBus contract.
type MessageBusInitializedIterator ¶ added in v0.28.0
type MessageBusInitializedIterator struct {
Event *MessageBusInitialized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
MessageBusInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the MessageBus contract.
func (*MessageBusInitializedIterator) Close ¶ added in v0.28.0
func (it *MessageBusInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MessageBusInitializedIterator) Error ¶ added in v0.28.0
func (it *MessageBusInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MessageBusInitializedIterator) Next ¶ added in v0.28.0
func (it *MessageBusInitializedIterator) 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 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 MessageBusNativeDeposit ¶ added in v1.0.0
type MessageBusNativeDeposit struct {
Receiver common.Address
Amount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
MessageBusNativeDeposit represents a NativeDeposit event raised by the MessageBus contract.
type MessageBusNativeDepositIterator ¶ added in v1.0.0
type MessageBusNativeDepositIterator struct {
Event *MessageBusNativeDeposit // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
MessageBusNativeDepositIterator is returned from FilterNativeDeposit and is used to iterate over the raw logs and unpacked data for NativeDeposit events raised by the MessageBus contract.
func (*MessageBusNativeDepositIterator) Close ¶ added in v1.0.0
func (it *MessageBusNativeDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MessageBusNativeDepositIterator) Error ¶ added in v1.0.0
func (it *MessageBusNativeDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MessageBusNativeDepositIterator) Next ¶ added in v1.0.0
func (it *MessageBusNativeDepositIterator) 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) GetPublishFee ¶ added in v1.0.0
func (_MessageBus *MessageBusSession) GetPublishFee() (*big.Int, error)
GetPublishFee is a free data retrieval call binding the contract method 0x00a1b815.
Solidity: function getPublishFee() view returns(uint256)
func (*MessageBusSession) Initialize ¶ added in v0.28.0
func (_MessageBus *MessageBusSession) Initialize(caller common.Address, feesAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address caller, address feesAddress) returns()
func (*MessageBusSession) NotifyDeposit ¶ added in v1.0.0
func (_MessageBus *MessageBusSession) NotifyDeposit(receiver common.Address, amount *big.Int) (*types.Transaction, error)
NotifyDeposit is a paid mutator transaction binding the contract method 0xab53bddc.
Solidity: function notifyDeposit(address receiver, uint256 amount) returns()
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) payable 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) Initialize ¶ added in v0.28.0
func (_MessageBus *MessageBusTransactor) Initialize(opts *bind.TransactOpts, caller common.Address, feesAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address caller, address feesAddress) returns()
func (*MessageBusTransactor) NotifyDeposit ¶ added in v1.0.0
func (_MessageBus *MessageBusTransactor) NotifyDeposit(opts *bind.TransactOpts, receiver common.Address, amount *big.Int) (*types.Transaction, error)
NotifyDeposit is a paid mutator transaction binding the contract method 0xab53bddc.
Solidity: function notifyDeposit(address receiver, uint256 amount) 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) payable 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) Initialize ¶ added in v0.28.0
func (_MessageBus *MessageBusTransactorSession) Initialize(caller common.Address, feesAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address caller, address feesAddress) returns()
func (*MessageBusTransactorSession) NotifyDeposit ¶ added in v1.0.0
func (_MessageBus *MessageBusTransactorSession) NotifyDeposit(receiver common.Address, amount *big.Int) (*types.Transaction, error)
NotifyDeposit is a paid mutator transaction binding the contract method 0xab53bddc.
Solidity: function notifyDeposit(address receiver, uint256 amount) 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) payable 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.