interchaindb

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package interchaindb provides a mock for the InterchainDB contract.

Code generated by synapse abigen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var Contracts map[string]*compiler.Contract

Contracts are unmarshalled on start

View Source
var IInterchainDBABI = IInterchainDBMetaData.ABI

IInterchainDBABI is the input ABI used to generate the binding from. Deprecated: Use IInterchainDBMetaData.ABI instead.

View Source
var IInterchainDBFuncSigs = IInterchainDBMetaData.Sigs

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

View Source
var IInterchainDBMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__BatchDoesNotExist\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__BatchNotFinalized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"existingBatchRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"newBatch\",\"type\":\"tuple\"}],\"name\":\"InterchainDB__ConflictingBatches\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"batchSize\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__EntryIndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"actualFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedFee\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__IncorrectFeeAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"version\",\"type\":\"uint16\"}],\"name\":\"InterchainDB__InvalidBatchVersion\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__InvalidEntryRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InterchainDB__NoModulesSpecified\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__SameChainId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DB_VERSION\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dstModule\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"srcWriter\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainEntry\",\"name\":\"entry\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"checkVerification\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"moduleVerifiedAt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"getBatch\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"getBatchLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"getBatchLeafsPaginated\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"getBatchSize\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDBNonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryProof\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryValue\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"getInterchainFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNextEntryIndex\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"type\":\"bytes\"}],\"name\":\"verifyRemoteBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"name\":\"writeEntry\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"writeEntryWithVerification\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"15f53956": "DB_VERSION()",
		"1e5df4c4": "checkVerification(address,(uint64,uint64,uint64,bytes32,bytes32),bytes32[])",
		"888775d9": "getBatch(uint64)",
		"fc1ebc91": "getBatchLeafs(uint64)",
		"1c679ac1": "getBatchLeafsPaginated(uint64,uint64,uint64)",
		"727a5f91": "getBatchSize(uint64)",
		"f338140e": "getDBNonce()",
		"fec8dfb9": "getEntryProof(uint64,uint64)",
		"d180db6f": "getEntryValue(uint64,uint64)",
		"b8ba4ba1": "getInterchainFee(uint64,address[])",
		"aa2f06ae": "getNextEntryIndex()",
		"6c49312c": "requestBatchVerification(uint64,uint64,address[])",
		"d961a48e": "verifyRemoteBatch(bytes)",
		"2ad8c706": "writeEntry(bytes32)",
		"eb20fbfd": "writeEntryWithVerification(uint64,bytes32,address[])",
	},
}

IInterchainDBMetaData contains all meta data concerning the IInterchainDB contract.

View Source
var IInterchainModuleABI = IInterchainModuleMetaData.ABI

IInterchainModuleABI is the input ABI used to generate the binding from. Deprecated: Use IInterchainModuleMetaData.ABI instead.

View Source
var IInterchainModuleFuncSigs = IInterchainModuleMetaData.Sigs

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

View Source
var IInterchainModuleMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"}],\"name\":\"InterchainModule__IncorrectSourceChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"actual\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"required\",\"type\":\"uint256\"}],\"name\":\"InterchainModule__InsufficientFee\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"InterchainModule__NotInterchainDB\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"}],\"name\":\"InterchainModule__SameChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"getModuleFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"type\":\"bytes\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"1888f4d4": "getModuleFee(uint64,uint64)",
		"30068e33": "requestBatchVerification(uint64,bytes)",
	},
}

IInterchainModuleMetaData contains all meta data concerning the IInterchainModule contract.

View Source
var InterchainBatchLibABI = InterchainBatchLibMetaData.ABI

InterchainBatchLibABI is the input ABI used to generate the binding from. Deprecated: Use InterchainBatchLibMetaData.ABI instead.

View Source
var InterchainBatchLibBin = InterchainBatchLibMetaData.Bin

InterchainBatchLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InterchainBatchLibMetaData.Bin instead.

View Source
var InterchainBatchLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ccf7df186947002a4e725b3e7b7898171e1aac0d4da2bdfdefed4678c0e9b33e64736f6c63430008140033",
}

InterchainBatchLibMetaData contains all meta data concerning the InterchainBatchLib contract.

View Source
var InterchainDBABI = InterchainDBMetaData.ABI

InterchainDBABI is the input ABI used to generate the binding from. Deprecated: Use InterchainDBMetaData.ABI instead.

View Source
var InterchainDBBin = InterchainDBMetaData.Bin

InterchainDBBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InterchainDBMetaData.Bin instead.

View Source
var InterchainDBEventsABI = InterchainDBEventsMetaData.ABI

InterchainDBEventsABI is the input ABI used to generate the binding from. Deprecated: Use InterchainDBEventsMetaData.ABI instead.

View Source
var InterchainDBEventsMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"InterchainBatchVerificationRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchVerified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"srcWriter\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"name\":\"InterchainEntryWritten\",\"type\":\"event\"}]",
}

InterchainDBEventsMetaData contains all meta data concerning the InterchainDBEvents contract.

View Source
var InterchainDBFuncSigs = InterchainDBMetaData.Sigs

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

