MerkleTreeMessageBus

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MerkleTreeMessageBusABI = MerkleTreeMessageBusMetaData.ABI

MerkleTreeMessageBusABI is the input ABI used to generate the binding from. Deprecated: Use MerkleTreeMessageBusMetaData.ABI instead.

View Source
var MerkleTreeMessageBusBin = MerkleTreeMessageBusMetaData.Bin

MerkleTreeMessageBusBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MerkleTreeMessageBusMetaData.Bin instead.

View Source
var MerkleTreeMessageBusMetaData = &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\":[{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"activationTime\",\"type\":\"uint256\"}],\"name\":\"addStateRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"}],\"name\":\"disableStateRoot\",\"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\":\"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\"},{\"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\":\"message\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"name\":\"verifyMessageInclusion\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"}],\"internalType\":\"structStructs.ValueTransferMessage\",\"name\":\"message\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"name\":\"verifyValueTransferInclusion\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x608060405234801561000f575f5ffd5b5061001933610026565b610021610096565b610148565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100e65760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146101455780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6123c5806101555f395ff3fe608060405260043610610110575f3560e01c80638da5cb5b116100a4578063b1454caa11610073578063b6aed0cb11610058578063b6aed0cb1461037a578063e138a8d214610399578063f2fde38b146103b857610180565b8063b1454caa1461033b578063b201246f1461035b57610180565b80638da5cb5b1461029a5780639730886d146102de57806399a3ad21146102fd578063ab53bddc1461031c57610180565b8063346633fb116100e0578063346633fb1461023557806336d2da9014610248578063485cc95514610267578063715018a61461028657610180565b8062a1b815146101a15780630fcfbd11146101cb5780630fe9188e146101ea57806333a88c721461020957610180565b36610180576040517f346633fb000000000000000000000000000000000000000000000000000000008152309063346633fb90349061015590339083906004016111bd565b5f604051808303818588803b15801561016c575f5ffd5b505af115801561017e573d5f5f3e3d5ffd5b005b60405162461bcd60e51b81526004016101989061120c565b60405180910390fd5b3480156101ac575f5ffd5b506101b56103d7565b6040516101c2919061121c565b60405180910390f35b3480156101d6575f5ffd5b506101b56101e5366004611243565b610460565b3480156101f5575f5ffd5b5061017e610204366004611292565b6104bd565b348015610214575f5ffd5b50610228610223366004611243565b610501565b6040516101c291906112b7565b61017e6102433660046112d9565b610551565b348015610253575f5ffd5b5061017e61026236600461130f565b61069a565b348015610272575f5ffd5b5061017e61028136600461132c565b610715565b348015610291575f5ffd5b5061017e61087e565b3480156102a5575f5ffd5b507f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b03166040516101c29190611359565b3480156102e9575f5ffd5b5061017e6102f8366004611367565b610891565b348015610308575f5ffd5b5061017e6103173660046112d9565b6109f6565b348015610327575f5ffd5b5061017e6103363660046112d9565b610a92565b61034e610349366004611429565b610b5a565b6040516101c291906114b1565b348015610366575f5ffd5b5061017e610375366004611519565b610c62565b348015610385575f5ffd5b5061017e610394366004611580565b610d60565b3480156103a4575f5ffd5b5061017e6103b336600461159e565b610da4565b3480156103c3575f5ffd5b5061017e6103d236600461130f565b610eeb565b600354604080517f1a90a21900000000000000000000000000000000000000000000000000000000815290515f926001600160a01b031691631a90a2199160048083019260209291908290030181865afa158015610437573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061045b9190611621565b905090565b5f5f8260405160200161047391906117d3565b60408051601f1981840301815291815281516020928301205f81815292839052912054909150806104b65760405162461bcd60e51b815260040161019890611822565b9392505050565b6104c5610f41565b5f8181526004602052604081205490036104f15760405162461bcd60e51b815260040161019890611864565b5f90815260046020526040812055565b5f5f8260405160200161051491906117d3565b60408051601f1981840301815291815281516020928301205f8181529283905291205490915080158015906105495750428111155b949350505050565b5f3411801561055f57508034145b61057b5760405162461bcd60e51b8152600401610198906118cc565b60035434906001600160a01b03161561063b575f6105976103d7565b9050803410156105b95760405162461bcd60e51b81526004016101989061190c565b6105c38134611930565b6003546040519193505f916001600160a01b039091169083908381818185875af1925050503d805f8114610612576040519150601f19603f3d011682016040523d82523d5f602084013e610617565b606091505b50509050806106385760405162461bcd60e51b81526004016101989061199b565b50505b5f61064533610fb5565b9050836001600160a01b0316336001600160a01b03167f50c536ac33a920f00755865b831d17bf4cff0b2e0345f65b16d52bfc004068b6848460405161068c9291906119ab565b60405180910390a350505050565b6106a2610f41565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f81146106eb576040519150601f19603f3d011682016040523d82523d5f602084013e6106f0565b606091505b50509050806107115760405162461bcd60e51b8152600401610198906119f8565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f8115801561075f5750825b90505f8267ffffffffffffffff16600114801561077b5750303b155b905081158015610789575080155b156107c0576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156107f457845468ff00000000000000001916680100000000000000001785555b6107fd87611012565b6003805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038816179055831561087557845468ff0000000000000000191685556040517fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29061086c90600190611a2b565b60405180910390a15b50505050505050565b610886610f41565b61088f5f611023565b565b5f61089d600130611a39565b90506108d07f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b0316336001600160a01b031614806108f75750336001600160a01b038216145b6109135760405162461bcd60e51b815260040161019890611a8e565b5f61091e8342611a9e565b90505f8460405160200161093291906117d3565b60408051601f1981840301815291815281516020928301205f81815292839052912054909150156109755760405162461bcd60e51b815260040161019890611b09565b5f818152602081815260408220849055600191906109959088018861130f565b6001600160a01b0316815260208101919091526040015f908120906109c06080880160608901611b19565b63ffffffff1681526020808201929092526040015f90812080546001810182559082529190208691600402016108758282611f35565b6109fe610f41565b80471015610a1e5760405162461bcd60e51b81526004016101989061190c565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610a67576040519150601f19603f3d011682016040523d82523d5f602084013e610a6c565b606091505b5050905080610a8d5760405162461bcd60e51b8152600401610198906119f8565b505050565b5f610a9e600130611a39565b9050610ad17f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b0316336001600160a01b03161480610af85750336001600160a01b038216145b610b145760405162461bcd60e51b815260040161019890611a8e565b826001600160a01b03167fcd9850463422a7449c406a036e35e5edb6fbe35a64c9f12a2354be98a750c0d383604051610b4d919061121c565b60405180910390a2505050565b6003545f906001600160a01b031615610c0b575f610b766103d7565b905080341015610b985760405162461bcd60e51b815260040161019890611f97565b6003546040515f916001600160a01b03169083908381818185875af1925050503d805f8114610be2576040519150601f19603f3d011682016040523d82523d5f602084013e610be7565b606091505b5050905080610c085760405162461bcd60e51b81526004016101989061199b565b50505b610c1433610fb5565b90507fb93c37389233beb85a3a726c3f15c2d15533ee74cb602f20f490dfffef77593733828888888888604051610c519796959493929190611fa7565b60405180910390a195945050505050565b5f818152600460205260408120549003610c8e5760405162461bcd60e51b815260040161019890612062565b5f81815260046020526040902054421015610cbb5760405162461bcd60e51b8152600401610198906120ae565b5f84604051602001610ccd9190612132565b60405160208183030381529060405280519060200120604051602001610cf39190612172565b604051602081830303815290604052805190602001209050610d3d84848484604051602001610d229190612191565b604051602081830303815290604052805190602001206110a0565b610d595760405162461bcd60e51b8152600401610198906121fb565b5050505050565b610d68610f41565b5f8281526004602052604090205415610d935760405162461bcd60e51b815260040161019890612263565b5f9182526004602052604090912055565b5f818152600460205260408120549003610dd05760405162461bcd60e51b815260040161019890612062565b5f81815260046020526040902054421015610dfd5760405162461bcd60e51b8152600401610198906120ae565b5f610e0b602086018661130f565b610e1b6040870160208801612273565b610e2b6060880160408901611b19565b610e3b6080890160608a01611b19565b610e4860808a018a611c63565b610e5860c08c0160a08d01612290565b604051602001610e6e9796959493929190611fa7565b6040516020818303038152906040528051906020012090505f81604051602001610e9891906122df565b604051602081830303815290604052805190602001209050610ec785858584604051602001610d229190612191565b610ee35760405162461bcd60e51b815260040161019890612347565b505050505050565b610ef3610f41565b6001600160a01b038116610f35575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101989190611359565b610f3e81611023565b50565b33610f737f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b03161461088f57336040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016101989190611359565b6001600160a01b0381165f908152600260205260408120805467ffffffffffffffff169160019190610fe78385612357565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550919050565b61101a6110b7565b610f3e8161111e565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300805473ffffffffffffffffffffffffffffffffffffffff1981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b5f826110ad868685611126565b1495945050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661088f576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef36110b7565b5f81815b8481101561115e57611154828787848181106111485761114861237b565b90506020020135611167565b915060010161112a565b50949350505050565b5f818310611181575f82815260208490526040902061118f565b5f8381526020839052604090205b90505b92915050565b5f6001600160a01b038216611192565b6111b181611198565b82525050565b806111b1565b604081016111cb82856111a8565b6104b660208301846111b7565b600b8152602081017f756e737570706f72746564000000000000000000000000000000000000000000815290505b60200190565b60208082528101611192816111d8565b6020810161119282846111b7565b5f60c0828403121561123d5761123d5f5ffd5b50919050565b5f60208284031215611256576112565f5ffd5b813567ffffffffffffffff81111561126f5761126f5f5ffd5b6105498482850161122a565b805b8114610f3e575f5ffd5b80356111928161127b565b5f602082840312156112a5576112a55f5ffd5b61118f8383611287565b8015156111b1565b6020810161119282846112af565b61127d81611198565b8035611192816112c5565b5f5f604083850312156112ed576112ed5f5ffd5b6112f784846112ce565b91506113068460208501611287565b90509250929050565b5f60208284031215611322576113225f5ffd5b61118f83836112ce565b5f5f60408385031215611340576113405f5ffd5b61134a84846112ce565b915061130684602085016112ce565b6020810161119282846111a8565b5f5f6040838503121561137b5761137b5f5ffd5b823567ffffffffffffffff811115611394576113945f5ffd5b6113a08582860161122a565b9250506113068460208501611287565b63ffffffff811661127d565b8035611192816113b0565b5f5f83601f8401126113da576113da5f5ffd5b50813567ffffffffffffffff8111156113f4576113f45f5ffd5b60208301915083600182028301111561140e5761140e5f5ffd5b9250929050565b60ff811661127d565b803561119281611415565b5f5f5f5f5f60808688031215611440576114405f5ffd5b61144a87876113bc565b945061145987602088016113bc565b9350604086013567ffffffffffffffff811115611477576114775f5ffd5b611483888289016113c7565b9350935050611495876060880161141e565b90509295509295909350565b67ffffffffffffffff81166111b1565b6020810161119282846114a1565b5f6080828403121561123d5761123d5f5ffd5b5f5f83601f8401126114e5576114e55f5ffd5b50813567ffffffffffffffff8111156114ff576114ff5f5ffd5b60208301915083602082028301111561140e5761140e5f5ffd5b5f5f5f5f60c0858703121561152f5761152f5f5ffd5b61153986866114bf565b9350608085013567ffffffffffffffff811115611557576115575f5ffd5b611563878288016114d2565b93509350506115758660a08701611287565b905092959194509250565b5f5f60408385031215611594576115945f5ffd5b6112f78484611287565b5f5f5f5f606085870312156115b4576115b45f5ffd5b843567ffffffffffffffff8111156115cd576115cd5f5ffd5b6115d98782880161122a565b945050602085013567ffffffffffffffff8111156115f8576115f85f5ffd5b611604878288016114d2565b93509350506115758660408701611287565b80516111928161127b565b5f60208284031215611634576116345f5ffd5b61118f8383611616565b505f61119260208301836112ce565b67ffffffffffffffff811661127d565b80356111928161164d565b505f611192602083018361165d565b505f61119260208301836113bc565b63ffffffff81166111b1565b5f808335601e19368590030181126116ab576116ab5f5ffd5b830160208101925035905067ffffffffffffffff8111156116cd576116cd5f5ffd5b3681900382131561140e5761140e5f5ffd5b82818337505f910152565b8183526020830192506116fe8284836116df565b50601f01601f19160190565b505f611192602083018361141e565b60ff81166111b1565b5f60c08301611731838061163e565b61173b85826111a8565b506117496020840184611668565b61175660208601826114a1565b506117646040840184611677565b6117716040860182611686565b5061177f6060840184611677565b61178c6060860182611686565b5061179a6080840184611692565b85830360808701526117ad8382846116ea565b925050506117be60a084018461170a565b6117cb60a0860182611719565b509392505050565b6020808252810161118f8184611722565b60218152602081017f54686973206d65737361676520776173206e65766572207375626d69747465648152601760f91b602082015290505b60400190565b60208082528101611192816117e4565b601a8152602081017f537461746520726f6f7420646f6573206e6f742065786973742e00000000000081529050611206565b6020808252810161119281611832565b60308152602081017f417474656d7074696e6720746f2073656e642076616c756520776974686f757481527f2070726f766964696e67204574686572000000000000000000000000000000006020820152905061181c565b6020808252810161119281611874565b60208082527f496e73756666696369656e742066756e647320746f2073656e642076616c75659101908152611206565b60208082528101611192816118dc565b634e487b7160e01b5f52601160045260245ffd5b818103818111156111925761119261191c565b60248152602081017f4661696c656420746f2073656e64206665657320746f206665657320636f6e7481527f72616374000000000000000000000000000000000000000000000000000000006020820152905061181c565b6020808252810161119281611943565b604081016119b982856111b7565b6104b660208301846114a1565b60148152602081017f6661696c65642073656e64696e672076616c756500000000000000000000000081529050611206565b60208082528101611192816119c6565b5f61119282611a15565b90565b67ffffffffffffffff1690565b6111b181611a08565b602081016111928284611a22565b6001600160a01b039182169190811690828203908111156111925761119261191c565b60118152602081017f4e6f74206f776e6572206f722073656c6600000000000000000000000000000081529050611206565b6020808252810161119281611a5c565b808201808211156111925761119261191c565b60218152602081017f4d657373616765207375626d6974746564206d6f7265207468616e206f6e636581527f21000000000000000000000000000000000000000000000000000000000000006020820152905061181c565b6020808252810161119281611ab1565b5f60208284031215611b2c57611b2c5f5ffd5b61118f83836113bc565b5f8135611192816112c5565b5f6001600160a01b03835b81169019929092169190911792915050565b5f61119282611198565b5f61119282611b5f565b611b7c82611b69565b611b87818354611b42565b8255505050565b5f81356111928161164d565b5f7bffffffffffffffff0000000000000000000000000000000000000000611b4d8460a01b90565b5f61119267ffffffffffffffff8316611a15565b611bdf82611bc2565b611b87818354611b9a565b5f8135611192816113b0565b5f7fffffffff00000000000000000000000000000000000000000000000000000000611b4d8460e01b90565b5f63ffffffff8216611192565b611c3882611c22565b611b87818354611bf6565b5f63ffffffff83611b4d565b611c5882611c22565b611b87818354611c43565b5f808335601e1936859003018112611c7c57611c7c5f5ffd5b8301915050803567ffffffffffffffff811115611c9a57611c9a5f5ffd5b60208201915060018102360382131561140e5761140e5f5ffd5b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52602260045260245ffd5b600281046001821680611cf057607f821691505b60208210810361123d5761123d611cc8565b5f611192611a128381565b611d1683611d02565b81545f1960089490940293841b1916921b91909117905550565b5f610a8d818484611d0d565b8181101561071157611d4e5f82611d30565b600101611d3c565b601f821115610a8d575f818152602090206020601f85010481016020851015611d7c5750805b610d596020601f860104830182611d3c565b8267ffffffffffffffff811115611da757611da7611cb4565b611db18254611cdc565b611dbc828285611d56565b505f601f821160018114611dee575f8315611dd75750848201355b5f19600885021c1981166002850217855550610ee3565b5f84815260208120601f198516915b82811015611e1d5787850135825560209485019460019092019101611dfd565b5084821015611e39575f196008601f8716021c19878501351681555b5050505060020260010190555050565b610a8d838383611d8e565b5f813561119281611415565b5f60ff8216611192565b611e7382611e60565b815460ff191660ff821617611b87565b808280611e8f81611b36565b9050611e9b8184611b73565b50506020830180611eab82611b8e565b9050611eb78184611bd6565b50506040830180611ec782611bea565b9050611ed38184611c2f565b5050506060820180611ee482611bea565b9050611ef38160018501611c4f565b5050611f026080830183611c63565b611f10818360028601611e49565b505060a0820180611f2082611e54565b9050611f2f8160038501611e6a565b50505050565b6107118282611e83565b60258152602081017f496e73756666696369656e742066756e647320746f207075626c697368206d6581527f73736167650000000000000000000000000000000000000000000000000000006020820152905061181c565b6020808252810161119281611f3f565b60c08101611fb5828a6111a8565b611fc260208301896114a1565b611fcf6040830188611686565b611fdc6060830187611686565b8181036080830152611fef8185876116ea565b9050611ffe60a0830184611719565b98975050505050505050565b602a8152602081017f526f6f74206973206e6f74207075626c6973686564206f6e2074686973206d6581527f7373616765206275732e000000000000000000000000000000000000000000006020820152905061181c565b602080825281016111928161200a565b60218152602081017f526f6f74206973206e6f7420636f6e736964657265642066696e616c207965748152601760f91b6020820152905061181c565b6020808252810161119281612072565b505f6111926020830183611287565b6120d7818061163e565b6120e183826111a8565b506120ef602082018261163e565b6120fc60208401826111a8565b5061210a60408201826120be565b61211760408401826111b7565b506121256060820182611668565b610a8d60608401826114a1565b6080810161119282846120cd565b60018152602081017f760000000000000000000000000000000000000000000000000000000000000081529050611206565b6040808252810161218281612140565b905061119260208301846111b7565b61219b81836111b7565b602001919050565b60338152602081017f496e76616c696420696e636c7573696f6e2070726f6f6620666f722076616c7581527f65207472616e73666572206d6573736167652e000000000000000000000000006020820152905061181c565b60208082528101611192816121a3565b60258152602081017f526f6f7420616c726561647920616464656420746f20746865206d657373616781527f65206275730000000000000000000000000000000000000000000000000000006020820152905061181c565b602080825281016111928161220b565b5f60208284031215612286576122865f5ffd5b61118f838361165d565b5f602082840312156122a3576122a35f5ffd5b61118f838361141e565b60018152602081017f6d0000000000000000000000000000000000000000000000000000000000000081529050611206565b60408082528101612182816122ad565b60308152602081017f496e76616c696420696e636c7573696f6e2070726f6f6620666f722063726f7381527f7320636861696e206d6573736167652e000000000000000000000000000000006020820152905061181c565b60208082528101611192816122ef565b67ffffffffffffffff9182169190811690828201908111156111925761119261191c565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212202790914a6f3b56d3e68f273699e51e578a89a9b8c4d3eb5dcff10d788a77683164736f6c634300081c0033",
}

