interchaindb

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__BatchDoesNotExist\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__BatchNotFinalized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"existingBatchRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"newBatch\",\"type\":\"tuple\"}],\"name\":\"InterchainDB__ConflictingBatches\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"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\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatch\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatchLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatchSize\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDBNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryProof\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryValue\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"getInterchainFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNextEntryIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"writeEntryWithVerification\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"15f53956": "DB_VERSION()",
		"67b1f42e": "checkVerification(address,(uint256,uint256,uint64,bytes32,bytes32),bytes32[])",
		"5ac44282": "getBatch(uint256)",
		"d63020bb": "getBatchLeafs(uint256)",
		"25a1641d": "getBatchLeafsPaginated(uint256,uint64,uint64)",
		"b955e9b9": "getBatchSize(uint256)",
		"f338140e": "getDBNonce()",
		"4f84d040": "getEntryProof(uint256,uint64)",
		"afa25005": "getEntryValue(uint256,uint64)",
		"fc7686ec": "getInterchainFee(uint256,address[])",
		"aa2f06ae": "getNextEntryIndex()",
		"84b1c8b8": "requestBatchVerification(uint256,uint256,address[])",
		"d961a48e": "verifyRemoteBatch(bytes)",
		"2ad8c706": "writeEntry(bytes32)",
		"67c769af": "writeEntryWithVerification(uint256,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\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"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\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"InterchainModule__SameChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getModuleFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"type\":\"bytes\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"4a114f72": "getModuleFee(uint256,uint256)",
		"4bd7e4dd": "requestBatchVerification(uint256,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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220af50f2c0661bdcd6d59d60ee94632aab91022cb6f846bb59efe98c1b2666d26d64736f6c63430008140033",
}

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\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"InterchainBatchVerificationRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchVerified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"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\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__BatchDoesNotExist\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__BatchNotFinalized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"existingBatchRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"newBatch\",\"type\":\"tuple\"}],\"name\":\"InterchainDB__ConflictingBatches\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__SameChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"versionedPayload\",\"type\":\"bytes\"}],\"name\":\"VersionedPayload__TooShort\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"InterchainBatchVerificationRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchVerified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"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\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatch\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatchLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatchSize\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDBNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryProof\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryValue\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"getInterchainFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNextEntryIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"writeEntryWithVerification\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"15f53956": "DB_VERSION()",
		"67b1f42e": "checkVerification(address,(uint256,uint256,uint64,bytes32,bytes32),bytes32[])",
		"5ac44282": "getBatch(uint256)",
		"d63020bb": "getBatchLeafs(uint256)",
		"25a1641d": "getBatchLeafsPaginated(uint256,uint64,uint64)",
		"b955e9b9": "getBatchSize(uint256)",
		"f338140e": "getDBNonce()",
		"4f84d040": "getEntryProof(uint256,uint64)",
		"afa25005": "getEntryValue(uint256,uint64)",
		"fc7686ec": "getInterchainFee(uint256,address[])",
		"aa2f06ae": "getNextEntryIndex()",
		"84b1c8b8": "requestBatchVerification(uint256,uint256,address[])",
		"d961a48e": "verifyRemoteBatch(bytes)",
		"2ad8c706": "writeEntry(bytes32)",
		"67c769af": "writeEntryWithVerification(uint256,bytes32,address[])",
	},
	Bin: "0x608060405234801561001057600080fd5b5061175c806100206000396000f3fe6080604052600436106100e85760003560e01c806384b1c8b81161008a578063d63020bb11610059578063d63020bb14610296578063d961a48e146102b6578063f338140e146102d6578063fc7686ec146102eb57600080fd5b806384b1c8b814610213578063aa2f06ae14610228578063afa250051461023d578063b955e9b91461025d57600080fd5b80634f84d040116100c65780634f84d040146101855780635ac44282146101a557806367b1f42e146101d257806367c769af1461020057600080fd5b806315f53956146100ed57806325a1641d1461011a5780632ad8c70614610147575b600080fd5b3480156100f957600080fd5b50610102600181565b60405161ffff90911681526020015b60405180910390f35b34801561012657600080fd5b5061013a610135366004611030565b61030b565b604051610111919061106c565b34801561015357600080fd5b506101676101623660046110b0565b610398565b6040805192835267ffffffffffffffff909116602083015201610111565b34801561019157600080fd5b5061013a6101a03660046110c9565b6103bc565b3480156101b157600080fd5b506101c56101c03660046110b0565b6103e9565b60405161011191906110f5565b3480156101de57600080fd5b506101f26101ed3660046111fe565b610452565b604051908152602001610111565b61016761020e3660046112c3565b61054c565b6102266102213660046112c3565b6105d0565b005b34801561023457600080fd5b5061016761062d565b34801561024957600080fd5b506101f26102583660046110c9565b610642565b34801561026957600080fd5b5061027d6102783660046110b0565b610674565b60405167ffffffffffffffff9091168152602001610111565b3480156102a257600080fd5b5061013a6102b13660046110b0565b61069d565b3480156102c257600080fd5b506102266102d13660046112fe565b6106f8565b3480156102e257600080fd5b506000546101f2565b3480156102f757600080fd5b506101f2610306366004611370565b6108bc565b606067ffffffffffffffff831615158061033057508167ffffffffffffffff16600114155b15610387576040517fedcdbfea0000000000000000000000000000000000000000000000000000000081526004810185905267ffffffffffffffff8085166024830152831660448201526064015b60405180910390fd5b6103908461069d565b949350505050565b60008060006103a6846108db565b6020810151604090910151909590945092505050565b60606103c783610993565b506103d283836109d7565b506040805160008152602081019091525b92915050565b604080516060810182526000808252602082018190529181019190915261040f82610993565b506103e38261041f846000610642565b60408051606080820183526000808352602080840182905292840152825190810183524681529081019390935282015290565b8251600090468103610492576040517ffc2dee9a00000000000000000000000000000000000000000000000000000000815246600482015260240161037e565b82156104a15760009150610543565b604085015167ffffffffffffffff16156104be5760009150610543565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600160205260408120816104ed88610a51565b8152602001908152602001600020604051806040016040529081600082015481526020016001820154815250509050600061052787610a94565b90508082602001511461053b57600061053e565b81515b935050505b50949350505050565b6000808546810361058b576040517ffc2dee9a00000000000000000000000000000000000000000000000000000000815246600482015260240161037e565b6000610596876108db565b602081015160408201519095509350905060006105b68561041f84610a94565b90506105c489828989610ab7565b50505094509492505050565b8346810361060c576040517ffc2dee9a00000000000000000000000000000000000000000000000000000000815246600482015260240161037e565b6000610617856103e9565b905061062586828686610ab7565b505050505050565b60008061063960005490565b92600092509050565b600061064e83836109d7565b60008381548110610661576106616113bc565b9060005260206000200154905092915050565b60008061068083610c81565b9050808310610690576000610693565b60015b60ff169392505050565b60606106a882610993565b5060408051600180825281830190925290602080830190803683370190505090506106d4826000610642565b816000815181106106e7576106e76113bc565b602002602001018181525050919050565b60006107048383610cc1565b905061ffff811660011461074a576040517f0526520e00000000000000000000000000000000000000000000000000000000815261ffff8216600482015260240161037e565b600061075e6107598585610d0b565b610d66565b9050468160000151036107a35780516040517ffc2dee9a000000000000000000000000000000000000000000000000000000008152600481019190915260240161037e565b60006107ae82610a51565b336000908152600160208181526040808420858552825280842081518083019092528054808352930154918101919091529293509003610872576040805180820182524281528482018051602080840191825233600081815260018084528782208a8352845290879020955186559251949092019390935586518388015192518551928352938201529283015260608201527fbdb1c58ad0991a7df73dd7d1e0c63ba29dd69af7d09838990eef8127de1a548c9060800160405180910390a1610625565b82604001518160200151146106255760208101516040517f4f70133a00000000000000000000000000000000000000000000000000000000815261037e91339186906004016113eb565b60006108d2846108cb60005490565b8585610d96565b95945050505050565b6040805160a081018252600080825260208201819052918101829052606081018290526080810182905290546109149060003385610f43565b9050600061092182610a94565b81546001810183556000928352602092839020015581015160608201516040517f8adbf0953083a65c138963c649cd1eabd31fa900ecd1cd5d6b5b530fbfa4177192610986924692879093845260208401929092526040830152606082015260800190565b60405180910390a1919050565b6000548082106109d2576040517ffa1681ec0000000000000000000000000000000000000000000000000000000081526004810183905260240161037e565b919050565b60006109e283610674565b90508067ffffffffffffffff168267ffffffffffffffff1610610a4c576040517f759b436e0000000000000000000000000000000000000000000000000000000081526004810184905267ffffffffffffffff80841660248301528216604482015260640161037e565b505050565b600081600001518260200151604051602001610a77929190918252602082015260400190565b604051602081830303815290604052805190602001209050919050565b606080820151608083015160408051602081019390935282015260009101610a77565b600080610aca8686602001518686610d96565b9150915080341015610b11576040517ffb7d66100000000000000000000000000000000000000000000000000000000081523460048201526024810182905260440161037e565b80341115610b4e57610b23813461145f565b82600081518110610b3657610b366113bc565b60200260200101818151610b4a9190611472565b9052505b826000610b646001610b5f89610fc3565b610fec565b905060005b82811015610c2f57868682818110610b8357610b836113bc565b9050602002016020810190610b989190611485565b73ffffffffffffffffffffffffffffffffffffffff16634bd7e4dd868381518110610bc557610bc56113bc565b60200260200101518b856040518463ffffffff1660e01b8152600401610bec9291906114c4565b6000604051808303818588803b158015610c0557600080fd5b505af1158015610c19573d6000803e3d6000fd5b505050505080610c289061151c565b9050610b69565b507f9f201dd0d5465cd198596655528d58e40b6ee2715d5e8bdab49f7e1b1dde771788886020015189604001518989604051610c6f959493929190611554565b60405180910390a15050505050505050565b600054808211156109d2576040517f77a0269c0000000000000000000000000000000000000000000000000000000081526004810183905260240161037e565b60006002821015610d025782826040517f659cf9fa00000000000000000000000000000000000000000000000000000000815260040161037e9291906115c8565b50503560f01c90565b3660006002831015610d4d5783836040517f659cf9fa00000000000000000000000000000000000000000000000000000000815260040161037e9291906115c8565b610d5a8360028187611615565b915091505b9250929050565b6040805160608101825260008082526020820181905291810191909152610d8f8284018461163f565b9392505050565b6060600082808203610dd4576040517f98ca492a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8067ffffffffffffffff811115610ded57610ded61113a565b604051908082528060200260200182016040528015610e16578160200160208202803683370190505b50925060005b81811015610f3857858582818110610e3657610e366113bc565b9050602002016020810190610e4b9190611485565b6040517f4a114f72000000000000000000000000000000000000000000000000000000008152600481018a90526024810189905273ffffffffffffffffffffffffffffffffffffffff9190911690634a114f7290604401602060405180830381865afa158015610ebf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee391906116c2565b848281518110610ef557610ef56113bc565b602002602001018181525050838181518110610f1357610f136113bc565b602002602001015183610f269190611472565b9250610f318161151c565b9050610e1c565b505094509492505050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526040518060a001604052804681526020018681526020018567ffffffffffffffff168152602001610fb28573ffffffffffffffffffffffffffffffffffffffff1690565b815260200192909252509392505050565b606081604051602001610fd691906110f5565b6040516020818303038152906040529050919050565b606082826040516020016110019291906116db565b604051602081830303815290604052905092915050565b803567ffffffffffffffff811681146109d257600080fd5b60008060006060848603121561104557600080fd5b8335925061105560208501611018565b915061106360408501611018565b90509250925092565b6020808252825182820181905260009190848201906040850190845b818110156110a457835183529284019291840191600101611088565b50909695505050505050565b6000602082840312156110c257600080fd5b5035919050565b600080604083850312156110dc57600080fd5b823591506110ec60208401611018565b90509250929050565b815181526020808301519082015260408083015190820152606081016103e3565b803573ffffffffffffffffffffffffffffffffffffffff811681146109d257600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160a0810167ffffffffffffffff811182821017156111b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405290565b60008083601f8401126111cb57600080fd5b50813567ffffffffffffffff8111156111e357600080fd5b6020830191508360208260051b8501011115610d5f57600080fd5b60008060008084860360e081121561121557600080fd5b61121e86611116565b945060a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08201121561125057600080fd5b50611259611169565b602086013581526040860135602082015261127660608701611018565b6040820152608086810135606083015260a087013590820152925060c085013567ffffffffffffffff8111156112ab57600080fd5b6112b7878288016111b9565b95989497509550505050565b600080600080606085870312156112d957600080fd5b8435935060208501359250604085013567ffffffffffffffff8111156112ab57600080fd5b6000806020838503121561131157600080fd5b823567ffffffffffffffff8082111561132957600080fd5b818501915085601f83011261133d57600080fd5b81358181111561134c57600080fd5b86602082850101111561135e57600080fd5b60209290920196919550909350505050565b60008060006040848603121561138557600080fd5b83359250602084013567ffffffffffffffff8111156113a357600080fd5b6113af868287016111b9565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff841681526020810183905260a0810161039060408301848051825260208082015190830152604090810151910152565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b818103818111156103e3576103e3611430565b808201808211156103e3576103e3611430565b60006020828403121561149757600080fd5b610d8f82611116565b60005b838110156114bb5781810151838201526020016114a3565b50506000910152565b82815260406020820152600082518060408401526114e98160608501602087016114a0565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016060019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361154d5761154d611430565b5060010190565b60006080820187835260208781850152866040850152608060608501528185835260a08501905086925060005b868110156115ba5773ffffffffffffffffffffffffffffffffffffffff6115a785611116565b1682529282019290820190600101611581565b509998505050505050505050565b60208152816020820152818360408301376000818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b6000808585111561162557600080fd5b8386111561163257600080fd5b5050820193919092039150565b60006060828403121561165157600080fd5b6040516060810181811067ffffffffffffffff8211171561169b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b80604052508235815260208301356020820152604083013560408201528091505092915050565b6000602082840312156116d457600080fd5b5051919050565b7fffff0000000000000000000000000000000000000000000000000000000000008360f01b168152600082516117188160028501602087016114a0565b91909101600201939250505056fea2646970667358221220554480d387ab7fdce88939a7b60908990f6a5c6230412f0edc3f3ded6c1f403264736f6c63430008140033",
}

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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c5c6ee0a014b125b416a3cc318326615ebc8b7680afc484f616259d81bf64f3364736f6c63430008140033",
}