View Source
var InterchainDBMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__BatchDoesNotExist\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__BatchNotFinalized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"existingBatchRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"newBatch\",\"type\":\"tuple\"}],\"name\":\"InterchainDB__ConflictingBatches\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"batchSize\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__EntryIndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"actualFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedFee\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__IncorrectFeeAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"version\",\"type\":\"uint16\"}],\"name\":\"InterchainDB__InvalidBatchVersion\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__InvalidEntryRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InterchainDB__NoModulesSpecified\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__SameChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintDowncast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"versionedPayload\",\"type\":\"bytes\"}],\"name\":\"VersionedPayload__TooShort\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"InterchainBatchVerificationRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchVerified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"srcWriter\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"name\":\"InterchainEntryWritten\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DB_VERSION\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dstModule\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"srcWriter\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainEntry\",\"name\":\"entry\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"checkVerification\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"moduleVerifiedAt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"getBatch\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"getBatchLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"getBatchLeafsPaginated\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"getBatchSize\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDBNonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryProof\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryValue\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"getInterchainFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNextEntryIndex\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"type\":\"bytes\"}],\"name\":\"verifyRemoteBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"name\":\"writeEntry\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"writeEntryWithVerification\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"15f53956": "DB_VERSION()",
		"1e5df4c4": "checkVerification(address,(uint64,uint64,uint64,bytes32,bytes32),bytes32[])",
		"888775d9": "getBatch(uint64)",
		"fc1ebc91": "getBatchLeafs(uint64)",
		"1c679ac1": "getBatchLeafsPaginated(uint64,uint64,uint64)",
		"727a5f91": "getBatchSize(uint64)",
		"f338140e": "getDBNonce()",
		"fec8dfb9": "getEntryProof(uint64,uint64)",
		"d180db6f": "getEntryValue(uint64,uint64)",
		"b8ba4ba1": "getInterchainFee(uint64,address[])",
		"aa2f06ae": "getNextEntryIndex()",
		"6c49312c": "requestBatchVerification(uint64,uint64,address[])",
		"d961a48e": "verifyRemoteBatch(bytes)",
		"2ad8c706": "writeEntry(bytes32)",
		"eb20fbfd": "writeEntryWithVerification(uint64,bytes32,address[])",
	},
	Bin: "0x608060405234801561001057600080fd5b50611a9a806100206000396000f3fe6080604052600436106100e85760003560e01c8063aa2f06ae1161008a578063eb20fbfd11610059578063eb20fbfd146102a6578063f338140e146102b9578063fc1ebc91146102ce578063fec8dfb9146102ee57600080fd5b8063aa2f06ae14610231578063b8ba4ba114610246578063d180db6f14610266578063d961a48e1461028657600080fd5b80632ad8c706116100c65780632ad8c706146101755780636c49312c146101b6578063727a5f91146101cb578063888775d91461020457600080fd5b806315f53956146100ed5780631c679ac11461011a5780631e5df4c414610147575b600080fd5b3480156100f957600080fd5b50610102600181565b60405161ffff90911681526020015b60405180910390f35b34801561012657600080fd5b5061013a610135366004611305565b61030e565b6040516101119190611348565b34801561015357600080fd5b50610167610162366004611424565b61039c565b604051908152602001610111565b34801561018157600080fd5b5061019561019036600461153b565b6104fa565b6040805167ffffffffffffffff938416815292909116602083015201610111565b6101c96101c4366004611554565b61051e565b005b3480156101d757600080fd5b506101eb6101e63660046115a9565b61058f565b60405167ffffffffffffffff9091168152602001610111565b34801561021057600080fd5b5061022461021f3660046115a9565b6105cc565b60405161011191906115cb565b34801561023d57600080fd5b5061019561060d565b34801561025257600080fd5b506101676102613660046115fb565b610622565b34801561027257600080fd5b5061016761028136600461164e565b610641565b34801561029257600080fd5b506101c96102a1366004611681565b61067d565b6101956102b43660046116f3565b6108a5565b3480156102c557600080fd5b506000546101eb565b3480156102da57600080fd5b5061013a6102e93660046115a9565b610973565b3480156102fa57600080fd5b5061013a61030936600461164e565b6109ce565b606067ffffffffffffffff831615158061033357508167ffffffffffffffff16600114155b1561038b576040517fa50be73b00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff80861660048301528085166024830152831660448201526064015b60405180910390fd5b61039484610973565b949350505050565b82516000904667ffffffffffffffff8216036103f0576040517f180ee29e00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff82166004820152602401610382565b82156103ff57600091506104f1565b604085015167ffffffffffffffff161561041c57600091506104f1565b60006104518660000151876020015167ffffffffffffffff1660409190911b6fffffffffffffffff0000000000000000161790565b73ffffffffffffffffffffffffffffffffffffffff881660009081526001602081815260408084206fffffffffffffffffffffffffffffffff8616855282528084208151808301835281548152930154838301526060808c015160808d01518351808601929092528184015282518082038401815291019091528051910120929350919050808260200151146104e85760006104eb565b81515b94505050505b50949350505050565b6000806000610508846109fa565b6020810151604090910151909590945092505050565b83468167ffffffffffffffff160361056e576040517f180ee29e00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff82166004820152602401610382565b6000610579856105cc565b905061058786828686610b3e565b505050505050565b60008061059b83610d1a565b90508067ffffffffffffffff168367ffffffffffffffff16106105bf5760006105c2565b60015b60ff169392505050565b60408051606081018252600080825260208201819052918101919091526105f282610d75565b5061060782610602846000610641565b610dca565b92915050565b60008061061960005490565b92600092509050565b60006106388461063160005490565b8585610e26565b95945050505050565b600061064d8383610fdd565b60008367ffffffffffffffff168154811061066a5761066a611735565b9060005260206000200154905092915050565b60006106898383611058565b905061ffff81166001146106cf576040517f0526520e00000000000000000000000000000000000000000000000000000000815261ffff82166004820152602401610382565b60006106e36106de85856110a2565b6110fd565b905046816000015167ffffffffffffffff160361073b5780516040517f180ee29e00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff9091166004820152602401610382565b60006107708260000151836020015167ffffffffffffffff1660409190911b6fffffffffffffffff0000000000000000161790565b3360009081526001602081815260408084206fffffffffffffffffffffffffffffffff8616855282528084208151808301909252805480835293015491810191909152929350900361085b576040805180820182524281528482018051602080840191825233600081815260018084528782206fffffffffffffffffffffffffffffffff8b16835284529087902095518655925194909201939093558287015187519251945194855267ffffffffffffffff9081169492169290917f76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927910160405180910390a4610587565b82604001518160200151146105875760208101516040517f734f27bf0000000000000000000000000000000000000000000000000000000081526103829133918690600401611764565b60008085468167ffffffffffffffff16036108f8576040517f180ee29e00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff82166004820152602401610382565b6000610903876109fa565b602081015160408201519095509350905060006109598561060284606080820151608083015160408051602081019390935282015260009101604051602081830303815290604052805190602001209050919050565b905061096789828989610b3e565b50505094509492505050565b606061097e82610d75565b5060408051600180825281830190925290602080830190803683370190505090506109aa826000610641565b816000815181106109bd576109bd611735565b602002602001018181525050919050565b60606109d983610d75565b506109e48383610fdd565b5050604080516000815260208101909152919050565b6040805160a081018252600080825260208201819052918101829052606081018290526080810182905281549091610a35908290338661115e565b91506000610a7883606080820151608083015160408051602081019390935282015260009101604051602081830303815290604052805190602001209050919050565b600080546001810182559080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5630181905590503360408051600081526020810187905267ffffffffffffffff8516917fb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d910160405180910390a38167ffffffffffffffff167fdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace82604051610b2f91815260200190565b60405180910390a25050919050565b600080610b518686602001518686610e26565b9150915080341015610b98576040517ffb7d661000000000000000000000000000000000000000000000000000000000815234600482015260248101829052604401610382565b80341115610bd557610baa81346117e6565b82600081518110610bbd57610bbd611735565b60200260200101818151610bd191906117f9565b9052505b826000610beb6001610be6896111fa565b61126d565b905060005b82811015610cb657868682818110610c0a57610c0a611735565b9050602002016020810190610c1f919061180c565b73ffffffffffffffffffffffffffffffffffffffff166330068e33868381518110610c4c57610c4c611735565b60200260200101518b856040518463ffffffff1660e01b8152600401610c7392919061184b565b6000604051808303818588803b158015610c8c57600080fd5b505af1158015610ca0573d6000803e3d6000fd5b505050505080610caf906118ad565b9050610bf0565b50866020015167ffffffffffffffff168867ffffffffffffffff167fddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac189604001518989604051610d08939291906118e5565b60405180910390a35050505050505050565b60005467ffffffffffffffff8082169083161115610d70576040517f86513d3000000000000000000000000000000000000000000000000000000000815267ffffffffffffffff83166004820152602401610382565b919050565b60005467ffffffffffffffff80821690831610610d70576040517f1f1545ff00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff83166004820152602401610382565b60408051606081018252600080825260208201819052918101919091526040518060600160405280610dfb46611299565b67ffffffffffffffff1681526020018467ffffffffffffffff16815260200183815250905092915050565b6060600082808203610e64576040517f98ca492a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8067ffffffffffffffff811115610e7d57610e7d6113b0565b604051908082528060200260200182016040528015610ea6578160200160208202803683370190505b50925060005b81811015610fd257858582818110610ec657610ec6611735565b9050602002016020810190610edb919061180c565b6040517f1888f4d400000000000000000000000000000000000000000000000000000000815267ffffffffffffffff808b1660048301528916602482015273ffffffffffffffffffffffffffffffffffffffff9190911690631888f4d490604401602060405180830381865afa158015610f59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7d9190611948565b848281518110610f8f57610f8f611735565b602002602001018181525050838181518110610fad57610fad611735565b602002602001015183610fc091906117f9565b9250610fcb816118ad565b9050610eac565b505094509492505050565b6000610fe88361058f565b90508067ffffffffffffffff168267ffffffffffffffff1610611053576040517f14c90ab800000000000000000000000000000000000000000000000000000000815267ffffffffffffffff8085166004830152808416602483015282166044820152606401610382565b505050565b600060028210156110995782826040517f659cf9fa000000000000000000000000000000000000000000000000000000008152600401610382929190611961565b50503560f01c90565b36600060028310156110e45783836040517f659cf9fa000000000000000000000000000000000000000000000000000000008152600401610382929190611961565b6110f183600281876119ae565b915091505b9250929050565b6040805160608101825260008082526020820181905291810182905290611126848401856119d8565b604084015290506111438167ffffffffffffffff604082901c1691565b67ffffffffffffffff90811660208501521682525092915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526040518060a0016040528061119d46611299565b67ffffffffffffffff1681526020018667ffffffffffffffff1681526020018567ffffffffffffffff1681526020016111e98573ffffffffffffffffffffffffffffffffffffffff1690565b815260200192909252509392505050565b606061122f8260000151836020015167ffffffffffffffff1660409190911b6fffffffffffffffff0000000000000000161790565b60408084015181516fffffffffffffffffffffffffffffffff9093166020840152908201526060016040516020818303038152906040529050919050565b60608282604051602001611282929190611a19565b604051602081830303815290604052905092915050565b600067ffffffffffffffff8211156112e957604080517f6dfcc650000000000000000000000000000000000000000000000000000000008152600481019190915260248101839052604401610382565b5090565b803567ffffffffffffffff81168114610d7057600080fd5b60008060006060848603121561131a57600080fd5b611323846112ed565b9250611331602085016112ed565b915061133f604085016112ed565b90509250925092565b6020808252825182820181905260009190848201906040850190845b8181101561138057835183529284019291840191600101611364565b50909695505050505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d7057600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008083601f8401126113f157600080fd5b50813567ffffffffffffffff81111561140957600080fd5b6020830191508360208260051b85010111156110f657600080fd5b60008060008084860360e081121561143b57600080fd5b6114448661138c565b945060a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08201121561147657600080fd5b5060405160a0810167ffffffffffffffff82821081831117156114c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b816040526114d2602089016112ed565b83526114e0604089016112ed565b60208401526114f1606089016112ed565b60408401526080880135606084015260a0880135608084015282955060c088013592508083111561152157600080fd5b505061152f878288016113df565b95989497509550505050565b60006020828403121561154d57600080fd5b5035919050565b6000806000806060858703121561156a57600080fd5b611573856112ed565b9350611581602086016112ed565b9250604085013567ffffffffffffffff81111561159d57600080fd5b61152f878288016113df565b6000602082840312156115bb57600080fd5b6115c4826112ed565b9392505050565b815167ffffffffffffffff9081168252602080840151909116908201526040808301519082015260608101610607565b60008060006040848603121561161057600080fd5b611619846112ed565b9250602084013567ffffffffffffffff81111561163557600080fd5b611641868287016113df565b9497909650939450505050565b6000806040838503121561166157600080fd5b61166a836112ed565b9150611678602084016112ed565b90509250929050565b6000806020838503121561169457600080fd5b823567ffffffffffffffff808211156116ac57600080fd5b818501915085601f8301126116c057600080fd5b8135818111156116cf57600080fd5b8660208285010111156116e157600080fd5b60209290920196919550909350505050565b6000806000806060858703121561170957600080fd5b611712856112ed565b935060208501359250604085013567ffffffffffffffff81111561159d57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff841681526020808201849052825167ffffffffffffffff90811660408085019190915291840151166060830152820151608082015260a08101610394565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810381811115610607576106076117b7565b80820180821115610607576106076117b7565b60006020828403121561181e57600080fd5b6115c48261138c565b60005b8381101561184257818101518382015260200161182a565b50506000910152565b67ffffffffffffffff83168152604060208201526000825180604084015261187a816060850160208701611827565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016060019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036118de576118de6117b7565b5060010190565b83815260406020808301829052908201839052600090849060608401835b8681101561193c5773ffffffffffffffffffffffffffffffffffffffff6119298561138c565b1682529282019290820190600101611903565b50979650505050505050565b60006020828403121561195a57600080fd5b5051919050565b60208152816020820152818360408301376000818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b600080858511156119be57600080fd5b838611156119cb57600080fd5b5050820193919092039150565b600080604083850312156119eb57600080fd5b82356fffffffffffffffffffffffffffffffff81168114611a0b57600080fd5b946020939093013593505050565b7fffff0000000000000000000000000000000000000000000000000000000000008360f01b16815260008251611a56816002850160208701611827565b91909101600201939250505056fea2646970667358221220573a5ed65e47d6f8fb4df8a450ecd8b3620276f5b14eb9c02a7a46e535c564c664736f6c63430008140033",
}

InterchainDBMetaData contains all meta data concerning the InterchainDB contract.

View Source
var InterchainEntryLibABI = InterchainEntryLibMetaData.ABI

InterchainEntryLibABI is the input ABI used to generate the binding from. Deprecated: Use InterchainEntryLibMetaData.ABI instead.

View Source
var InterchainEntryLibBin = InterchainEntryLibMetaData.Bin

InterchainEntryLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InterchainEntryLibMetaData.Bin instead.

View Source
var InterchainEntryLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ab7fec98ad3a6d191636662ab87f8066ef89aea862cde6a6e928d7e12352116564736f6c63430008140033",
}

InterchainEntryLibMetaData contains all meta data concerning the InterchainEntryLib contract.

View Source
var SafeCastABI = SafeCastMetaData.ABI

SafeCastABI is the input ABI used to generate the binding from. Deprecated: Use SafeCastMetaData.ABI instead.

View Source
var SafeCastBin = SafeCastMetaData.Bin

SafeCastBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeCastMetaData.Bin instead.

View Source
var SafeCastMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"int256\",\"name\":\"value\",\"type\":\"int256\"}],\"name\":\"SafeCastOverflowedIntDowncast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"value\",\"type\":\"int256\"}],\"name\":\"SafeCastOverflowedIntToUint\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintDowncast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintToInt\",\"type\":\"error\"}]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ea1fca62fda9c25ff6291542b32074e648d9d42e58a615d96beca118105e26a464736f6c63430008140033",
}

SafeCastMetaData contains all meta data concerning the SafeCast contract.

View Source
var TypeCastsABI = TypeCastsMetaData.ABI

TypeCastsABI is the input ABI used to generate the binding from. Deprecated: Use TypeCastsMetaData.ABI instead.

View Source
var TypeCastsBin = TypeCastsMetaData.Bin

TypeCastsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TypeCastsMetaData.Bin instead.

View Source
var TypeCastsMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212205e46b3e35e57febf6a482bddae3f284eb3115927b8d3d488960f60e5d7da9d9364736f6c63430008140033",
}

TypeCastsMetaData contains all meta data concerning the TypeCasts contract.

View Source
var VersionedPayloadLibABI = VersionedPayloadLibMetaData.ABI

VersionedPayloadLibABI is the input ABI used to generate the binding from. Deprecated: Use VersionedPayloadLibMetaData.ABI instead.

View Source
var VersionedPayloadLibBin = VersionedPayloadLibMetaData.Bin

VersionedPayloadLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use VersionedPayloadLibMetaData.Bin instead.

View Source
var VersionedPayloadLibMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"VersionedPayload__PrecompileFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"versionedPayload\",\"type\":\"bytes\"}],\"name\":\"VersionedPayload__TooShort\",\"type\":\"error\"}]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122055c6290eb2dd14e36d9da7eea5de5f3ec00d06087accf2c096f1596b679e9c6864736f6c63430008140033",
}

VersionedPayloadLibMetaData contains all meta data concerning the VersionedPayloadLib contract.

Functions

This section is empty.

Types

type IInterchainDB

type IInterchainDB struct {
	IInterchainDBCaller     // Read-only binding to the contract
	IInterchainDBTransactor // Write-only binding to the contract
	IInterchainDBFilterer   // Log filterer for contract events
}

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