MerkleTreeMessageBusMetaData contains all meta data concerning the MerkleTreeMessageBus contract.

Functions

This section is empty.

Types

type MerkleTreeMessageBus

type MerkleTreeMessageBus struct {
	MerkleTreeMessageBusCaller     // Read-only binding to the contract
	MerkleTreeMessageBusTransactor // Write-only binding to the contract
	MerkleTreeMessageBusFilterer   // Log filterer for contract events
}

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

func DeployMerkleTreeMessageBus

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

DeployMerkleTreeMessageBus deploys a new Ethereum contract, binding an instance of MerkleTreeMessageBus to it.

func NewMerkleTreeMessageBus

func NewMerkleTreeMessageBus(address common.Address, backend bind.ContractBackend) (*MerkleTreeMessageBus, error)

NewMerkleTreeMessageBus creates a new instance of MerkleTreeMessageBus, bound to a specific deployed contract.

type MerkleTreeMessageBusCaller

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

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

func NewMerkleTreeMessageBusCaller

func NewMerkleTreeMessageBusCaller(address common.Address, caller bind.ContractCaller) (*MerkleTreeMessageBusCaller, error)

NewMerkleTreeMessageBusCaller creates a new read-only instance of MerkleTreeMessageBus, bound to a specific deployed contract.

