interchainmodulemock

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package interchainmodulemock provides a mock for the InterchainModule 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\":\"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\":\"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\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"batch\",\"type\":\"tuple\"}],\"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{
		"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[])",
		"05d0728c": "verifyRemoteBatch((uint256,uint256,bytes32))",
		"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\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"batch\",\"type\":\"tuple\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"4a114f72": "getModuleFee(uint256,uint256)",
		"3fdcec74": "requestBatchVerification(uint256,(uint256,uint256,bytes32))",
	},
}

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

InterchainBatchLibMetaData contains all meta data concerning the InterchainBatchLib 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ca2a7f0e27b4b2453071b909a27f3d51df46a561d93c282bf5cf6e412f34654764736f6c63430008140033",
}

InterchainEntryLibMetaData contains all meta data concerning the InterchainEntryLib contract.

View Source
var InterchainModuleMockABI = InterchainModuleMockMetaData.ABI

InterchainModuleMockABI is the input ABI used to generate the binding from. Deprecated: Use InterchainModuleMockMetaData.ABI instead.

View Source
var InterchainModuleMockBin = InterchainModuleMockMetaData.Bin

InterchainModuleMockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InterchainModuleMockMetaData.Bin instead.

View Source
var InterchainModuleMockFuncSigs = InterchainModuleMockMetaData.Sigs

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

View Source
var InterchainModuleMockMetaData = &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\":\"address\",\"name\":\"interchainDB\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"batch\",\"type\":\"tuple\"}],\"name\":\"mockVerifyRemoteBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"batch\",\"type\":\"tuple\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"4a114f72": "getModuleFee(uint256,uint256)",
		"52b09fd4": "mockVerifyRemoteBatch(address,(uint256,uint256,bytes32))",
		"3fdcec74": "requestBatchVerification(uint256,(uint256,uint256,bytes32))",
	},
	Bin: "0x608060405234801561001057600080fd5b50610283806100206000396000f3fe6080604052600436106100345760003560e01c80633fdcec74146100395780634a114f721461004d57806352b09fd414610082575b600080fd5b61004b6100473660046101b8565b5050565b005b34801561005957600080fd5b506100706100683660046101e5565b600092915050565b60405190815260200160405180910390f35b34801561008e57600080fd5b5061004b61009d366004610207565b604080517f05d0728c000000000000000000000000000000000000000000000000000000008152825160048201526020830151602482015290820151604482015273ffffffffffffffffffffffffffffffffffffffff8316906305d0728c90606401600060405180830381600087803b15801561011957600080fd5b505af115801561012d573d6000803e3d6000fd5b505050505050565b60006060828403121561014757600080fd5b6040516060810181811067ffffffffffffffff82111715610191577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b80604052508091508235815260208301356020820152604083013560408201525092915050565b600080608083850312156101cb57600080fd5b823591506101dc8460208501610135565b90509250929050565b600080604083850312156101f857600080fd5b50508035926020909101359150565b6000806080838503121561021a57600080fd5b823573ffffffffffffffffffffffffffffffffffffffff8116811461023e57600080fd5b91506101dc846020850161013556fea2646970667358221220e9c9a1c4101e81686e1cf58894dcf46c986f67d10324ad37914cf921059a51e764736f6c63430008140033",
}

InterchainModuleMockMetaData contains all meta data concerning the InterchainModuleMock 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212205a21767185ac49f98f7e2cb0df498634b463bafc45d14f8717816c6a747a629264736f6c63430008140033",
}

TypeCastsMetaData contains all meta data concerning the TypeCasts 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) 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) 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) 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(batch InterchainBatch) (*types.Transaction, error)

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

Solidity: function verifyRemoteBatch((uint256,uint256,bytes32) batch) 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, batch InterchainBatch) (*types.Transaction, error)

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

Solidity: function verifyRemoteBatch((uint256,uint256,bytes32) batch) 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(batch InterchainBatch) (*types.Transaction, error)

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

Solidity: function verifyRemoteBatch((uint256,uint256,bytes32) batch) 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, batch InterchainBatch) (*types.Transaction, error)

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

Solidity: function requestBatchVerification(uint256 dstChainId, (uint256,uint256,bytes32) batch) 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, batch InterchainBatch) (*types.Transaction, error)

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

Solidity: function requestBatchVerification(uint256 dstChainId, (uint256,uint256,bytes32) batch) 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, batch InterchainBatch) (*types.Transaction, error)

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

Solidity: function requestBatchVerification(uint256 dstChainId, (uint256,uint256,bytes32) batch) 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 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 InterchainModuleMock

type InterchainModuleMock struct {
	InterchainModuleMockCaller     // Read-only binding to the contract
	InterchainModuleMockTransactor // Write-only binding to the contract
	InterchainModuleMockFilterer   // Log filterer for contract events
}

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

func DeployInterchainModuleMock

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

DeployInterchainModuleMock deploys a new Ethereum contract, binding an instance of InterchainModuleMock to it.

func NewInterchainModuleMock

func NewInterchainModuleMock(address common.Address, backend bind.ContractBackend) (*InterchainModuleMock, error)

NewInterchainModuleMock creates a new instance of InterchainModuleMock, bound to a specific deployed contract.