func NewIInterchainDB

func NewIInterchainDB(address common.Address, backend bind.ContractBackend) (*IInterchainDB, error)

NewIInterchainDB creates a new instance of IInterchainDB, bound to a specific deployed contract.

type IInterchainDBCaller

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

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

func NewIInterchainDBCaller

func NewIInterchainDBCaller(address common.Address, caller bind.ContractCaller) (*IInterchainDBCaller, error)

NewIInterchainDBCaller creates a new read-only instance of IInterchainDB, bound to a specific deployed contract.

func (*IInterchainDBCaller) CheckVerification

func (_IInterchainDB *IInterchainDBCaller) CheckVerification(opts *bind.CallOpts, dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)

CheckVerification is a free data retrieval call binding the contract method 0x1e5df4c4.

Solidity: function checkVerification(address dstModule, (uint64,uint64,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)

func (*IInterchainDBCaller) DBVERSION added in v0.4.0

func (_IInterchainDB *IInterchainDBCaller) DBVERSION(opts *bind.CallOpts) (uint16, error)

DBVERSION is a free data retrieval call binding the contract method 0x15f53956.

Solidity: function DB_VERSION() pure returns(uint16)

func (*IInterchainDBCaller) GetBatch

func (_IInterchainDB *IInterchainDBCaller) GetBatch(opts *bind.CallOpts, dbNonce uint64) (InterchainBatch, error)

GetBatch is a free data retrieval call binding the contract method 0x888775d9.

Solidity: function getBatch(uint64 dbNonce) view returns((uint64,uint64,bytes32))

func (*IInterchainDBCaller) GetBatchLeafs

func (_IInterchainDB *IInterchainDBCaller) GetBatchLeafs(opts *bind.CallOpts, dbNonce uint64) ([][32]byte, error)

GetBatchLeafs is a free data retrieval call binding the contract method 0xfc1ebc91.

Solidity: function getBatchLeafs(uint64 dbNonce) view returns(bytes32[])

func (*IInterchainDBCaller) GetBatchLeafsPaginated

func (_IInterchainDB *IInterchainDBCaller) GetBatchLeafsPaginated(opts *bind.CallOpts, dbNonce uint64, start uint64, end uint64) ([][32]byte, error)

GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x1c679ac1.

Solidity: function getBatchLeafsPaginated(uint64 dbNonce, uint64 start, uint64 end) view returns(bytes32[])

func (*IInterchainDBCaller) GetBatchSize

func (_IInterchainDB *IInterchainDBCaller) GetBatchSize(opts *bind.CallOpts, dbNonce uint64) (uint64, error)

GetBatchSize is a free data retrieval call binding the contract method 0x727a5f91.

Solidity: function getBatchSize(uint64 dbNonce) view returns(uint64)

func (*IInterchainDBCaller) GetDBNonce

func (_IInterchainDB *IInterchainDBCaller) GetDBNonce(opts *bind.CallOpts) (uint64, error)

GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.

Solidity: function getDBNonce() view returns(uint64)

func (*IInterchainDBCaller) GetEntryProof

func (_IInterchainDB *IInterchainDBCaller) GetEntryProof(opts *bind.CallOpts, dbNonce uint64, entryIndex uint64) ([][32]byte, error)

GetEntryProof is a free data retrieval call binding the contract method 0xfec8dfb9.

Solidity: function getEntryProof(uint64 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)

func (*IInterchainDBCaller) GetEntryValue added in v0.0.4

func (_IInterchainDB *IInterchainDBCaller) GetEntryValue(opts *bind.CallOpts, dbNonce uint64, entryIndex uint64) ([32]byte, error)

GetEntryValue is a free data retrieval call binding the contract method 0xd180db6f.

Solidity: function getEntryValue(uint64 dbNonce, uint64 entryIndex) view returns(bytes32)

func (*IInterchainDBCaller) GetInterchainFee

func (_IInterchainDB *IInterchainDBCaller) GetInterchainFee(opts *bind.CallOpts, dstChainId uint64, srcModules []common.Address) (*big.Int, error)

GetInterchainFee is a free data retrieval call binding the contract method 0xb8ba4ba1.

Solidity: function getInterchainFee(uint64 dstChainId, address[] srcModules) view returns(uint256)

func (*IInterchainDBCaller) GetNextEntryIndex

func (_IInterchainDB *IInterchainDBCaller) GetNextEntryIndex(opts *bind.CallOpts) (struct {
	DbNonce    uint64
	EntryIndex uint64
}, error)

GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.

Solidity: function getNextEntryIndex() view returns(uint64 dbNonce, uint64 entryIndex)

type IInterchainDBCallerRaw

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

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

func (*IInterchainDBCallerRaw) Call

func (_IInterchainDB *IInterchainDBCallerRaw) 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 IInterchainDBCallerSession

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

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

func (*IInterchainDBCallerSession) CheckVerification

func (_IInterchainDB *IInterchainDBCallerSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)

CheckVerification is a free data retrieval call binding the contract method 0x1e5df4c4.

Solidity: function checkVerification(address dstModule, (uint64,uint64,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)

func (*IInterchainDBCallerSession) DBVERSION added in v0.4.0

func (_IInterchainDB *IInterchainDBCallerSession) DBVERSION() (uint16, error)

DBVERSION is a free data retrieval call binding the contract method 0x15f53956.

Solidity: function DB_VERSION() pure returns(uint16)

func (*IInterchainDBCallerSession) GetBatch

func (_IInterchainDB *IInterchainDBCallerSession) GetBatch(dbNonce uint64) (InterchainBatch, error)

GetBatch is a free data retrieval call binding the contract method 0x888775d9.

Solidity: function getBatch(uint64 dbNonce) view returns((uint64,uint64,bytes32))

func (*IInterchainDBCallerSession) GetBatchLeafs

func (_IInterchainDB *IInterchainDBCallerSession) GetBatchLeafs(dbNonce uint64) ([][32]byte, error)

GetBatchLeafs is a free data retrieval call binding the contract method 0xfc1ebc91.

Solidity: function getBatchLeafs(uint64 dbNonce) view returns(bytes32[])

func (*IInterchainDBCallerSession) GetBatchLeafsPaginated

func (_IInterchainDB *IInterchainDBCallerSession) GetBatchLeafsPaginated(dbNonce uint64, start uint64, end uint64) ([][32]byte, error)

GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x1c679ac1.

Solidity: function getBatchLeafsPaginated(uint64 dbNonce, uint64 start, uint64 end) view returns(bytes32[])

func (*IInterchainDBCallerSession) GetBatchSize

func (_IInterchainDB *IInterchainDBCallerSession) GetBatchSize(dbNonce uint64) (uint64, error)

GetBatchSize is a free data retrieval call binding the contract method 0x727a5f91.

Solidity: function getBatchSize(uint64 dbNonce) view returns(uint64)

func (*IInterchainDBCallerSession) GetDBNonce

func (_IInterchainDB *IInterchainDBCallerSession) GetDBNonce() (uint64, error)

GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.

Solidity: function getDBNonce() view returns(uint64)

func (*IInterchainDBCallerSession) GetEntryProof

func (_IInterchainDB *IInterchainDBCallerSession) GetEntryProof(dbNonce uint64, entryIndex uint64) ([][32]byte, error)

GetEntryProof is a free data retrieval call binding the contract method 0xfec8dfb9.

Solidity: function getEntryProof(uint64 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)

func (*IInterchainDBCallerSession) GetEntryValue added in v0.0.4

func (_IInterchainDB *IInterchainDBCallerSession) GetEntryValue(dbNonce uint64, entryIndex uint64) ([32]byte, error)

GetEntryValue is a free data retrieval call binding the contract method 0xd180db6f.

Solidity: function getEntryValue(uint64 dbNonce, uint64 entryIndex) view returns(bytes32)

func (*IInterchainDBCallerSession) GetInterchainFee

func (_IInterchainDB *IInterchainDBCallerSession) GetInterchainFee(dstChainId uint64, srcModules []common.Address) (*big.Int, error)

GetInterchainFee is a free data retrieval call binding the contract method 0xb8ba4ba1.

Solidity: function getInterchainFee(uint64 dstChainId, address[] srcModules) view returns(uint256)

func (*IInterchainDBCallerSession) GetNextEntryIndex

func (_IInterchainDB *IInterchainDBCallerSession) GetNextEntryIndex() (struct {
	DbNonce    uint64
	EntryIndex uint64
}, error)

GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.

Solidity: function getNextEntryIndex() view returns(uint64 dbNonce, uint64 entryIndex)

type IInterchainDBFilterer

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

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

func NewIInterchainDBFilterer

func NewIInterchainDBFilterer(address common.Address, filterer bind.ContractFilterer) (*IInterchainDBFilterer, error)

NewIInterchainDBFilterer creates a new log filterer instance of IInterchainDB, bound to a specific deployed contract.

type IInterchainDBRaw

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

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

func (*IInterchainDBRaw) Call

func (_IInterchainDB *IInterchainDBRaw) 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 (*IInterchainDBRaw) Transact

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

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

func (*IInterchainDBRaw) Transfer

func (_IInterchainDB *IInterchainDBRaw) 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 IInterchainDBSession

type IInterchainDBSession struct {
	Contract     *IInterchainDB    // 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
}

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

func (*IInterchainDBSession) CheckVerification

func (_IInterchainDB *IInterchainDBSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)

CheckVerification is a free data retrieval call binding the contract method 0x1e5df4c4.

Solidity: function checkVerification(address dstModule, (uint64,uint64,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)

func (*IInterchainDBSession) DBVERSION added in v0.4.0

func (_IInterchainDB *IInterchainDBSession) DBVERSION() (uint16, error)

DBVERSION is a free data retrieval call binding the contract method 0x15f53956.

Solidity: function DB_VERSION() pure returns(uint16)

func (*IInterchainDBSession) GetBatch

func (_IInterchainDB *IInterchainDBSession) GetBatch(dbNonce uint64) (InterchainBatch, error)

GetBatch is a free data retrieval call binding the contract method 0x888775d9.

Solidity: function getBatch(uint64 dbNonce) view returns((uint64,uint64,bytes32))

func (*IInterchainDBSession) GetBatchLeafs

func (_IInterchainDB *IInterchainDBSession) GetBatchLeafs(dbNonce uint64) ([][32]byte, error)

GetBatchLeafs is a free data retrieval call binding the contract method 0xfc1ebc91.

Solidity: function getBatchLeafs(uint64 dbNonce) view returns(bytes32[])

func (*IInterchainDBSession) GetBatchLeafsPaginated

func (_IInterchainDB *IInterchainDBSession) GetBatchLeafsPaginated(dbNonce uint64, start uint64, end uint64) ([][32]byte, error)

GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x1c679ac1.

Solidity: function getBatchLeafsPaginated(uint64 dbNonce, uint64 start, uint64 end) view returns(bytes32[])

func (*IInterchainDBSession) GetBatchSize

func (_IInterchainDB *IInterchainDBSession) GetBatchSize(dbNonce uint64) (uint64, error)

GetBatchSize is a free data retrieval call binding the contract method 0x727a5f91.

Solidity: function getBatchSize(uint64 dbNonce) view returns(uint64)

func (*IInterchainDBSession) GetDBNonce

func (_IInterchainDB *IInterchainDBSession) GetDBNonce() (uint64, error)

GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.

Solidity: function getDBNonce() view returns(uint64)

func (*IInterchainDBSession) GetEntryProof

func (_IInterchainDB *IInterchainDBSession) GetEntryProof(dbNonce uint64, entryIndex uint64) ([][32]byte, error)

GetEntryProof is a free data retrieval call binding the contract method 0xfec8dfb9.

Solidity: function getEntryProof(uint64 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)

func (*IInterchainDBSession) GetEntryValue added in v0.0.4

func (_IInterchainDB *IInterchainDBSession) GetEntryValue(dbNonce uint64, entryIndex uint64) ([32]byte, error)

GetEntryValue is a free data retrieval call binding the contract method 0xd180db6f.

Solidity: function getEntryValue(uint64 dbNonce, uint64 entryIndex) view returns(bytes32)

func (*IInterchainDBSession) GetInterchainFee

func (_IInterchainDB *IInterchainDBSession) GetInterchainFee(dstChainId uint64, srcModules []common.Address) (*big.Int, error)

GetInterchainFee is a free data retrieval call binding the contract method 0xb8ba4ba1.

Solidity: function getInterchainFee(uint64 dstChainId, address[] srcModules) view returns(uint256)

func (*IInterchainDBSession) GetNextEntryIndex

func (_IInterchainDB *IInterchainDBSession) GetNextEntryIndex() (struct {
	DbNonce    uint64
	EntryIndex uint64
}, error)

GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.

Solidity: function getNextEntryIndex() view returns(uint64 dbNonce, uint64 entryIndex)

func (*IInterchainDBSession) RequestBatchVerification

func (_IInterchainDB *IInterchainDBSession) RequestBatchVerification(dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)

RequestBatchVerification is a paid mutator transaction binding the contract method 0x6c49312c.

Solidity: function requestBatchVerification(uint64 dstChainId, uint64 dbNonce, address[] srcModules) payable returns()

func (*IInterchainDBSession) VerifyRemoteBatch

func (_IInterchainDB *IInterchainDBSession) VerifyRemoteBatch(versionedBatch []byte) (*types.Transaction, error)

VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.

Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()

func (*IInterchainDBSession) WriteEntry

func (_IInterchainDB *IInterchainDBSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)

WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.

Solidity: function writeEntry(bytes32 dataHash) returns(uint64 dbNonce, uint64 entryIndex)

func (*IInterchainDBSession) WriteEntryWithVerification

func (_IInterchainDB *IInterchainDBSession) WriteEntryWithVerification(dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)

WriteEntryWithVerification is a paid mutator transaction binding the contract method 0xeb20fbfd.

Solidity: function writeEntryWithVerification(uint64 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint64 dbNonce, uint64 entryIndex)

type IInterchainDBTransactor

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

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

func NewIInterchainDBTransactor

func NewIInterchainDBTransactor(address common.Address, transactor bind.ContractTransactor) (*IInterchainDBTransactor, error)

NewIInterchainDBTransactor creates a new write-only instance of IInterchainDB, bound to a specific deployed contract.

func (*IInterchainDBTransactor) RequestBatchVerification

func (_IInterchainDB *IInterchainDBTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)

RequestBatchVerification is a paid mutator transaction binding the contract method 0x6c49312c.

Solidity: function requestBatchVerification(uint64 dstChainId, uint64 dbNonce, address[] srcModules) payable returns()

func (*IInterchainDBTransactor) VerifyRemoteBatch

func (_IInterchainDB *IInterchainDBTransactor) VerifyRemoteBatch(opts *bind.TransactOpts, versionedBatch []byte) (*types.Transaction, error)

VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.

Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()

func (*IInterchainDBTransactor) WriteEntry

func (_IInterchainDB *IInterchainDBTransactor) WriteEntry(opts *bind.TransactOpts, dataHash [32]byte) (*types.Transaction, error)

WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.

Solidity: function writeEntry(bytes32 dataHash) returns(uint64 dbNonce, uint64 entryIndex)

func (*IInterchainDBTransactor) WriteEntryWithVerification

func (_IInterchainDB *IInterchainDBTransactor) WriteEntryWithVerification(opts *bind.TransactOpts, dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)

WriteEntryWithVerification is a paid mutator transaction binding the contract method 0xeb20fbfd.

Solidity: function writeEntryWithVerification(uint64 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint64 dbNonce, uint64 entryIndex)

type IInterchainDBTransactorRaw

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

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

func (*IInterchainDBTransactorRaw) Transact

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

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

func (*IInterchainDBTransactorRaw) Transfer

func (_IInterchainDB *IInterchainDBTransactorRaw) 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 IInterchainDBTransactorSession

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

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

func (*IInterchainDBTransactorSession) RequestBatchVerification

func (_IInterchainDB *IInterchainDBTransactorSession) RequestBatchVerification(dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)

RequestBatchVerification is a paid mutator transaction binding the contract method 0x6c49312c.

Solidity: function requestBatchVerification(uint64 dstChainId, uint64 dbNonce, address[] srcModules) payable returns()

func (*IInterchainDBTransactorSession) VerifyRemoteBatch

func (_IInterchainDB *IInterchainDBTransactorSession) VerifyRemoteBatch(versionedBatch []byte) (*types.Transaction, error)

VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.

Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()

func (*IInterchainDBTransactorSession) WriteEntry

func (_IInterchainDB *IInterchainDBTransactorSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)

WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.

Solidity: function writeEntry(bytes32 dataHash) returns(uint64 dbNonce, uint64 entryIndex)

func (*IInterchainDBTransactorSession) WriteEntryWithVerification

func (_IInterchainDB *IInterchainDBTransactorSession) WriteEntryWithVerification(dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)

WriteEntryWithVerification is a paid mutator transaction binding the contract method 0xeb20fbfd.

Solidity: function writeEntryWithVerification(uint64 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint64 dbNonce, uint64 entryIndex)

type IInterchainModule

type IInterchainModule struct {
	IInterchainModuleCaller     // Read-only binding to the contract
	IInterchainModuleTransactor // Write-only binding to the contract
	IInterchainModuleFilterer   // Log filterer for contract events
}

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

func NewIInterchainModule

func NewIInterchainModule(address common.Address, backend bind.ContractBackend) (*IInterchainModule, error)

NewIInterchainModule creates a new instance of IInterchainModule, bound to a specific deployed contract.

type IInterchainModuleCaller

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

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

func NewIInterchainModuleCaller

func NewIInterchainModuleCaller(address common.Address, caller bind.ContractCaller) (*IInterchainModuleCaller, error)

NewIInterchainModuleCaller creates a new read-only instance of IInterchainModule, bound to a specific deployed contract.

func (*IInterchainModuleCaller) GetModuleFee

func (_IInterchainModule *IInterchainModuleCaller) GetModuleFee(opts *bind.CallOpts, dstChainId uint64, dbNonce uint64) (*big.Int, error)

GetModuleFee is a free data retrieval call binding the contract method 0x1888f4d4.

Solidity: function getModuleFee(uint64 dstChainId, uint64 dbNonce) view returns(uint256)

type IInterchainModuleCallerRaw

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

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

func (*IInterchainModuleCallerRaw) Call

func (_IInterchainModule *IInterchainModuleCallerRaw) 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 IInterchainModuleCallerSession

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

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

func (*IInterchainModuleCallerSession) GetModuleFee

func (_IInterchainModule *IInterchainModuleCallerSession) GetModuleFee(dstChainId uint64, dbNonce uint64) (*big.Int, error)

GetModuleFee is a free data retrieval call binding the contract method 0x1888f4d4.

Solidity: function getModuleFee(uint64 dstChainId, uint64 dbNonce) view returns(uint256)

type IInterchainModuleFilterer

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

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

func NewIInterchainModuleFilterer

func NewIInterchainModuleFilterer(address common.Address, filterer bind.ContractFilterer) (*IInterchainModuleFilterer, error)

NewIInterchainModuleFilterer creates a new log filterer instance of IInterchainModule, bound to a specific deployed contract.

type IInterchainModuleRaw

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

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

func (*IInterchainModuleRaw) Call

func (_IInterchainModule *IInterchainModuleRaw) 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 (*IInterchainModuleRaw) Transact

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

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

func (*IInterchainModuleRaw) Transfer

func (_IInterchainModule *IInterchainModuleRaw) 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 IInterchainModuleSession

type IInterchainModuleSession struct {
	Contract     *IInterchainModule // 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
}

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

func (*IInterchainModuleSession) GetModuleFee

func (_IInterchainModule *IInterchainModuleSession) GetModuleFee(dstChainId uint64, dbNonce uint64) (*big.Int, error)

GetModuleFee is a free data retrieval call binding the contract method 0x1888f4d4.

Solidity: function getModuleFee(uint64 dstChainId, uint64 dbNonce) view returns(uint256)

func (*IInterchainModuleSession) RequestBatchVerification

func (_IInterchainModule *IInterchainModuleSession) RequestBatchVerification(dstChainId uint64, versionedBatch []byte) (*types.Transaction, error)

RequestBatchVerification is a paid mutator transaction binding the contract method 0x30068e33.

Solidity: function requestBatchVerification(uint64 dstChainId, bytes versionedBatch) payable returns()

type IInterchainModuleTransactor

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

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

func NewIInterchainModuleTransactor

func NewIInterchainModuleTransactor(address common.Address, transactor bind.ContractTransactor) (*IInterchainModuleTransactor, error)

NewIInterchainModuleTransactor creates a new write-only instance of IInterchainModule, bound to a specific deployed contract.

func (*IInterchainModuleTransactor) RequestBatchVerification

func (_IInterchainModule *IInterchainModuleTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId uint64, versionedBatch []byte) (*types.Transaction, error)

RequestBatchVerification is a paid mutator transaction binding the contract method 0x30068e33.

Solidity: function requestBatchVerification(uint64 dstChainId, bytes versionedBatch) payable returns()

type IInterchainModuleTransactorRaw

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

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

func (*IInterchainModuleTransactorRaw) Transact

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

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

func (*IInterchainModuleTransactorRaw) Transfer

func (_IInterchainModule *IInterchainModuleTransactorRaw) 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 IInterchainModuleTransactorSession

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

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

func (*IInterchainModuleTransactorSession) RequestBatchVerification

func (_IInterchainModule *IInterchainModuleTransactorSession) RequestBatchVerification(dstChainId uint64, versionedBatch []byte) (*types.Transaction, error)

RequestBatchVerification is a paid mutator transaction binding the contract method 0x30068e33.

Solidity: function requestBatchVerification(uint64 dstChainId, bytes versionedBatch) payable returns()

type InterchainBatch

type InterchainBatch struct {
	SrcChainId uint64
	DbNonce    uint64
	BatchRoot  [32]byte
}

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

type InterchainBatchLib

type InterchainBatchLib struct {
	InterchainBatchLibCaller     // Read-only binding to the contract
	InterchainBatchLibTransactor // Write-only binding to the contract
	InterchainBatchLibFilterer   // Log filterer for contract events
}

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

func DeployInterchainBatchLib

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

DeployInterchainBatchLib deploys a new Ethereum contract, binding an instance of InterchainBatchLib to it.

func NewInterchainBatchLib

func NewInterchainBatchLib(address common.Address, backend bind.ContractBackend) (*InterchainBatchLib, error)

NewInterchainBatchLib creates a new instance of InterchainBatchLib, bound to a specific deployed contract.

type InterchainBatchLibCaller

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

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

func NewInterchainBatchLibCaller

func NewInterchainBatchLibCaller(address common.Address, caller bind.ContractCaller) (*InterchainBatchLibCaller, error)

NewInterchainBatchLibCaller creates a new read-only instance of InterchainBatchLib, bound to a specific deployed contract.

type InterchainBatchLibCallerRaw

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

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

func (*InterchainBatchLibCallerRaw) Call

func (_InterchainBatchLib *InterchainBatchLibCallerRaw) 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 InterchainBatchLibCallerSession

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

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

type InterchainBatchLibFilterer

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

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

func NewInterchainBatchLibFilterer

func NewInterchainBatchLibFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainBatchLibFilterer, error)

NewInterchainBatchLibFilterer creates a new log filterer instance of InterchainBatchLib, bound to a specific deployed contract.

type InterchainBatchLibRaw

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

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

func (*InterchainBatchLibRaw) Call

func (_InterchainBatchLib *InterchainBatchLibRaw) 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 (*InterchainBatchLibRaw) Transact

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

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

func (*InterchainBatchLibRaw) Transfer

func (_InterchainBatchLib *InterchainBatchLibRaw) 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 InterchainBatchLibSession

type InterchainBatchLibSession struct {
	Contract     *InterchainBatchLib // 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
}

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

type InterchainBatchLibTransactor

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

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

func NewInterchainBatchLibTransactor

func NewInterchainBatchLibTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainBatchLibTransactor, error)

NewInterchainBatchLibTransactor creates a new write-only instance of InterchainBatchLib, bound to a specific deployed contract.

type InterchainBatchLibTransactorRaw

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

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

func (*InterchainBatchLibTransactorRaw) Transact

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

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

func (*InterchainBatchLibTransactorRaw) Transfer

func (_InterchainBatchLib *InterchainBatchLibTransactorRaw) 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 InterchainBatchLibTransactorSession

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

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

type InterchainDB

type InterchainDB struct {
	InterchainDBCaller     // Read-only binding to the contract
	InterchainDBTransactor // Write-only binding to the contract
	InterchainDBFilterer   // Log filterer for contract events
}

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

func DeployInterchainDB

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

DeployInterchainDB deploys a new Ethereum contract, binding an instance of InterchainDB to it.

func NewInterchainDB

func NewInterchainDB(address common.Address, backend bind.ContractBackend) (*InterchainDB, error)

NewInterchainDB creates a new instance of InterchainDB, bound to a specific deployed contract.

type InterchainDBCaller

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

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

func NewInterchainDBCaller

func NewInterchainDBCaller(address common.Address, caller bind.ContractCaller) (*InterchainDBCaller, error)

NewInterchainDBCaller creates a new read-only instance of InterchainDB, bound to a specific deployed contract.

func (*InterchainDBCaller) CheckVerification

func (_InterchainDB *InterchainDBCaller) CheckVerification(opts *bind.CallOpts, dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)

CheckVerification is a free data retrieval call binding the contract method 0x1e5df4c4.

Solidity: function checkVerification(address dstModule, (uint64,uint64,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)

func (*InterchainDBCaller) DBVERSION added in v0.4.0

func (_InterchainDB *InterchainDBCaller) DBVERSION(opts *bind.CallOpts) (uint16, error)

DBVERSION is a free data retrieval call binding the contract method 0x15f53956.

Solidity: function DB_VERSION() view returns(uint16)

func (*InterchainDBCaller) GetBatch

func (_InterchainDB *InterchainDBCaller) GetBatch(opts *bind.CallOpts, dbNonce uint64) (InterchainBatch, error)

GetBatch is a free data retrieval call binding the contract method 0x888775d9.

Solidity: function getBatch(uint64 dbNonce) view returns((uint64,uint64,bytes32))

func (*InterchainDBCaller) GetBatchLeafs

func (_InterchainDB *InterchainDBCaller) GetBatchLeafs(opts *bind.CallOpts, dbNonce uint64) ([][32]byte, error)

GetBatchLeafs is a free data retrieval call binding the contract method 0xfc1ebc91.

Solidity: function getBatchLeafs(uint64 dbNonce) view returns(bytes32[] leafs)

func (*InterchainDBCaller) GetBatchLeafsPaginated

func (_InterchainDB *InterchainDBCaller) GetBatchLeafsPaginated(opts *bind.CallOpts, dbNonce uint64, start uint64, end uint64) ([][32]byte, error)

GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x1c679ac1.

Solidity: function getBatchLeafsPaginated(uint64 dbNonce, uint64 start, uint64 end) view returns(bytes32[] leafs)

func (*InterchainDBCaller) GetBatchSize

func (_InterchainDB *InterchainDBCaller) GetBatchSize(opts *bind.CallOpts, dbNonce uint64) (uint64, error)

GetBatchSize is a free data retrieval call binding the contract method 0x727a5f91.

Solidity: function getBatchSize(uint64 dbNonce) view returns(uint64)

func (*InterchainDBCaller) GetDBNonce

func (_InterchainDB *InterchainDBCaller) GetDBNonce(opts *bind.CallOpts) (uint64, error)

GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.

Solidity: function getDBNonce() view returns(uint64)

func (*InterchainDBCaller) GetEntryProof

func (_InterchainDB *InterchainDBCaller) GetEntryProof(opts *bind.CallOpts, dbNonce uint64, entryIndex uint64) ([][32]byte, error)

GetEntryProof is a free data retrieval call binding the contract method 0xfec8dfb9.

Solidity: function getEntryProof(uint64 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)

func (*InterchainDBCaller) GetEntryValue added in v0.0.4

func (_InterchainDB *InterchainDBCaller) GetEntryValue(opts *bind.CallOpts, dbNonce uint64, entryIndex uint64) ([32]byte, error)

GetEntryValue is a free data retrieval call binding the contract method 0xd180db6f.

Solidity: function getEntryValue(uint64 dbNonce, uint64 entryIndex) view returns(bytes32)

func (*InterchainDBCaller) GetInterchainFee

func (_InterchainDB *InterchainDBCaller) GetInterchainFee(opts *bind.CallOpts, dstChainId uint64, srcModules []common.Address) (*big.Int, error)

GetInterchainFee is a free data retrieval call binding the contract method 0xb8ba4ba1.

Solidity: function getInterchainFee(uint64 dstChainId, address[] srcModules) view returns(uint256 fee)

func (*InterchainDBCaller) GetNextEntryIndex

func (_InterchainDB *InterchainDBCaller) GetNextEntryIndex(opts *bind.CallOpts) (struct {
	DbNonce    uint64
	EntryIndex uint64
}, error)

GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.

Solidity: function getNextEntryIndex() view returns(uint64 dbNonce, uint64 entryIndex)

type InterchainDBCallerRaw

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

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

func (*InterchainDBCallerRaw) Call

func (_InterchainDB *InterchainDBCallerRaw) 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 InterchainDBCallerSession

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

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

func (*InterchainDBCallerSession) CheckVerification

func (_InterchainDB *InterchainDBCallerSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)

CheckVerification is a free data retrieval call binding the contract method 0x1e5df4c4.

Solidity: function checkVerification(address dstModule, (uint64,uint64,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)

func (*InterchainDBCallerSession) DBVERSION added in v0.4.0

func (_InterchainDB *InterchainDBCallerSession) DBVERSION() (uint16, error)

DBVERSION is a free data retrieval call binding the contract method 0x15f53956.

Solidity: function DB_VERSION() view returns(uint16)

func (*InterchainDBCallerSession) GetBatch

func (_InterchainDB *InterchainDBCallerSession) GetBatch(dbNonce uint64) (InterchainBatch, error)

GetBatch is a free data retrieval call binding the contract method 0x888775d9.

Solidity: function getBatch(uint64 dbNonce) view returns((uint64,uint64,bytes32))

func (*InterchainDBCallerSession) GetBatchLeafs

func (_InterchainDB *InterchainDBCallerSession) GetBatchLeafs(dbNonce uint64) ([][32]byte, error)

GetBatchLeafs is a free data retrieval call binding the contract method 0xfc1ebc91.

Solidity: function getBatchLeafs(uint64 dbNonce) view returns(bytes32[] leafs)

func (*InterchainDBCallerSession) GetBatchLeafsPaginated

func (_InterchainDB *InterchainDBCallerSession) GetBatchLeafsPaginated(dbNonce uint64, start uint64, end uint64) ([][32]byte, error)

GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x1c679ac1.

Solidity: function getBatchLeafsPaginated(uint64 dbNonce, uint64 start, uint64 end) view returns(bytes32[] leafs)

func (*InterchainDBCallerSession) GetBatchSize

func (_InterchainDB *InterchainDBCallerSession) GetBatchSize(dbNonce uint64) (uint64, error)

GetBatchSize is a free data retrieval call binding the contract method 0x727a5f91.

Solidity: function getBatchSize(uint64 dbNonce) view returns(uint64)

func (*InterchainDBCallerSession) GetDBNonce

func (_InterchainDB *InterchainDBCallerSession) GetDBNonce() (uint64, error)

GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.

Solidity: function getDBNonce() view returns(uint64)

func (*InterchainDBCallerSession) GetEntryProof

func (_InterchainDB *InterchainDBCallerSession) GetEntryProof(dbNonce uint64, entryIndex uint64) ([][32]byte, error)

GetEntryProof is a free data retrieval call binding the contract method 0xfec8dfb9.

Solidity: function getEntryProof(uint64 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)

func (*InterchainDBCallerSession) GetEntryValue added in v0.0.4

func (_InterchainDB *InterchainDBCallerSession) GetEntryValue(dbNonce uint64, entryIndex uint64) ([32]byte, error)

GetEntryValue is a free data retrieval call binding the contract method 0xd180db6f.

Solidity: function getEntryValue(uint64 dbNonce, uint64 entryIndex) view returns(bytes32)

func (*InterchainDBCallerSession) GetInterchainFee

func (_InterchainDB *InterchainDBCallerSession) GetInterchainFee(dstChainId uint64, srcModules []common.Address) (*big.Int, error)

GetInterchainFee is a free data retrieval call binding the contract method 0xb8ba4ba1.

Solidity: function getInterchainFee(uint64 dstChainId, address[] srcModules) view returns(uint256 fee)

func (*InterchainDBCallerSession) GetNextEntryIndex

func (_InterchainDB *InterchainDBCallerSession) GetNextEntryIndex() (struct {
	DbNonce    uint64
	EntryIndex uint64
}, error)

GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.

Solidity: function getNextEntryIndex() view returns(uint64 dbNonce, uint64 entryIndex)

type InterchainDBEvents

type InterchainDBEvents struct {
	InterchainDBEventsCaller     // Read-only binding to the contract
	InterchainDBEventsTransactor // Write-only binding to the contract
	InterchainDBEventsFilterer   // Log filterer for contract events
}

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

func NewInterchainDBEvents

func NewInterchainDBEvents(address common.Address, backend bind.ContractBackend) (*InterchainDBEvents, error)

NewInterchainDBEvents creates a new instance of InterchainDBEvents, bound to a specific deployed contract.

type InterchainDBEventsCaller

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

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

func NewInterchainDBEventsCaller

func NewInterchainDBEventsCaller(address common.Address, caller bind.ContractCaller) (*InterchainDBEventsCaller, error)

NewInterchainDBEventsCaller creates a new read-only instance of InterchainDBEvents, bound to a specific deployed contract.

type InterchainDBEventsCallerRaw

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

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

func (*InterchainDBEventsCallerRaw) Call

func (_InterchainDBEvents *InterchainDBEventsCallerRaw) 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 InterchainDBEventsCallerSession

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

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

type InterchainDBEventsFilterer

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

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

func NewInterchainDBEventsFilterer

func NewInterchainDBEventsFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainDBEventsFilterer, error)

NewInterchainDBEventsFilterer creates a new log filterer instance of InterchainDBEvents, bound to a specific deployed contract.

func (*InterchainDBEventsFilterer) FilterInterchainBatchFinalized added in v0.6.1

func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchFinalized(opts *bind.FilterOpts, dbNonce []uint64) (*InterchainDBEventsInterchainBatchFinalizedIterator, error)

FilterInterchainBatchFinalized is a free log retrieval operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.

Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBEventsFilterer) FilterInterchainBatchVerificationRequested

func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts, dstChainId []uint64, dbNonce []uint64) (*InterchainDBEventsInterchainBatchVerificationRequestedIterator, error)