func (*MerkleTreeMessageBusCaller) GetMessageTimeOfFinality

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCaller) 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 (*MerkleTreeMessageBusCaller) GetPublishFee added in v1.0.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCaller) GetPublishFee(opts *bind.CallOpts) (*big.Int, error)

GetPublishFee is a free data retrieval call binding the contract method 0x00a1b815.

Solidity: function getPublishFee() view returns(uint256)

func (*MerkleTreeMessageBusCaller) Owner

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MerkleTreeMessageBusCaller) VerifyMessageFinalized

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCaller) 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)

func (*MerkleTreeMessageBusCaller) VerifyMessageInclusion

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCaller) VerifyMessageInclusion(opts *bind.CallOpts, message StructsCrossChainMessage, proof [][32]byte, root [32]byte) error

VerifyMessageInclusion is a free data retrieval call binding the contract method 0xe138a8d2.

Solidity: function verifyMessageInclusion((address,uint64,uint32,uint32,bytes,uint8) message, bytes32[] proof, bytes32 root) view returns()

func (*MerkleTreeMessageBusCaller) VerifyValueTransferInclusion

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCaller) VerifyValueTransferInclusion(opts *bind.CallOpts, message StructsValueTransferMessage, proof [][32]byte, root [32]byte) error

VerifyValueTransferInclusion is a free data retrieval call binding the contract method 0xb201246f.