InterchainEntryLibMetaData contains all meta data concerning the InterchainEntryLib 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207d26209ef83d193c97545339502f7624c8706bbfd9449b24ed2afaf83b4c319864736f6c63430008140033",
}

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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220484454ce80d571e6e45c38907a45cbd50b51f427cfd88ee54c17b16a06d9a6e964736f6c63430008140033",
}

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 0x67b1f42e.

Solidity: function checkVerification(address dstModule, (uint256,uint256,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 *big.Int) (InterchainBatch, error)

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

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

func (*IInterchainDBCaller) GetBatchLeafs

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

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

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

func (*IInterchainDBCaller) GetBatchLeafsPaginated

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

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

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

func (*IInterchainDBCaller) GetBatchSize

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

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

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

func (*IInterchainDBCaller) GetDBNonce

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

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

Solidity: function getDBNonce() view returns(uint256)

func (*IInterchainDBCaller) GetEntryProof

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

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

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

func (*IInterchainDBCaller) GetEntryValue added in v0.0.4

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

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

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

func (*IInterchainDBCaller) GetInterchainFee

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

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

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

func (*IInterchainDBCaller) GetNextEntryIndex

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

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

Solidity: function getNextEntryIndex() view returns(uint256 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 0x67b1f42e.

Solidity: function checkVerification(address dstModule, (uint256,uint256,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 *big.Int) (InterchainBatch, error)

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

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

func (*IInterchainDBCallerSession) GetBatchLeafs

func (_IInterchainDB *IInterchainDBCallerSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)

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

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

func (*IInterchainDBCallerSession) GetBatchLeafsPaginated

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

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

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

func (*IInterchainDBCallerSession) GetBatchSize

func (_IInterchainDB *IInterchainDBCallerSession) GetBatchSize(dbNonce *big.Int) (uint64, error)

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

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

func (*IInterchainDBCallerSession) GetDBNonce

func (_IInterchainDB *IInterchainDBCallerSession) GetDBNonce() (*big.Int, error)

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

Solidity: function getDBNonce() view returns(uint256)

func (*IInterchainDBCallerSession) GetEntryProof

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

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

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

func (*IInterchainDBCallerSession) GetEntryValue added in v0.0.4

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

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

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

func (*IInterchainDBCallerSession) GetInterchainFee

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

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

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

func (*IInterchainDBCallerSession) GetNextEntryIndex

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

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

Solidity: function getNextEntryIndex() view returns(uint256 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 0x67b1f42e.

Solidity: function checkVerification(address dstModule, (uint256,uint256,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 *big.Int) (InterchainBatch, error)

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

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

func (*IInterchainDBSession) GetBatchLeafs

func (_IInterchainDB *IInterchainDBSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)

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

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

func (*IInterchainDBSession) GetBatchLeafsPaginated

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

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

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

func (*IInterchainDBSession) GetBatchSize

func (_IInterchainDB *IInterchainDBSession) GetBatchSize(dbNonce *big.Int) (uint64, error)

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

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

func (*IInterchainDBSession) GetDBNonce

func (_IInterchainDB *IInterchainDBSession) GetDBNonce() (*big.Int, error)

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

Solidity: function getDBNonce() view returns(uint256)

func (*IInterchainDBSession) GetEntryProof

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

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

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

func (*IInterchainDBSession) GetEntryValue added in v0.0.4

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

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

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

func (*IInterchainDBSession) GetInterchainFee

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

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

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

func (*IInterchainDBSession) GetNextEntryIndex

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

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

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

func (*IInterchainDBSession) RequestBatchVerification

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

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

Solidity: function requestBatchVerification(uint256 dstChainId, uint256 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(uint256 dbNonce, uint64 entryIndex)

func (*IInterchainDBSession) WriteEntryWithVerification

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

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

Solidity: function writeEntryWithVerification(uint256 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint256 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 *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)

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

Solidity: function requestBatchVerification(uint256 dstChainId, uint256 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(uint256 dbNonce, uint64 entryIndex)

func (*IInterchainDBTransactor) WriteEntryWithVerification

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

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

Solidity: function writeEntryWithVerification(uint256 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint256 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 *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)

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

Solidity: function requestBatchVerification(uint256 dstChainId, uint256 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(uint256 dbNonce, uint64 entryIndex)

func (*IInterchainDBTransactorSession) WriteEntryWithVerification

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

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

Solidity: function writeEntryWithVerification(uint256 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint256 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 *big.Int, dbNonce *big.Int) (*big.Int, error)

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

Solidity: function getModuleFee(uint256 dstChainId, uint256 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 *big.Int, dbNonce *big.Int) (*big.Int, error)

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

Solidity: function getModuleFee(uint256 dstChainId, uint256 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 *big.Int, dbNonce *big.Int) (*big.Int, error)

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

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

func (*IInterchainModuleSession) RequestBatchVerification

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

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

Solidity: function requestBatchVerification(uint256 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 *big.Int, versionedBatch []byte) (*types.Transaction, error)

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

Solidity: function requestBatchVerification(uint256 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 *big.Int, versionedBatch []byte) (*types.Transaction, error)

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

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

type InterchainBatch

type InterchainBatch struct {
	SrcChainId *big.Int
	DbNonce    *big.Int
	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 0x67b1f42e.

Solidity: function checkVerification(address dstModule, (uint256,uint256,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 *big.Int) (InterchainBatch, error)

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

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

func (*InterchainDBCaller) GetBatchLeafs

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

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

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

func (*InterchainDBCaller) GetBatchLeafsPaginated

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

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

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

func (*InterchainDBCaller) GetBatchSize

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

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

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

func (*InterchainDBCaller) GetDBNonce

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

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

Solidity: function getDBNonce() view returns(uint256)

func (*InterchainDBCaller) GetEntryProof

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

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

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

func (*InterchainDBCaller) GetEntryValue added in v0.0.4

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

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

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

func (*InterchainDBCaller) GetInterchainFee

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

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

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

func (*InterchainDBCaller) GetNextEntryIndex

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

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

Solidity: function getNextEntryIndex() view returns(uint256 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 0x67b1f42e.

Solidity: function checkVerification(address dstModule, (uint256,uint256,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 *big.Int) (InterchainBatch, error)

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

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

func (*InterchainDBCallerSession) GetBatchLeafs

func (_InterchainDB *InterchainDBCallerSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)

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

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

func (*InterchainDBCallerSession) GetBatchLeafsPaginated

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

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

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

func (*InterchainDBCallerSession) GetBatchSize

func (_InterchainDB *InterchainDBCallerSession) GetBatchSize(dbNonce *big.Int) (uint64, error)

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

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

func (*InterchainDBCallerSession) GetDBNonce

func (_InterchainDB *InterchainDBCallerSession) GetDBNonce() (*big.Int, error)

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

Solidity: function getDBNonce() view returns(uint256)

func (*InterchainDBCallerSession) GetEntryProof

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

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

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

func (*InterchainDBCallerSession) GetEntryValue added in v0.0.4

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

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

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

func (*InterchainDBCallerSession) GetInterchainFee

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

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

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

func (*InterchainDBCallerSession) GetNextEntryIndex

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

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

Solidity: function getNextEntryIndex() view returns(uint256 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) FilterInterchainBatchVerificationRequested

func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts) (*InterchainDBEventsInterchainBatchVerificationRequestedIterator, error)

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

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

func (*InterchainDBEventsFilterer) FilterInterchainBatchVerified

func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts) (*InterchainDBEventsInterchainBatchVerifiedIterator, error)

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

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

func (*InterchainDBEventsFilterer) FilterInterchainEntryWritten

func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts) (*InterchainDBEventsInterchainEntryWrittenIterator, error)

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

Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)

func (*InterchainDBEventsFilterer) ParseInterchainBatchVerificationRequested

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

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

Solidity: event InterchainBatchVerificationRequested(uint256 dstChainId, uint256 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 0xbdb1c58ad0991a7df73dd7d1e0c63ba29dd69af7d09838990eef8127de1a548c.

Solidity: event InterchainBatchVerified(address module, uint256 srcChainId, uint256 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 0x8adbf0953083a65c138963c649cd1eabd31fa900ecd1cd5d6b5b530fbfa41771.

Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)

func (*InterchainDBEventsFilterer) WatchInterchainBatchVerificationRequested

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

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

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

func (*InterchainDBEventsFilterer) WatchInterchainBatchVerified

func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchVerified(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainBatchVerified) (event.Subscription, error)

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

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

func (*InterchainDBEventsFilterer) WatchInterchainEntryWritten

func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainEntryWritten(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainEntryWritten) (event.Subscription, error)

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

Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)

type InterchainDBEventsInterchainBatchVerificationRequested

type InterchainDBEventsInterchainBatchVerificationRequested struct {
	DstChainId *big.Int
	DbNonce    *big.Int
	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 *big.Int
	DbNonce    *big.Int
	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 {
	SrcChainId *big.Int
	DbNonce    *big.Int
	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) FilterInterchainBatchVerificationRequested

func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts) (*InterchainDBInterchainBatchVerificationRequestedIterator, error)

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

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

func (*InterchainDBFilterer) FilterInterchainBatchVerified

func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts) (*InterchainDBInterchainBatchVerifiedIterator, error)

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

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

func (*InterchainDBFilterer) FilterInterchainEntryWritten

func (_InterchainDB *InterchainDBFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts) (*InterchainDBInterchainEntryWrittenIterator, error)

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

Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)

func (*InterchainDBFilterer) ParseInterchainBatchVerificationRequested

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

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

Solidity: event InterchainBatchVerificationRequested(uint256 dstChainId, uint256 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 0xbdb1c58ad0991a7df73dd7d1e0c63ba29dd69af7d09838990eef8127de1a548c.

Solidity: event InterchainBatchVerified(address module, uint256 srcChainId, uint256 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 0x8adbf0953083a65c138963c649cd1eabd31fa900ecd1cd5d6b5b530fbfa41771.

Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)

func (*InterchainDBFilterer) WatchInterchainBatchVerificationRequested

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

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

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

func (*InterchainDBFilterer) WatchInterchainBatchVerified

func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchVerified(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainBatchVerified) (event.Subscription, error)

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

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

func (*InterchainDBFilterer) WatchInterchainEntryWritten

func (_InterchainDB *InterchainDBFilterer) WatchInterchainEntryWritten(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainEntryWritten) (event.Subscription, error)

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

Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)

type InterchainDBInterchainBatchVerificationRequested

type InterchainDBInterchainBatchVerificationRequested struct {
	DstChainId *big.Int
	DbNonce    *big.Int
	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 *big.Int
	DbNonce    *big.Int
	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 {
	SrcChainId *big.Int
	DbNonce    *big.Int
	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 0x67b1f42e.

Solidity: function checkVerification(address dstModule, (uint256,uint256,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 *big.Int) (InterchainBatch, error)

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

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

func (*InterchainDBSession) GetBatchLeafs

func (_InterchainDB *InterchainDBSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)

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

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

func (*InterchainDBSession) GetBatchLeafsPaginated

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

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

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

func (*InterchainDBSession) GetBatchSize

func (_InterchainDB *InterchainDBSession) GetBatchSize(dbNonce *big.Int) (uint64, error)

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

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

func (*InterchainDBSession) GetDBNonce

func (_InterchainDB *InterchainDBSession) GetDBNonce() (*big.Int, error)

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

Solidity: function getDBNonce() view returns(uint256)

func (*InterchainDBSession) GetEntryProof

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

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

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

func (*InterchainDBSession) GetEntryValue added in v0.0.4

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

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

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

func (*InterchainDBSession) GetInterchainFee

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

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

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

func (*InterchainDBSession) GetNextEntryIndex

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

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

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

func (*InterchainDBSession) RequestBatchVerification

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

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

Solidity: function requestBatchVerification(uint256 dstChainId, uint256 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(uint256 dbNonce, uint64 entryIndex)

func (*InterchainDBSession) WriteEntryWithVerification

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

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

Solidity: function writeEntryWithVerification(uint256 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint256 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 *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)

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

Solidity: function requestBatchVerification(uint256 dstChainId, uint256 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(uint256 dbNonce, uint64 entryIndex)

func (*InterchainDBTransactor) WriteEntryWithVerification

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

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

Solidity: function writeEntryWithVerification(uint256 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint256 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 *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)

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

Solidity: function requestBatchVerification(uint256 dstChainId, uint256 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(uint256 dbNonce, uint64 entryIndex)

func (*InterchainDBTransactorSession) WriteEntryWithVerification

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

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

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

type InterchainEntry

type InterchainEntry struct {
	SrcChainId *big.Int
	DbNonce    *big.Int
	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 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