FilterInterchainBatchVerificationRequested is a free log retrieval operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.

Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)

func (*InterchainDBEventsFilterer) FilterInterchainBatchVerified

func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts, module []common.Address, srcChainId []uint64, dbNonce []uint64) (*InterchainDBEventsInterchainBatchVerifiedIterator, error)

FilterInterchainBatchVerified is a free log retrieval operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.

Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBEventsFilterer) FilterInterchainEntryWritten

func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts, dbNonce []uint64, srcWriter [][32]byte) (*InterchainDBEventsInterchainEntryWrittenIterator, error)

FilterInterchainEntryWritten is a free log retrieval operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.

Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)

func (*InterchainDBEventsFilterer) ParseInterchainBatchFinalized added in v0.6.1

func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainBatchFinalized(log types.Log) (*InterchainDBEventsInterchainBatchFinalized, error)

ParseInterchainBatchFinalized is a log parse operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.

Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBEventsFilterer) ParseInterchainBatchVerificationRequested

func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainBatchVerificationRequested(log types.Log) (*InterchainDBEventsInterchainBatchVerificationRequested, error)

ParseInterchainBatchVerificationRequested is a log parse operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.

Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)

func (*InterchainDBEventsFilterer) ParseInterchainBatchVerified

func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainBatchVerified(log types.Log) (*InterchainDBEventsInterchainBatchVerified, error)