Solidity: function verifyValueTransferInclusion((address,address,uint256,uint64) message, bytes32[] proof, bytes32 root) view returns()

type MerkleTreeMessageBusCallerRaw

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

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

func (*MerkleTreeMessageBusCallerRaw) Call

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCallerRaw) 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 MerkleTreeMessageBusCallerSession

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

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

func (*MerkleTreeMessageBusCallerSession) GetMessageTimeOfFinality

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCallerSession) 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 (*MerkleTreeMessageBusCallerSession) GetPublishFee added in v1.0.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCallerSession) GetPublishFee() (*big.Int, error)

GetPublishFee is a free data retrieval call binding the contract method 0x00a1b815.

Solidity: function getPublishFee() view returns(uint256)

func (*MerkleTreeMessageBusCallerSession) Owner

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MerkleTreeMessageBusCallerSession) VerifyMessageFinalized

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCallerSession) 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)

func (*MerkleTreeMessageBusCallerSession) VerifyMessageInclusion

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCallerSession) VerifyMessageInclusion(message StructsCrossChainMessage, proof [][32]byte, root [32]byte) error

VerifyMessageInclusion is a free data retrieval call binding the contract method 0xe138a8d2.

Solidity: function verifyMessageInclusion((address,uint64,uint32,uint32,bytes,uint8) message, bytes32[] proof, bytes32 root) view returns()