type InterchainModuleMockCaller

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

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

func NewInterchainModuleMockCaller

func NewInterchainModuleMockCaller(address common.Address, caller bind.ContractCaller) (*InterchainModuleMockCaller, error)

NewInterchainModuleMockCaller creates a new read-only instance of InterchainModuleMock, bound to a specific deployed contract.

func (*InterchainModuleMockCaller) GetModuleFee

func (_InterchainModuleMock *InterchainModuleMockCaller) 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 InterchainModuleMockCallerRaw

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

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

func (*InterchainModuleMockCallerRaw) Call

func (_InterchainModuleMock *InterchainModuleMockCallerRaw) 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 InterchainModuleMockCallerSession

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

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

func (*InterchainModuleMockCallerSession) GetModuleFee

func (_InterchainModuleMock *InterchainModuleMockCallerSession) 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 InterchainModuleMockFilterer

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

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

func NewInterchainModuleMockFilterer

func NewInterchainModuleMockFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainModuleMockFilterer, error)

NewInterchainModuleMockFilterer creates a new log filterer instance of InterchainModuleMock, bound to a specific deployed contract.

type InterchainModuleMockRaw

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

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

func (*InterchainModuleMockRaw) Call

func (_InterchainModuleMock *InterchainModuleMockRaw) 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 (*InterchainModuleMockRaw) Transact

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

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

func (*InterchainModuleMockRaw) Transfer

func (_InterchainModuleMock *InterchainModuleMockRaw) 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 InterchainModuleMockRef

type InterchainModuleMockRef struct {
	*InterchainModuleMock
	// contains filtered or unexported fields
}

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

func NewInterchainModuleMockRef

func NewInterchainModuleMockRef(address common.Address, backend bind.ContractBackend) (*InterchainModuleMockRef, error)

NewInterchainModuleMockRef creates a new interchain client with a contract ref.

func (*InterchainModuleMockRef) Address

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

Address is the contract address.

type InterchainModuleMockSession

type InterchainModuleMockSession struct {
	Contract     *InterchainModuleMock // 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
}

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

func (*InterchainModuleMockSession) GetModuleFee

func (_InterchainModuleMock *InterchainModuleMockSession) 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 (*InterchainModuleMockSession) MockVerifyRemoteBatch

func (_InterchainModuleMock *InterchainModuleMockSession) MockVerifyRemoteBatch(interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)

MockVerifyRemoteBatch is a paid mutator transaction binding the contract method 0x52b09fd4.

Solidity: function mockVerifyRemoteBatch(address interchainDB, (uint256,uint256,bytes32) batch) returns()

func (*InterchainModuleMockSession) RequestBatchVerification

func (_InterchainModuleMock *InterchainModuleMockSession) RequestBatchVerification(dstChainId *big.Int, batch InterchainBatch) (*types.Transaction, error)

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

Solidity: function requestBatchVerification(uint256 dstChainId, (uint256,uint256,bytes32) batch) payable returns()

type InterchainModuleMockTransactor

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

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

func NewInterchainModuleMockTransactor

func NewInterchainModuleMockTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainModuleMockTransactor, error)

NewInterchainModuleMockTransactor creates a new write-only instance of InterchainModuleMock, bound to a specific deployed contract.

func (*InterchainModuleMockTransactor) MockVerifyRemoteBatch

func (_InterchainModuleMock *InterchainModuleMockTransactor) MockVerifyRemoteBatch(opts *bind.TransactOpts, interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)

MockVerifyRemoteBatch is a paid mutator transaction binding the contract method 0x52b09fd4.

Solidity: function mockVerifyRemoteBatch(address interchainDB, (uint256,uint256,bytes32) batch) returns()

func (*InterchainModuleMockTransactor) RequestBatchVerification

func (_InterchainModuleMock *InterchainModuleMockTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId *big.Int, batch InterchainBatch) (*types.Transaction, error)

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

Solidity: function requestBatchVerification(uint256 dstChainId, (uint256,uint256,bytes32) batch) payable returns()

type InterchainModuleMockTransactorRaw

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

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

func (*InterchainModuleMockTransactorRaw) Transact

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

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

func (*InterchainModuleMockTransactorRaw) Transfer

func (_InterchainModuleMock *InterchainModuleMockTransactorRaw) 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 InterchainModuleMockTransactorSession

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

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

func (*InterchainModuleMockTransactorSession) MockVerifyRemoteBatch

func (_InterchainModuleMock *InterchainModuleMockTransactorSession) MockVerifyRemoteBatch(interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)

MockVerifyRemoteBatch is a paid mutator transaction binding the contract method 0x52b09fd4.

Solidity: function mockVerifyRemoteBatch(address interchainDB, (uint256,uint256,bytes32) batch) returns()

func (*InterchainModuleMockTransactorSession) RequestBatchVerification

func (_InterchainModuleMock *InterchainModuleMockTransactorSession) RequestBatchVerification(dstChainId *big.Int, batch InterchainBatch) (*types.Transaction, error)

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

Solidity: function requestBatchVerification(uint256 dstChainId, (uint256,uint256,bytes32) batch) payable returns()

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.

Jump to

Keyboard shortcuts

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