ParseInterchainBatchVerified is a log parse operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.

Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBEventsFilterer) ParseInterchainEntryWritten

func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainEntryWritten(log types.Log) (*InterchainDBEventsInterchainEntryWritten, error)

ParseInterchainEntryWritten is a log parse operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.

Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)

func (*InterchainDBEventsFilterer) WatchInterchainBatchFinalized added in v0.6.1

func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchFinalized(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainBatchFinalized, dbNonce []uint64) (event.Subscription, error)

WatchInterchainBatchFinalized is a free log subscription operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.

Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBEventsFilterer) WatchInterchainBatchVerificationRequested

func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchVerificationRequested(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainBatchVerificationRequested, dstChainId []uint64, dbNonce []uint64) (event.Subscription, error)

WatchInterchainBatchVerificationRequested is a free log subscription operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.

Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)

func (*InterchainDBEventsFilterer) WatchInterchainBatchVerified

func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchVerified(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainBatchVerified, module []common.Address, srcChainId []uint64, dbNonce []uint64) (event.Subscription, error)

WatchInterchainBatchVerified is a free log subscription operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.

Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBEventsFilterer) WatchInterchainEntryWritten

func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainEntryWritten(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainEntryWritten, dbNonce []uint64, srcWriter [][32]byte) (event.Subscription, error)