func (*MerkleTreeMessageBusCallerSession) VerifyValueTransferInclusion

func (_MerkleTreeMessageBus *MerkleTreeMessageBusCallerSession) VerifyValueTransferInclusion(message StructsValueTransferMessage, proof [][32]byte, root [32]byte) error

VerifyValueTransferInclusion is a free data retrieval call binding the contract method 0xb201246f.

Solidity: function verifyValueTransferInclusion((address,address,uint256,uint64) message, bytes32[] proof, bytes32 root) view returns()

type MerkleTreeMessageBusFilterer

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

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

func NewMerkleTreeMessageBusFilterer

func NewMerkleTreeMessageBusFilterer(address common.Address, filterer bind.ContractFilterer) (*MerkleTreeMessageBusFilterer, error)

NewMerkleTreeMessageBusFilterer creates a new log filterer instance of MerkleTreeMessageBus, bound to a specific deployed contract.

func (*MerkleTreeMessageBusFilterer) FilterInitialized added in v0.28.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) FilterInitialized(opts *bind.FilterOpts) (*MerkleTreeMessageBusInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*MerkleTreeMessageBusFilterer) FilterLogMessagePublished

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) FilterLogMessagePublished(opts *bind.FilterOpts) (*MerkleTreeMessageBusLogMessagePublishedIterator, 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 (*MerkleTreeMessageBusFilterer) FilterNativeDeposit added in v1.0.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) FilterNativeDeposit(opts *bind.FilterOpts, receiver []common.Address) (*MerkleTreeMessageBusNativeDepositIterator, error)

FilterNativeDeposit is a free log retrieval operation binding the contract event 0xcd9850463422a7449c406a036e35e5edb6fbe35a64c9f12a2354be98a750c0d3.

Solidity: event NativeDeposit(address indexed receiver, uint256 amount)

func (*MerkleTreeMessageBusFilterer) FilterOwnershipTransferred

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MerkleTreeMessageBusOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MerkleTreeMessageBusFilterer) FilterValueTransfer

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) FilterValueTransfer(opts *bind.FilterOpts, sender []common.Address, receiver []common.Address) (*MerkleTreeMessageBusValueTransferIterator, 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 (*MerkleTreeMessageBusFilterer) ParseInitialized added in v0.28.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) ParseInitialized(log types.Log) (*MerkleTreeMessageBusInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*MerkleTreeMessageBusFilterer) ParseLogMessagePublished

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) ParseLogMessagePublished(log types.Log) (*MerkleTreeMessageBusLogMessagePublished, 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 (*MerkleTreeMessageBusFilterer) ParseNativeDeposit added in v1.0.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) ParseNativeDeposit(log types.Log) (*MerkleTreeMessageBusNativeDeposit, error)

ParseNativeDeposit is a log parse operation binding the contract event 0xcd9850463422a7449c406a036e35e5edb6fbe35a64c9f12a2354be98a750c0d3.

Solidity: event NativeDeposit(address indexed receiver, uint256 amount)

func (*MerkleTreeMessageBusFilterer) ParseOwnershipTransferred

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) ParseOwnershipTransferred(log types.Log) (*MerkleTreeMessageBusOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MerkleTreeMessageBusFilterer) ParseValueTransfer

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) ParseValueTransfer(log types.Log) (*MerkleTreeMessageBusValueTransfer, 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 (*MerkleTreeMessageBusFilterer) WatchInitialized added in v0.28.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MerkleTreeMessageBusInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*MerkleTreeMessageBusFilterer) WatchLogMessagePublished

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) WatchLogMessagePublished(opts *bind.WatchOpts, sink chan<- *MerkleTreeMessageBusLogMessagePublished) (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 (*MerkleTreeMessageBusFilterer) WatchNativeDeposit added in v1.0.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) WatchNativeDeposit(opts *bind.WatchOpts, sink chan<- *MerkleTreeMessageBusNativeDeposit, 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 (*MerkleTreeMessageBusFilterer) WatchOwnershipTransferred

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MerkleTreeMessageBusOwnershipTransferred, 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 (*MerkleTreeMessageBusFilterer) WatchValueTransfer

func (_MerkleTreeMessageBus *MerkleTreeMessageBusFilterer) WatchValueTransfer(opts *bind.WatchOpts, sink chan<- *MerkleTreeMessageBusValueTransfer, 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 MerkleTreeMessageBusInitialized added in v0.28.0

type MerkleTreeMessageBusInitialized struct {
	Version uint64
	Raw     types.Log // Blockchain specific contextual infos
}

MerkleTreeMessageBusInitialized represents a Initialized event raised by the MerkleTreeMessageBus contract.

type MerkleTreeMessageBusInitializedIterator added in v0.28.0

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

MerkleTreeMessageBusInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the MerkleTreeMessageBus contract.

func (*MerkleTreeMessageBusInitializedIterator) Close added in v0.28.0

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

func (*MerkleTreeMessageBusInitializedIterator) Error added in v0.28.0

Error returns any retrieval or parsing error occurred during filtering.

func (*MerkleTreeMessageBusInitializedIterator) Next added in v0.28.0

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 MerkleTreeMessageBusLogMessagePublished

type MerkleTreeMessageBusLogMessagePublished struct {
	Sender           common.Address
	Sequence         uint64
	Nonce            uint32
	Topic            uint32
	Payload          []byte
	ConsistencyLevel uint8
	Raw              types.Log // Blockchain specific contextual infos
}

MerkleTreeMessageBusLogMessagePublished represents a LogMessagePublished event raised by the MerkleTreeMessageBus contract.

type MerkleTreeMessageBusLogMessagePublishedIterator

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

MerkleTreeMessageBusLogMessagePublishedIterator is returned from FilterLogMessagePublished and is used to iterate over the raw logs and unpacked data for LogMessagePublished events raised by the MerkleTreeMessageBus contract.

func (*MerkleTreeMessageBusLogMessagePublishedIterator) Close

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

func (*MerkleTreeMessageBusLogMessagePublishedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerkleTreeMessageBusLogMessagePublishedIterator) Next

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

type MerkleTreeMessageBusNativeDeposit added in v1.0.0

type MerkleTreeMessageBusNativeDeposit struct {
	Receiver common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

MerkleTreeMessageBusNativeDeposit represents a NativeDeposit event raised by the MerkleTreeMessageBus contract.

type MerkleTreeMessageBusNativeDepositIterator added in v1.0.0

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

MerkleTreeMessageBusNativeDepositIterator is returned from FilterNativeDeposit and is used to iterate over the raw logs and unpacked data for NativeDeposit events raised by the MerkleTreeMessageBus contract.

func (*MerkleTreeMessageBusNativeDepositIterator) Close added in v1.0.0

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

func (*MerkleTreeMessageBusNativeDepositIterator) Error added in v1.0.0

Error returns any retrieval or parsing error occurred during filtering.

func (*MerkleTreeMessageBusNativeDepositIterator) Next added in v1.0.0

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 MerkleTreeMessageBusOwnershipTransferred

type MerkleTreeMessageBusOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

MerkleTreeMessageBusOwnershipTransferred represents a OwnershipTransferred event raised by the MerkleTreeMessageBus contract.

type MerkleTreeMessageBusOwnershipTransferredIterator

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

MerkleTreeMessageBusOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the MerkleTreeMessageBus contract.

func (*MerkleTreeMessageBusOwnershipTransferredIterator) Close

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

func (*MerkleTreeMessageBusOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerkleTreeMessageBusOwnershipTransferredIterator) Next

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

type MerkleTreeMessageBusRaw

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

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

func (*MerkleTreeMessageBusRaw) Call

func (_MerkleTreeMessageBus *MerkleTreeMessageBusRaw) 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 (*MerkleTreeMessageBusRaw) Transact

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

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

func (*MerkleTreeMessageBusRaw) Transfer

func (_MerkleTreeMessageBus *MerkleTreeMessageBusRaw) 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 MerkleTreeMessageBusSession

type MerkleTreeMessageBusSession struct {
	Contract     *MerkleTreeMessageBus // 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
}

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

func (*MerkleTreeMessageBusSession) AddStateRoot

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) AddStateRoot(stateRoot [32]byte, activationTime *big.Int) (*types.Transaction, error)

AddStateRoot is a paid mutator transaction binding the contract method 0xb6aed0cb.

Solidity: function addStateRoot(bytes32 stateRoot, uint256 activationTime) returns()

func (*MerkleTreeMessageBusSession) DisableStateRoot

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) DisableStateRoot(stateRoot [32]byte) (*types.Transaction, error)

DisableStateRoot is a paid mutator transaction binding the contract method 0x0fe9188e.

Solidity: function disableStateRoot(bytes32 stateRoot) returns()

func (*MerkleTreeMessageBusSession) Fallback

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*MerkleTreeMessageBusSession) GetMessageTimeOfFinality

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) 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 (*MerkleTreeMessageBusSession) GetPublishFee added in v1.0.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) GetPublishFee() (*big.Int, error)