WatchInterchainEntryWritten is a free log subscription operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.

Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)

type InterchainDBEventsInterchainBatchFinalized added in v0.6.1

type InterchainDBEventsInterchainBatchFinalized struct {
	DbNonce   uint64
	BatchRoot [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

InterchainDBEventsInterchainBatchFinalized represents a InterchainBatchFinalized event raised by the InterchainDBEvents contract.

type InterchainDBEventsInterchainBatchFinalizedIterator added in v0.6.1

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

InterchainDBEventsInterchainBatchFinalizedIterator is returned from FilterInterchainBatchFinalized and is used to iterate over the raw logs and unpacked data for InterchainBatchFinalized events raised by the InterchainDBEvents contract.

func (*InterchainDBEventsInterchainBatchFinalizedIterator) Close added in v0.6.1

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

func (*InterchainDBEventsInterchainBatchFinalizedIterator) Error added in v0.6.1

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainDBEventsInterchainBatchFinalizedIterator) Next added in v0.6.1

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 InterchainDBEventsInterchainBatchVerificationRequested

type InterchainDBEventsInterchainBatchVerificationRequested struct {
	DstChainId uint64
	DbNonce    uint64
	BatchRoot  [32]byte
	SrcModules []common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

InterchainDBEventsInterchainBatchVerificationRequested represents a InterchainBatchVerificationRequested event raised by the InterchainDBEvents contract.

type InterchainDBEventsInterchainBatchVerificationRequestedIterator

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

InterchainDBEventsInterchainBatchVerificationRequestedIterator is returned from FilterInterchainBatchVerificationRequested and is used to iterate over the raw logs and unpacked data for InterchainBatchVerificationRequested events raised by the InterchainDBEvents contract.

func (*InterchainDBEventsInterchainBatchVerificationRequestedIterator) Close

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

func (*InterchainDBEventsInterchainBatchVerificationRequestedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainDBEventsInterchainBatchVerificationRequestedIterator) 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 InterchainDBEventsInterchainBatchVerified

type InterchainDBEventsInterchainBatchVerified struct {
	Module     common.Address
	SrcChainId uint64
	DbNonce    uint64
	BatchRoot  [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

InterchainDBEventsInterchainBatchVerified represents a InterchainBatchVerified event raised by the InterchainDBEvents contract.

type InterchainDBEventsInterchainBatchVerifiedIterator

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

InterchainDBEventsInterchainBatchVerifiedIterator is returned from FilterInterchainBatchVerified and is used to iterate over the raw logs and unpacked data for InterchainBatchVerified events raised by the InterchainDBEvents contract.

func (*InterchainDBEventsInterchainBatchVerifiedIterator) Close

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

func (*InterchainDBEventsInterchainBatchVerifiedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainDBEventsInterchainBatchVerifiedIterator) 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 InterchainDBEventsInterchainEntryWritten

type InterchainDBEventsInterchainEntryWritten struct {
	DbNonce    uint64
	EntryIndex uint64
	SrcWriter  [32]byte
	DataHash   [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

InterchainDBEventsInterchainEntryWritten represents a InterchainEntryWritten event raised by the InterchainDBEvents contract.

type InterchainDBEventsInterchainEntryWrittenIterator

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

InterchainDBEventsInterchainEntryWrittenIterator is returned from FilterInterchainEntryWritten and is used to iterate over the raw logs and unpacked data for InterchainEntryWritten events raised by the InterchainDBEvents contract.

func (*InterchainDBEventsInterchainEntryWrittenIterator) Close

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

func (*InterchainDBEventsInterchainEntryWrittenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainDBEventsInterchainEntryWrittenIterator) 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 InterchainDBEventsRaw

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

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

func (*InterchainDBEventsRaw) Call

func (_InterchainDBEvents *InterchainDBEventsRaw) 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 (*InterchainDBEventsRaw) Transact

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

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

func (*InterchainDBEventsRaw) Transfer

func (_InterchainDBEvents *InterchainDBEventsRaw) 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 InterchainDBEventsSession

type InterchainDBEventsSession struct {
	Contract     *InterchainDBEvents // 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
}

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

type InterchainDBEventsTransactor

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

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

func NewInterchainDBEventsTransactor

func NewInterchainDBEventsTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainDBEventsTransactor, error)

NewInterchainDBEventsTransactor creates a new write-only instance of InterchainDBEvents, bound to a specific deployed contract.

type InterchainDBEventsTransactorRaw

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

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

func (*InterchainDBEventsTransactorRaw) Transact

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

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

func (*InterchainDBEventsTransactorRaw) Transfer

func (_InterchainDBEvents *InterchainDBEventsTransactorRaw) 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 InterchainDBEventsTransactorSession

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

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

type InterchainDBFilterer

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

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

func NewInterchainDBFilterer

func NewInterchainDBFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainDBFilterer, error)

NewInterchainDBFilterer creates a new log filterer instance of InterchainDB, bound to a specific deployed contract.

func (*InterchainDBFilterer) FilterInterchainBatchFinalized added in v0.6.1

func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchFinalized(opts *bind.FilterOpts, dbNonce []uint64) (*InterchainDBInterchainBatchFinalizedIterator, error)

FilterInterchainBatchFinalized is a free log retrieval operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.

Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBFilterer) FilterInterchainBatchVerificationRequested

func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts, dstChainId []uint64, dbNonce []uint64) (*InterchainDBInterchainBatchVerificationRequestedIterator, error)

FilterInterchainBatchVerificationRequested is a free log retrieval operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.

Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)

func (*InterchainDBFilterer) FilterInterchainBatchVerified

func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts, module []common.Address, srcChainId []uint64, dbNonce []uint64) (*InterchainDBInterchainBatchVerifiedIterator, error)

FilterInterchainBatchVerified is a free log retrieval operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.

Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBFilterer) FilterInterchainEntryWritten

func (_InterchainDB *InterchainDBFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts, dbNonce []uint64, srcWriter [][32]byte) (*InterchainDBInterchainEntryWrittenIterator, error)

FilterInterchainEntryWritten is a free log retrieval operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.

Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)

func (*InterchainDBFilterer) ParseInterchainBatchFinalized added in v0.6.1

func (_InterchainDB *InterchainDBFilterer) ParseInterchainBatchFinalized(log types.Log) (*InterchainDBInterchainBatchFinalized, error)

ParseInterchainBatchFinalized is a log parse operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.

Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBFilterer) ParseInterchainBatchVerificationRequested

func (_InterchainDB *InterchainDBFilterer) ParseInterchainBatchVerificationRequested(log types.Log) (*InterchainDBInterchainBatchVerificationRequested, error)

ParseInterchainBatchVerificationRequested is a log parse operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.

Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)

func (*InterchainDBFilterer) ParseInterchainBatchVerified

func (_InterchainDB *InterchainDBFilterer) ParseInterchainBatchVerified(log types.Log) (*InterchainDBInterchainBatchVerified, error)

ParseInterchainBatchVerified is a log parse operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.

Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBFilterer) ParseInterchainEntryWritten

func (_InterchainDB *InterchainDBFilterer) ParseInterchainEntryWritten(log types.Log) (*InterchainDBInterchainEntryWritten, error)

ParseInterchainEntryWritten is a log parse operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.

Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)

func (*InterchainDBFilterer) WatchInterchainBatchFinalized added in v0.6.1

func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchFinalized(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainBatchFinalized, dbNonce []uint64) (event.Subscription, error)

WatchInterchainBatchFinalized is a free log subscription operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.

Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBFilterer) WatchInterchainBatchVerificationRequested

func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchVerificationRequested(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainBatchVerificationRequested, dstChainId []uint64, dbNonce []uint64) (event.Subscription, error)

WatchInterchainBatchVerificationRequested is a free log subscription operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.

Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)

func (*InterchainDBFilterer) WatchInterchainBatchVerified

func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchVerified(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainBatchVerified, module []common.Address, srcChainId []uint64, dbNonce []uint64) (event.Subscription, error)