GetPublishFee is a free data retrieval call binding the contract method 0x00a1b815.

Solidity: function getPublishFee() view returns(uint256)

func (*MerkleTreeMessageBusSession) Initialize added in v0.28.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) 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 (*MerkleTreeMessageBusSession) NotifyDeposit added in v1.0.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) 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 (*MerkleTreeMessageBusSession) Owner

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MerkleTreeMessageBusSession) PublishMessage

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) 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 (*MerkleTreeMessageBusSession) Receive

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MerkleTreeMessageBusSession) ReceiveValueFromL2

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) 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 (*MerkleTreeMessageBusSession) RenounceOwnership

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MerkleTreeMessageBusSession) RetrieveAllFunds

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) 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 (*MerkleTreeMessageBusSession) SendValueToL2

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) 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 (*MerkleTreeMessageBusSession) StoreCrossChainMessage

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) 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 (*MerkleTreeMessageBusSession) TransferOwnership

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) 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 (*MerkleTreeMessageBusSession) VerifyMessageFinalized

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) 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)

func (*MerkleTreeMessageBusSession) VerifyMessageInclusion

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) VerifyMessageInclusion(message StructsCrossChainMessage, proof [][32]byte, root [32]byte) error

VerifyMessageInclusion is a free data retrieval call binding the contract method 0xe138a8d2.

Solidity: function verifyMessageInclusion((address,uint64,uint32,uint32,bytes,uint8) message, bytes32[] proof, bytes32 root) view returns()

func (*MerkleTreeMessageBusSession) VerifyValueTransferInclusion

func (_MerkleTreeMessageBus *MerkleTreeMessageBusSession) VerifyValueTransferInclusion(message StructsValueTransferMessage, proof [][32]byte, root [32]byte) error

VerifyValueTransferInclusion is a free data retrieval call binding the contract method 0xb201246f.

Solidity: function verifyValueTransferInclusion((address,address,uint256,uint64) message, bytes32[] proof, bytes32 root) view returns()

type MerkleTreeMessageBusTransactor

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

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

func NewMerkleTreeMessageBusTransactor

func NewMerkleTreeMessageBusTransactor(address common.Address, transactor bind.ContractTransactor) (*MerkleTreeMessageBusTransactor, error)

NewMerkleTreeMessageBusTransactor creates a new write-only instance of MerkleTreeMessageBus, bound to a specific deployed contract.

func (*MerkleTreeMessageBusTransactor) AddStateRoot

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) AddStateRoot(opts *bind.TransactOpts, stateRoot [32]byte, activationTime *big.Int) (*types.Transaction, error)

AddStateRoot is a paid mutator transaction binding the contract method 0xb6aed0cb.

Solidity: function addStateRoot(bytes32 stateRoot, uint256 activationTime) returns()

func (*MerkleTreeMessageBusTransactor) DisableStateRoot

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) DisableStateRoot(opts *bind.TransactOpts, stateRoot [32]byte) (*types.Transaction, error)

DisableStateRoot is a paid mutator transaction binding the contract method 0x0fe9188e.

Solidity: function disableStateRoot(bytes32 stateRoot) returns()

func (*MerkleTreeMessageBusTransactor) Fallback

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) 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 (*MerkleTreeMessageBusTransactor) Initialize added in v0.28.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) 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 (*MerkleTreeMessageBusTransactor) NotifyDeposit added in v1.0.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) 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 (*MerkleTreeMessageBusTransactor) PublishMessage

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) 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 (*MerkleTreeMessageBusTransactor) Receive

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MerkleTreeMessageBusTransactor) ReceiveValueFromL2

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) 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 (*MerkleTreeMessageBusTransactor) RenounceOwnership

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MerkleTreeMessageBusTransactor) RetrieveAllFunds

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) 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 (*MerkleTreeMessageBusTransactor) SendValueToL2

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) 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 (*MerkleTreeMessageBusTransactor) StoreCrossChainMessage

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) 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 (*MerkleTreeMessageBusTransactor) TransferOwnership

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactor) 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 MerkleTreeMessageBusTransactorRaw

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

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

func (*MerkleTreeMessageBusTransactorRaw) Transact

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

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

func (*MerkleTreeMessageBusTransactorRaw) Transfer

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorRaw) 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 MerkleTreeMessageBusTransactorSession

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

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

func (*MerkleTreeMessageBusTransactorSession) AddStateRoot

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) AddStateRoot(stateRoot [32]byte, activationTime *big.Int) (*types.Transaction, error)

AddStateRoot is a paid mutator transaction binding the contract method 0xb6aed0cb.

Solidity: function addStateRoot(bytes32 stateRoot, uint256 activationTime) returns()

func (*MerkleTreeMessageBusTransactorSession) DisableStateRoot

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) DisableStateRoot(stateRoot [32]byte) (*types.Transaction, error)

DisableStateRoot is a paid mutator transaction binding the contract method 0x0fe9188e.

Solidity: function disableStateRoot(bytes32 stateRoot) returns()

func (*MerkleTreeMessageBusTransactorSession) Fallback

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*MerkleTreeMessageBusTransactorSession) Initialize added in v0.28.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) 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 (*MerkleTreeMessageBusTransactorSession) NotifyDeposit added in v1.0.0

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) 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 (*MerkleTreeMessageBusTransactorSession) PublishMessage

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) 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 (*MerkleTreeMessageBusTransactorSession) Receive

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MerkleTreeMessageBusTransactorSession) ReceiveValueFromL2

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) 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 (*MerkleTreeMessageBusTransactorSession) RenounceOwnership

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MerkleTreeMessageBusTransactorSession) RetrieveAllFunds

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) 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 (*MerkleTreeMessageBusTransactorSession) SendValueToL2

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) 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 (*MerkleTreeMessageBusTransactorSession) StoreCrossChainMessage

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) 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 (*MerkleTreeMessageBusTransactorSession) TransferOwnership

func (_MerkleTreeMessageBus *MerkleTreeMessageBusTransactorSession) 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 MerkleTreeMessageBusValueTransfer

type MerkleTreeMessageBusValueTransfer struct {
	Sender   common.Address
	Receiver common.Address
	Amount   *big.Int
	Sequence uint64
	Raw      types.Log // Blockchain specific contextual infos
}

MerkleTreeMessageBusValueTransfer represents a ValueTransfer event raised by the MerkleTreeMessageBus contract.

type MerkleTreeMessageBusValueTransferIterator

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

MerkleTreeMessageBusValueTransferIterator is returned from FilterValueTransfer and is used to iterate over the raw logs and unpacked data for ValueTransfer events raised by the MerkleTreeMessageBus contract.

func (*MerkleTreeMessageBusValueTransferIterator) Close

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

func (*MerkleTreeMessageBusValueTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerkleTreeMessageBusValueTransferIterator) Next

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

type StructsCrossChainMessage

type StructsCrossChainMessage struct {
	Sender           common.Address
	Sequence         uint64
	Nonce            uint32
	Topic            uint32
	Payload          []byte
	ConsistencyLevel uint8
}

StructsCrossChainMessage is an auto generated low-level Go binding around an user-defined struct.

type StructsValueTransferMessage

type StructsValueTransferMessage struct {
	Sender   common.Address
	Receiver common.Address
	Amount   *big.Int
	Sequence uint64
}

StructsValueTransferMessage is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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