WatchInterchainBatchVerified is a free log subscription operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.

Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)

func (*InterchainDBFilterer) WatchInterchainEntryWritten

func (_InterchainDB *InterchainDBFilterer) WatchInterchainEntryWritten(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainEntryWritten, dbNonce []uint64, srcWriter [][32]byte) (event.Subscription, error)

WatchInterchainEntryWritten is a free log subscription operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.

Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)

type InterchainDBInterchainBatchFinalized added in v0.6.1

type InterchainDBInterchainBatchFinalized struct {
	DbNonce   uint64
	BatchRoot [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

InterchainDBInterchainBatchFinalized represents a InterchainBatchFinalized event raised by the InterchainDB contract.

type InterchainDBInterchainBatchFinalizedIterator added in v0.6.1

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

InterchainDBInterchainBatchFinalizedIterator is returned from FilterInterchainBatchFinalized and is used to iterate over the raw logs and unpacked data for InterchainBatchFinalized events raised by the InterchainDB contract.

func (*InterchainDBInterchainBatchFinalizedIterator) Close added in v0.6.1

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

func (*InterchainDBInterchainBatchFinalizedIterator) Error added in v0.6.1

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainDBInterchainBatchFinalizedIterator) Next added in v0.6.1

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 InterchainDBInterchainBatchVerificationRequested

type InterchainDBInterchainBatchVerificationRequested struct {
	DstChainId uint64
	DbNonce    uint64
	BatchRoot  [32]byte
	SrcModules []common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

InterchainDBInterchainBatchVerificationRequested represents a InterchainBatchVerificationRequested event raised by the InterchainDB contract.

type InterchainDBInterchainBatchVerificationRequestedIterator

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

InterchainDBInterchainBatchVerificationRequestedIterator is returned from FilterInterchainBatchVerificationRequested and is used to iterate over the raw logs and unpacked data for InterchainBatchVerificationRequested events raised by the InterchainDB contract.

func (*InterchainDBInterchainBatchVerificationRequestedIterator) Close

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

func (*InterchainDBInterchainBatchVerificationRequestedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainDBInterchainBatchVerificationRequestedIterator) 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 InterchainDBInterchainBatchVerified

type InterchainDBInterchainBatchVerified struct {
	Module     common.Address
	SrcChainId uint64
	DbNonce    uint64
	BatchRoot  [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

InterchainDBInterchainBatchVerified represents a InterchainBatchVerified event raised by the InterchainDB contract.

type InterchainDBInterchainBatchVerifiedIterator

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

InterchainDBInterchainBatchVerifiedIterator is returned from FilterInterchainBatchVerified and is used to iterate over the raw logs and unpacked data for InterchainBatchVerified events raised by the InterchainDB contract.

func (*InterchainDBInterchainBatchVerifiedIterator) Close

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

func (*InterchainDBInterchainBatchVerifiedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainDBInterchainBatchVerifiedIterator) 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 InterchainDBInterchainEntryWritten

type InterchainDBInterchainEntryWritten struct {
	DbNonce    uint64
	EntryIndex uint64
	SrcWriter  [32]byte
	DataHash   [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

InterchainDBInterchainEntryWritten represents a InterchainEntryWritten event raised by the InterchainDB contract.

type InterchainDBInterchainEntryWrittenIterator

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

InterchainDBInterchainEntryWrittenIterator is returned from FilterInterchainEntryWritten and is used to iterate over the raw logs and unpacked data for InterchainEntryWritten events raised by the InterchainDB contract.

func (*InterchainDBInterchainEntryWrittenIterator) Close

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

func (*InterchainDBInterchainEntryWrittenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainDBInterchainEntryWrittenIterator) 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 InterchainDBRaw

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

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

func (*InterchainDBRaw) Call

func (_InterchainDB *InterchainDBRaw) 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 (*InterchainDBRaw) Transact

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

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

func (*InterchainDBRaw) Transfer

func (_InterchainDB *InterchainDBRaw) 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 InterchainDBRef

type InterchainDBRef struct {
	*InterchainDB
	// contains filtered or unexported fields
}

InterchainDBRef is a reference to an interchain db. nolint: golint

func NewInterchainDBRef

func NewInterchainDBRef(address common.Address, backend bind.ContractBackend) (*InterchainDBRef, error)

NewInterchainDBRef creates a new interchain client with a contract ref.

func (*InterchainDBRef) Address

func (i *InterchainDBRef) Address() common.Address

Address is the contract address.

type InterchainDBSession

type InterchainDBSession struct {
	Contract     *InterchainDB     // 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
}

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

func (*InterchainDBSession) CheckVerification

func (_InterchainDB *InterchainDBSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)

CheckVerification is a free data retrieval call binding the contract method 0x1e5df4c4.

Solidity: function checkVerification(address dstModule, (uint64,uint64,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)

func (*InterchainDBSession) DBVERSION added in v0.4.0

func (_InterchainDB *InterchainDBSession) DBVERSION() (uint16, error)

DBVERSION is a free data retrieval call binding the contract method 0x15f53956.

Solidity: function DB_VERSION() view returns(uint16)

func (*InterchainDBSession) GetBatch

func (_InterchainDB *InterchainDBSession) GetBatch(dbNonce uint64) (InterchainBatch, error)

GetBatch is a free data retrieval call binding the contract method 0x888775d9.

Solidity: function getBatch(uint64 dbNonce) view returns((uint64,uint64,bytes32))

func (*InterchainDBSession) GetBatchLeafs

func (_InterchainDB *InterchainDBSession) GetBatchLeafs(dbNonce uint64) ([][32]byte, error)

GetBatchLeafs is a free data retrieval call binding the contract method 0xfc1ebc91.

Solidity: function getBatchLeafs(uint64 dbNonce) view returns(bytes32[] leafs)

func (*InterchainDBSession) GetBatchLeafsPaginated

func (_InterchainDB *InterchainDBSession) GetBatchLeafsPaginated(dbNonce uint64, start uint64, end uint64) ([][32]byte, error)

GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x1c679ac1.

Solidity: function getBatchLeafsPaginated(uint64 dbNonce, uint64 start, uint64 end) view returns(bytes32[] leafs)

func (*InterchainDBSession) GetBatchSize

func (_InterchainDB *InterchainDBSession) GetBatchSize(dbNonce uint64) (uint64, error)

GetBatchSize is a free data retrieval call binding the contract method 0x727a5f91.

Solidity: function getBatchSize(uint64 dbNonce) view returns(uint64)

func (*InterchainDBSession) GetDBNonce

func (_InterchainDB *InterchainDBSession) GetDBNonce() (uint64, error)

GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.

Solidity: function getDBNonce() view returns(uint64)

func (*InterchainDBSession) GetEntryProof

func (_InterchainDB *InterchainDBSession) GetEntryProof(dbNonce uint64, entryIndex uint64) ([][32]byte, error)

GetEntryProof is a free data retrieval call binding the contract method 0xfec8dfb9.

Solidity: function getEntryProof(uint64 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)

func (*InterchainDBSession) GetEntryValue added in v0.0.4

func (_InterchainDB *InterchainDBSession) GetEntryValue(dbNonce uint64, entryIndex uint64) ([32]byte, error)

GetEntryValue is a free data retrieval call binding the contract method 0xd180db6f.

Solidity: function getEntryValue(uint64 dbNonce, uint64 entryIndex) view returns(bytes32)

func (*InterchainDBSession) GetInterchainFee

func (_InterchainDB *InterchainDBSession) GetInterchainFee(dstChainId uint64, srcModules []common.Address) (*big.Int, error)

GetInterchainFee is a free data retrieval call binding the contract method 0xb8ba4ba1.

Solidity: function getInterchainFee(uint64 dstChainId, address[] srcModules) view returns(uint256 fee)

func (*InterchainDBSession) GetNextEntryIndex

func (_InterchainDB *InterchainDBSession) GetNextEntryIndex() (struct {
	DbNonce    uint64
	EntryIndex uint64
}, error)

GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.

Solidity: function getNextEntryIndex() view returns(uint64 dbNonce, uint64 entryIndex)

func (*InterchainDBSession) RequestBatchVerification

func (_InterchainDB *InterchainDBSession) RequestBatchVerification(dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)

RequestBatchVerification is a paid mutator transaction binding the contract method 0x6c49312c.

Solidity: function requestBatchVerification(uint64 dstChainId, uint64 dbNonce, address[] srcModules) payable returns()

func (*InterchainDBSession) VerifyRemoteBatch

func (_InterchainDB *InterchainDBSession) VerifyRemoteBatch(versionedBatch []byte) (*types.Transaction, error)

VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.

Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()

func (*InterchainDBSession) WriteEntry

func (_InterchainDB *InterchainDBSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)

WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.

Solidity: function writeEntry(bytes32 dataHash) returns(uint64 dbNonce, uint64 entryIndex)

func (*InterchainDBSession) WriteEntryWithVerification

func (_InterchainDB *InterchainDBSession) WriteEntryWithVerification(dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)

WriteEntryWithVerification is a paid mutator transaction binding the contract method 0xeb20fbfd.

Solidity: function writeEntryWithVerification(uint64 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint64 dbNonce, uint64 entryIndex)

type InterchainDBTransactor

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

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

func NewInterchainDBTransactor

func NewInterchainDBTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainDBTransactor, error)

NewInterchainDBTransactor creates a new write-only instance of InterchainDB, bound to a specific deployed contract.

func (*InterchainDBTransactor) RequestBatchVerification

func (_InterchainDB *InterchainDBTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)

RequestBatchVerification is a paid mutator transaction binding the contract method 0x6c49312c.

Solidity: function requestBatchVerification(uint64 dstChainId, uint64 dbNonce, address[] srcModules) payable returns()

func (*InterchainDBTransactor) VerifyRemoteBatch

func (_InterchainDB *InterchainDBTransactor) VerifyRemoteBatch(opts *bind.TransactOpts, versionedBatch []byte) (*types.Transaction, error)

VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.

Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()

func (*InterchainDBTransactor) WriteEntry

func (_InterchainDB *InterchainDBTransactor) WriteEntry(opts *bind.TransactOpts, dataHash [32]byte) (*types.Transaction, error)

WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.

Solidity: function writeEntry(bytes32 dataHash) returns(uint64 dbNonce, uint64 entryIndex)

func (*InterchainDBTransactor) WriteEntryWithVerification

func (_InterchainDB *InterchainDBTransactor) WriteEntryWithVerification(opts *bind.TransactOpts, dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)

WriteEntryWithVerification is a paid mutator transaction binding the contract method 0xeb20fbfd.

Solidity: function writeEntryWithVerification(uint64 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint64 dbNonce, uint64 entryIndex)

type InterchainDBTransactorRaw

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

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

func (*InterchainDBTransactorRaw) Transact

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

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

func (*InterchainDBTransactorRaw) Transfer

func (_InterchainDB *InterchainDBTransactorRaw) 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 InterchainDBTransactorSession

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

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

func (*InterchainDBTransactorSession) RequestBatchVerification

func (_InterchainDB *InterchainDBTransactorSession) RequestBatchVerification(dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)

RequestBatchVerification is a paid mutator transaction binding the contract method 0x6c49312c.

Solidity: function requestBatchVerification(uint64 dstChainId, uint64 dbNonce, address[] srcModules) payable returns()

func (*InterchainDBTransactorSession) VerifyRemoteBatch

func (_InterchainDB *InterchainDBTransactorSession) VerifyRemoteBatch(versionedBatch []byte) (*types.Transaction, error)

VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.

Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()

func (*InterchainDBTransactorSession) WriteEntry

func (_InterchainDB *InterchainDBTransactorSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)

WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.

Solidity: function writeEntry(bytes32 dataHash) returns(uint64 dbNonce, uint64 entryIndex)

func (*InterchainDBTransactorSession) WriteEntryWithVerification

func (_InterchainDB *InterchainDBTransactorSession) WriteEntryWithVerification(dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)

WriteEntryWithVerification is a paid mutator transaction binding the contract method 0xeb20fbfd.

Solidity: function writeEntryWithVerification(uint64 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint64 dbNonce, uint64 entryIndex)

type InterchainEntry

type InterchainEntry struct {
	SrcChainId uint64
	DbNonce    uint64
	EntryIndex uint64
	SrcWriter  [32]byte
	DataHash   [32]byte
}

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

type InterchainEntryLib

type InterchainEntryLib struct {
	InterchainEntryLibCaller     // Read-only binding to the contract
	InterchainEntryLibTransactor // Write-only binding to the contract
	InterchainEntryLibFilterer   // Log filterer for contract events
}

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

func DeployInterchainEntryLib

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

DeployInterchainEntryLib deploys a new Ethereum contract, binding an instance of InterchainEntryLib to it.

func NewInterchainEntryLib

func NewInterchainEntryLib(address common.Address, backend bind.ContractBackend) (*InterchainEntryLib, error)

NewInterchainEntryLib creates a new instance of InterchainEntryLib, bound to a specific deployed contract.

type InterchainEntryLibCaller

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

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

func NewInterchainEntryLibCaller

func NewInterchainEntryLibCaller(address common.Address, caller bind.ContractCaller) (*InterchainEntryLibCaller, error)

NewInterchainEntryLibCaller creates a new read-only instance of InterchainEntryLib, bound to a specific deployed contract.

type InterchainEntryLibCallerRaw

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

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

func (*InterchainEntryLibCallerRaw) Call

func (_InterchainEntryLib *InterchainEntryLibCallerRaw) 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 InterchainEntryLibCallerSession

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

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

type InterchainEntryLibFilterer

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

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

func NewInterchainEntryLibFilterer

func NewInterchainEntryLibFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainEntryLibFilterer, error)

NewInterchainEntryLibFilterer creates a new log filterer instance of InterchainEntryLib, bound to a specific deployed contract.

type InterchainEntryLibRaw

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

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

func (*InterchainEntryLibRaw) Call

func (_InterchainEntryLib *InterchainEntryLibRaw) 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 (*InterchainEntryLibRaw) Transact

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

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

func (*InterchainEntryLibRaw) Transfer

func (_InterchainEntryLib *InterchainEntryLibRaw) 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 InterchainEntryLibSession

type InterchainEntryLibSession struct {
	Contract     *InterchainEntryLib // 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
}

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

type InterchainEntryLibTransactor

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

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

func NewInterchainEntryLibTransactor

func NewInterchainEntryLibTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainEntryLibTransactor, error)

NewInterchainEntryLibTransactor creates a new write-only instance of InterchainEntryLib, bound to a specific deployed contract.

type InterchainEntryLibTransactorRaw

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

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

func (*InterchainEntryLibTransactorRaw) Transact

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

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

func (*InterchainEntryLibTransactorRaw) Transfer

func (_InterchainEntryLib *InterchainEntryLibTransactorRaw) 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 InterchainEntryLibTransactorSession

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

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

type SafeCast added in v0.6.0

type SafeCast struct {
	SafeCastCaller     // Read-only binding to the contract
	SafeCastTransactor // Write-only binding to the contract
	SafeCastFilterer   // Log filterer for contract events
}

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

func DeploySafeCast added in v0.6.0

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

DeploySafeCast deploys a new Ethereum contract, binding an instance of SafeCast to it.

func NewSafeCast added in v0.6.0

func NewSafeCast(address common.Address, backend bind.ContractBackend) (*SafeCast, error)

NewSafeCast creates a new instance of SafeCast, bound to a specific deployed contract.

type SafeCastCaller added in v0.6.0

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

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

func NewSafeCastCaller added in v0.6.0

func NewSafeCastCaller(address common.Address, caller bind.ContractCaller) (*SafeCastCaller, error)

NewSafeCastCaller creates a new read-only instance of SafeCast, bound to a specific deployed contract.

type SafeCastCallerRaw added in v0.6.0

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

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

func (*SafeCastCallerRaw) Call added in v0.6.0

func (_SafeCast *SafeCastCallerRaw) 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 SafeCastCallerSession added in v0.6.0

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

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

type SafeCastFilterer added in v0.6.0

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

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

func NewSafeCastFilterer added in v0.6.0

func NewSafeCastFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeCastFilterer, error)

NewSafeCastFilterer creates a new log filterer instance of SafeCast, bound to a specific deployed contract.

type SafeCastRaw added in v0.6.0

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

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

func (*SafeCastRaw) Call added in v0.6.0

func (_SafeCast *SafeCastRaw) 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 (*SafeCastRaw) Transact added in v0.6.0

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

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

func (*SafeCastRaw) Transfer added in v0.6.0

func (_SafeCast *SafeCastRaw) 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 SafeCastSession added in v0.6.0

type SafeCastSession struct {
	Contract     *SafeCast         // 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
}

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

type SafeCastTransactor added in v0.6.0

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

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

func NewSafeCastTransactor added in v0.6.0

func NewSafeCastTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeCastTransactor, error)

NewSafeCastTransactor creates a new write-only instance of SafeCast, bound to a specific deployed contract.

type SafeCastTransactorRaw added in v0.6.0

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

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

func (*SafeCastTransactorRaw) Transact added in v0.6.0

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

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

func (*SafeCastTransactorRaw) Transfer added in v0.6.0

func (_SafeCast *SafeCastTransactorRaw) 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 SafeCastTransactorSession added in v0.6.0

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

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

type TypeCasts

type TypeCasts struct {
	TypeCastsCaller     // Read-only binding to the contract
	TypeCastsTransactor // Write-only binding to the contract
	TypeCastsFilterer   // Log filterer for contract events
}

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

func DeployTypeCasts

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

DeployTypeCasts deploys a new Ethereum contract, binding an instance of TypeCasts to it.

func NewTypeCasts

func NewTypeCasts(address common.Address, backend bind.ContractBackend) (*TypeCasts, error)

NewTypeCasts creates a new instance of TypeCasts, bound to a specific deployed contract.

type TypeCastsCaller

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

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

func NewTypeCastsCaller

func NewTypeCastsCaller(address common.Address, caller bind.ContractCaller) (*TypeCastsCaller, error)

NewTypeCastsCaller creates a new read-only instance of TypeCasts, bound to a specific deployed contract.

type TypeCastsCallerRaw

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

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

func (*TypeCastsCallerRaw) Call

func (_TypeCasts *TypeCastsCallerRaw) 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 TypeCastsCallerSession

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

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

type TypeCastsFilterer

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

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

func NewTypeCastsFilterer

func NewTypeCastsFilterer(address common.Address, filterer bind.ContractFilterer) (*TypeCastsFilterer, error)

NewTypeCastsFilterer creates a new log filterer instance of TypeCasts, bound to a specific deployed contract.

type TypeCastsRaw

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

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

func (*TypeCastsRaw) Call

func (_TypeCasts *TypeCastsRaw) 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 (*TypeCastsRaw) Transact

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

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

func (*TypeCastsRaw) Transfer

func (_TypeCasts *TypeCastsRaw) 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 TypeCastsSession

type TypeCastsSession struct {
	Contract     *TypeCasts        // 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
}

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

type TypeCastsTransactor

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

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

func NewTypeCastsTransactor

func NewTypeCastsTransactor(address common.Address, transactor bind.ContractTransactor) (*TypeCastsTransactor, error)

NewTypeCastsTransactor creates a new write-only instance of TypeCasts, bound to a specific deployed contract.

type TypeCastsTransactorRaw

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

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

func (*TypeCastsTransactorRaw) Transact

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

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

func (*TypeCastsTransactorRaw) Transfer

func (_TypeCasts *TypeCastsTransactorRaw) 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 TypeCastsTransactorSession

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

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

type VersionedPayloadLib added in v0.4.0

type VersionedPayloadLib struct {
	VersionedPayloadLibCaller     // Read-only binding to the contract
	VersionedPayloadLibTransactor // Write-only binding to the contract
	VersionedPayloadLibFilterer   // Log filterer for contract events
}

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

func DeployVersionedPayloadLib added in v0.4.0

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

DeployVersionedPayloadLib deploys a new Ethereum contract, binding an instance of VersionedPayloadLib to it.

func NewVersionedPayloadLib added in v0.4.0

func NewVersionedPayloadLib(address common.Address, backend bind.ContractBackend) (*VersionedPayloadLib, error)

NewVersionedPayloadLib creates a new instance of VersionedPayloadLib, bound to a specific deployed contract.

type VersionedPayloadLibCaller added in v0.4.0

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

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

func NewVersionedPayloadLibCaller added in v0.4.0

func NewVersionedPayloadLibCaller(address common.Address, caller bind.ContractCaller) (*VersionedPayloadLibCaller, error)

NewVersionedPayloadLibCaller creates a new read-only instance of VersionedPayloadLib, bound to a specific deployed contract.

type VersionedPayloadLibCallerRaw added in v0.4.0

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

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

func (*VersionedPayloadLibCallerRaw) Call added in v0.4.0

func (_VersionedPayloadLib *VersionedPayloadLibCallerRaw) 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 VersionedPayloadLibCallerSession added in v0.4.0

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

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

type VersionedPayloadLibFilterer added in v0.4.0

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

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

func NewVersionedPayloadLibFilterer added in v0.4.0

func NewVersionedPayloadLibFilterer(address common.Address, filterer bind.ContractFilterer) (*VersionedPayloadLibFilterer, error)

NewVersionedPayloadLibFilterer creates a new log filterer instance of VersionedPayloadLib, bound to a specific deployed contract.

type VersionedPayloadLibRaw added in v0.4.0

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

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

func (*VersionedPayloadLibRaw) Call added in v0.4.0

func (_VersionedPayloadLib *VersionedPayloadLibRaw) 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 (*VersionedPayloadLibRaw) Transact added in v0.4.0

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

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

func (*VersionedPayloadLibRaw) Transfer added in v0.4.0

func (_VersionedPayloadLib *VersionedPayloadLibRaw) 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 VersionedPayloadLibSession added in v0.4.0

type VersionedPayloadLibSession struct {
	Contract     *VersionedPayloadLib // 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
}

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

type VersionedPayloadLibTransactor added in v0.4.0

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

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

func NewVersionedPayloadLibTransactor added in v0.4.0

func NewVersionedPayloadLibTransactor(address common.Address, transactor bind.ContractTransactor) (*VersionedPayloadLibTransactor, error)

NewVersionedPayloadLibTransactor creates a new write-only instance of VersionedPayloadLib, bound to a specific deployed contract.

type VersionedPayloadLibTransactorRaw added in v0.4.0

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

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

func (*VersionedPayloadLibTransactorRaw) Transact added in v0.4.0

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

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

func (*VersionedPayloadLibTransactorRaw) Transfer added in v0.4.0

func (_VersionedPayloadLib *VersionedPayloadLibTransactorRaw) 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 VersionedPayloadLibTransactorSession added in v0.4.0

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

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

Jump to

Keyboard shortcuts

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