interchainmodulemock

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Overview

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

IInterchainDBMetaData contains all meta data concerning the IInterchainDB contract.

View Source
var IInterchainModuleABI = IInterchainModuleMetaData.ABI

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

View Source
var IInterchainModuleFuncSigs = IInterchainModuleMetaData.Sigs

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

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

IInterchainModuleMetaData contains all meta data concerning the IInterchainModule contract.

View Source
var InterchainBatchLibABI = InterchainBatchLibMetaData.ABI

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

View Source
var InterchainBatchLibBin = InterchainBatchLibMetaData.Bin

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

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

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

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\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"}],\"name\":\"InterchainModule__IncorrectSourceChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"actual\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"required\",\"type\":\"uint256\"}],\"name\":\"InterchainModule__InsufficientFee\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"InterchainModule__NotInterchainDB\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"}],\"name\":\"InterchainModule__SameChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"getModuleFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"interchainDB\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"type\":\"bytes\"}],\"name\":\"mockVerifyRemoteBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"interchainDB\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"batch\",\"type\":\"tuple\"}],\"name\":\"mockVerifyRemoteBatchStruct\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"type\":\"bytes\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"1888f4d4": "getModuleFee(uint64,uint64)",
		"e3d3f57c": "mockVerifyRemoteBatch(address,bytes)",
		"9b3d67ec": "mockVerifyRemoteBatchStruct(address,(uint64,uint64,bytes32))",
		"30068e33": "requestBatchVerification(uint64,bytes)",
	},
	Bin: "0x608060405234801561001057600080fd5b5061063a806100206000396000f3fe60806040526004361061003f5760003560e01c80631888f4d41461004457806330068e33146100795780639b3d67ec1461008e578063e3d3f57c146100ae575b600080fd5b34801561005057600080fd5b5061006761005f3660046102ec565b600092915050565b60405190815260200160405180910390f35b61008c610087366004610368565b505050565b005b34801561009a57600080fd5b5061008c6100a93660046103df565b6100ce565b3480156100ba57600080fd5b5061008c6100c93660046104ae565b6101dc565b60006101508373ffffffffffffffffffffffffffffffffffffffff166315f539566040518163ffffffff1660e01b8152600401602060405180830381865afa15801561011e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014291906104cc565b61014b84610230565b6102a3565b6040517fd961a48e00000000000000000000000000000000000000000000000000000000815290915073ffffffffffffffffffffffffffffffffffffffff84169063d961a48e906101a590849060040161051b565b600060405180830381600087803b1580156101bf57600080fd5b505af11580156101d3573d6000803e3d6000fd5b50505050505050565b6040517fd961a48e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84169063d961a48e906101a5908590859060040161056c565b60606102658260000151836020015167ffffffffffffffff1660409190911b6fffffffffffffffff0000000000000000161790565b60408084015181516fffffffffffffffffffffffffffffffff9093166020840152908201526060016040516020818303038152906040529050919050565b606082826040516020016102b89291906105b9565b604051602081830303815290604052905092915050565b803567ffffffffffffffff811681146102e757600080fd5b919050565b600080604083850312156102ff57600080fd5b610308836102cf565b9150610316602084016102cf565b90509250929050565b60008083601f84011261033157600080fd5b50813567ffffffffffffffff81111561034957600080fd5b60208301915083602082850101111561036157600080fd5b9250929050565b60008060006040848603121561037d57600080fd5b610386846102cf565b9250602084013567ffffffffffffffff8111156103a257600080fd5b6103ae8682870161031f565b9497909650939450505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146102e757600080fd5b60008082840360808112156103f357600080fd5b6103fc846103bb565b925060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08201121561042e57600080fd5b506040516060810181811067ffffffffffffffff82111715610479577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052610488602085016102cf565b8152610496604085016102cf565b60208201526060939093013560408401525092909150565b6000806000604084860312156104c357600080fd5b610386846103bb565b6000602082840312156104de57600080fd5b815161ffff811681146104f057600080fd5b9392505050565b60005b838110156105125781810151838201526020016104fa565b50506000910152565b602081526000825180602084015261053a8160408501602087016104f7565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60208152816020820152818360408301376000818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b7fffff0000000000000000000000000000000000000000000000000000000000008360f01b168152600082516105f68160028501602087016104f7565b91909101600201939250505056fea2646970667358221220ff66c4868a69326bd6f027c4fa9bbdf514c35a2ba88db80270e74ba09154f74464736f6c63430008140033",
}

InterchainModuleMockMetaData contains all meta data concerning the InterchainModuleMock contract.

View Source
var SafeCastABI = SafeCastMetaData.ABI

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

View Source
var SafeCastBin = SafeCastMetaData.Bin

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

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

SafeCastMetaData contains all meta data concerning the SafeCast contract.

View Source
var TypeCastsABI = TypeCastsMetaData.ABI

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

View Source
var TypeCastsBin = TypeCastsMetaData.Bin

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

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

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

VersionedPayloadLibMetaData contains all meta data concerning the VersionedPayloadLib contract.

Functions

This section is empty.

Types

type IInterchainDB

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

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

func NewIInterchainDB

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

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

type IInterchainDBCaller

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

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

func NewIInterchainDBCaller

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

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

func (*IInterchainDBCaller) CheckVerification

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

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

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

func (*IInterchainDBCaller) DBVERSION added in v0.4.0

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

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

Solidity: function DB_VERSION() pure returns(uint16)

func (*IInterchainDBCaller) GetBatch

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

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

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

func (*IInterchainDBCaller) GetBatchLeafs

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

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

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

func (*IInterchainDBCaller) GetBatchLeafsPaginated

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

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

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

func (*IInterchainDBCaller) GetBatchSize

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

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

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

func (*IInterchainDBCaller) GetDBNonce

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

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

Solidity: function getDBNonce() view returns(uint64)

func (*IInterchainDBCaller) GetEntryProof

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

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

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

func (*IInterchainDBCaller) GetEntryValue added in v0.0.4

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

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

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

func (*IInterchainDBCaller) GetInterchainFee

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

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

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

func (*IInterchainDBCaller) GetNextEntryIndex

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

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

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

type IInterchainDBCallerRaw

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

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

func (*IInterchainDBCallerRaw) Call

func (_IInterchainDB *IInterchainDBCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IInterchainDBCallerSession

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

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

func (*IInterchainDBCallerSession) CheckVerification

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

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

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

func (*IInterchainDBCallerSession) DBVERSION added in v0.4.0

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

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

Solidity: function DB_VERSION() pure returns(uint16)

func (*IInterchainDBCallerSession) GetBatch

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

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

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

func (*IInterchainDBCallerSession) GetBatchLeafs

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

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

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

func (*IInterchainDBCallerSession) GetBatchLeafsPaginated

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

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

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

func (*IInterchainDBCallerSession) GetBatchSize

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

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

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

func (*IInterchainDBCallerSession) GetDBNonce

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

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

Solidity: function getDBNonce() view returns(uint64)

func (*IInterchainDBCallerSession) GetEntryProof

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

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

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

func (*IInterchainDBCallerSession) GetEntryValue added in v0.0.4

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

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

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

func (*IInterchainDBCallerSession) GetInterchainFee

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

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

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

func (*IInterchainDBCallerSession) GetNextEntryIndex

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

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

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

type IInterchainDBFilterer

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

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

func NewIInterchainDBFilterer

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

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

type IInterchainDBRaw

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

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

func (*IInterchainDBRaw) Call

func (_IInterchainDB *IInterchainDBRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IInterchainDBRaw) Transact

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

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

func (*IInterchainDBRaw) Transfer

func (_IInterchainDB *IInterchainDBRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IInterchainDBSession

type IInterchainDBSession struct {
	Contract     *IInterchainDB    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

func (*IInterchainDBSession) CheckVerification

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

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

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

func (*IInterchainDBSession) DBVERSION added in v0.4.0

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

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

Solidity: function DB_VERSION() pure returns(uint16)

func (*IInterchainDBSession) GetBatch

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

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

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

func (*IInterchainDBSession) GetBatchLeafs

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

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

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

func (*IInterchainDBSession) GetBatchLeafsPaginated

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

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

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

func (*IInterchainDBSession) GetBatchSize

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

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

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

func (*IInterchainDBSession) GetDBNonce

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

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

Solidity: function getDBNonce() view returns(uint64)

func (*IInterchainDBSession) GetEntryProof

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

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

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

func (*IInterchainDBSession) GetEntryValue added in v0.0.4

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

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

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

func (*IInterchainDBSession) GetInterchainFee

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

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

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

func (*IInterchainDBSession) GetNextEntryIndex

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

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

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

func (*IInterchainDBSession) RequestBatchVerification

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

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

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

func (*IInterchainDBSession) VerifyRemoteBatch

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

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

Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()

func (*IInterchainDBSession) WriteEntry

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

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

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

func (*IInterchainDBSession) WriteEntryWithVerification

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

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

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

type IInterchainDBTransactor

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

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

func NewIInterchainDBTransactor

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

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

func (*IInterchainDBTransactor) RequestBatchVerification

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

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

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

func (*IInterchainDBTransactor) VerifyRemoteBatch

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

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

Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()

func (*IInterchainDBTransactor) WriteEntry

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

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

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

func (*IInterchainDBTransactor) WriteEntryWithVerification

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

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

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

type IInterchainDBTransactorRaw

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

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

func (*IInterchainDBTransactorRaw) Transact

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

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

func (*IInterchainDBTransactorRaw) Transfer

func (_IInterchainDB *IInterchainDBTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IInterchainDBTransactorSession

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

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

func (*IInterchainDBTransactorSession) RequestBatchVerification

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

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

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

func (*IInterchainDBTransactorSession) VerifyRemoteBatch

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

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

Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()

func (*IInterchainDBTransactorSession) WriteEntry

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

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

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

func (*IInterchainDBTransactorSession) WriteEntryWithVerification

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

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

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

type IInterchainModule

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

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

func NewIInterchainModule

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

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

type IInterchainModuleCaller

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

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

func NewIInterchainModuleCaller

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

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

func (*IInterchainModuleCaller) GetModuleFee

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

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

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

type IInterchainModuleCallerRaw

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

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

func (*IInterchainModuleCallerRaw) Call

func (_IInterchainModule *IInterchainModuleCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IInterchainModuleCallerSession

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

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

func (*IInterchainModuleCallerSession) GetModuleFee

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

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

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

type IInterchainModuleFilterer

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

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

func NewIInterchainModuleFilterer

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

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

type IInterchainModuleRaw

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

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

func (*IInterchainModuleRaw) Call

func (_IInterchainModule *IInterchainModuleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IInterchainModuleRaw) Transact

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

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

func (*IInterchainModuleRaw) Transfer

func (_IInterchainModule *IInterchainModuleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IInterchainModuleSession

type IInterchainModuleSession struct {
	Contract     *IInterchainModule // Generic contract binding to set the session for
	CallOpts     bind.CallOpts      // Call options to use throughout this session
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

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

func (*IInterchainModuleSession) GetModuleFee

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

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

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

func (*IInterchainModuleSession) RequestBatchVerification

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

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

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

type IInterchainModuleTransactor

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

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

func NewIInterchainModuleTransactor

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

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

func (*IInterchainModuleTransactor) RequestBatchVerification

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

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

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

type IInterchainModuleTransactorRaw

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

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

func (*IInterchainModuleTransactorRaw) Transact

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

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

func (*IInterchainModuleTransactorRaw) Transfer

func (_IInterchainModule *IInterchainModuleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IInterchainModuleTransactorSession

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

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

func (*IInterchainModuleTransactorSession) RequestBatchVerification

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

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

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

type InterchainBatch

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

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

type InterchainBatchLib

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

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

func DeployInterchainBatchLib

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

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

func NewInterchainBatchLib

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

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

type InterchainBatchLibCaller

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

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

func NewInterchainBatchLibCaller

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

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

type InterchainBatchLibCallerRaw

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

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

func (*InterchainBatchLibCallerRaw) Call

func (_InterchainBatchLib *InterchainBatchLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type InterchainBatchLibCallerSession

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

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

type InterchainBatchLibFilterer

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

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

func NewInterchainBatchLibFilterer

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

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

type InterchainBatchLibRaw

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

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

func (*InterchainBatchLibRaw) Call

func (_InterchainBatchLib *InterchainBatchLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*InterchainBatchLibRaw) Transact

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

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

func (*InterchainBatchLibRaw) Transfer

func (_InterchainBatchLib *InterchainBatchLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type InterchainBatchLibSession

type InterchainBatchLibSession struct {
	Contract     *InterchainBatchLib // Generic contract binding to set the session for
	CallOpts     bind.CallOpts       // Call options to use throughout this session
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

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

type InterchainBatchLibTransactor

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

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

func NewInterchainBatchLibTransactor

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

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

type InterchainBatchLibTransactorRaw

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

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

func (*InterchainBatchLibTransactorRaw) Transact

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

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

func (*InterchainBatchLibTransactorRaw) Transfer

func (_InterchainBatchLib *InterchainBatchLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type InterchainBatchLibTransactorSession

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

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

type InterchainEntry

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

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

type InterchainEntryLib

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

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

func DeployInterchainEntryLib

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

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

func NewInterchainEntryLib

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

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

type InterchainEntryLibCaller

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

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

func NewInterchainEntryLibCaller

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

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

type InterchainEntryLibCallerRaw

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

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

func (*InterchainEntryLibCallerRaw) Call

func (_InterchainEntryLib *InterchainEntryLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type InterchainEntryLibCallerSession

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

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

type InterchainEntryLibFilterer

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

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

func NewInterchainEntryLibFilterer

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

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

type InterchainEntryLibRaw

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

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

func (*InterchainEntryLibRaw) Call

func (_InterchainEntryLib *InterchainEntryLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*InterchainEntryLibRaw) Transact

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

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

func (*InterchainEntryLibRaw) Transfer

func (_InterchainEntryLib *InterchainEntryLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type InterchainEntryLibSession

type InterchainEntryLibSession struct {
	Contract     *InterchainEntryLib // Generic contract binding to set the session for
	CallOpts     bind.CallOpts       // Call options to use throughout this session
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

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

type InterchainEntryLibTransactor

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

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

func NewInterchainEntryLibTransactor

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

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

type InterchainEntryLibTransactorRaw

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

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

func (*InterchainEntryLibTransactorRaw) Transact

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

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

func (*InterchainEntryLibTransactorRaw) Transfer

func (_InterchainEntryLib *InterchainEntryLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type InterchainEntryLibTransactorSession

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

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

type 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 uint64, dbNonce uint64) (*big.Int, error)

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

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

type 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 uint64, dbNonce uint64) (*big.Int, error)

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

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

type 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 uint64, dbNonce uint64) (*big.Int, error)

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

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

func (*InterchainModuleMockSession) MockVerifyRemoteBatch

func (_InterchainModuleMock *InterchainModuleMockSession) MockVerifyRemoteBatch(interchainDB common.Address, versionedBatch []byte) (*types.Transaction, error)

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

Solidity: function mockVerifyRemoteBatch(address interchainDB, bytes versionedBatch) returns()

func (*InterchainModuleMockSession) MockVerifyRemoteBatchStruct added in v0.4.0

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

MockVerifyRemoteBatchStruct is a paid mutator transaction binding the contract method 0x9b3d67ec.

Solidity: function mockVerifyRemoteBatchStruct(address interchainDB, (uint64,uint64,bytes32) batch) returns()

func (*InterchainModuleMockSession) RequestBatchVerification

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

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

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

type 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, versionedBatch []byte) (*types.Transaction, error)

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

Solidity: function mockVerifyRemoteBatch(address interchainDB, bytes versionedBatch) returns()

func (*InterchainModuleMockTransactor) MockVerifyRemoteBatchStruct added in v0.4.0

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

MockVerifyRemoteBatchStruct is a paid mutator transaction binding the contract method 0x9b3d67ec.

Solidity: function mockVerifyRemoteBatchStruct(address interchainDB, (uint64,uint64,bytes32) batch) returns()

func (*InterchainModuleMockTransactor) RequestBatchVerification

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

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

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

type 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, versionedBatch []byte) (*types.Transaction, error)

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

Solidity: function mockVerifyRemoteBatch(address interchainDB, bytes versionedBatch) returns()

func (*InterchainModuleMockTransactorSession) MockVerifyRemoteBatchStruct added in v0.4.0

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

MockVerifyRemoteBatchStruct is a paid mutator transaction binding the contract method 0x9b3d67ec.

Solidity: function mockVerifyRemoteBatchStruct(address interchainDB, (uint64,uint64,bytes32) batch) returns()

func (*InterchainModuleMockTransactorSession) RequestBatchVerification

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

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

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

type SafeCast added in v0.6.0

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

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

func DeploySafeCast added in v0.6.0

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

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

func NewSafeCast added in v0.6.0

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

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

type SafeCastCaller added in v0.6.0

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

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

func NewSafeCastCaller added in v0.6.0

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

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

type SafeCastCallerRaw added in v0.6.0

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

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

func (*SafeCastCallerRaw) Call added in v0.6.0

func (_SafeCast *SafeCastCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type SafeCastCallerSession added in v0.6.0

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

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

type SafeCastFilterer added in v0.6.0

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

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

func NewSafeCastFilterer added in v0.6.0

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

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

type SafeCastRaw added in v0.6.0

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

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

func (*SafeCastRaw) Call added in v0.6.0

func (_SafeCast *SafeCastRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*SafeCastRaw) Transact added in v0.6.0

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

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

func (*SafeCastRaw) Transfer added in v0.6.0

func (_SafeCast *SafeCastRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SafeCastSession added in v0.6.0

type SafeCastSession struct {
	Contract     *SafeCast         // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

type SafeCastTransactor added in v0.6.0

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

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

func NewSafeCastTransactor added in v0.6.0

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

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

type SafeCastTransactorRaw added in v0.6.0

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

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

func (*SafeCastTransactorRaw) Transact added in v0.6.0

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

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

func (*SafeCastTransactorRaw) Transfer added in v0.6.0

func (_SafeCast *SafeCastTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SafeCastTransactorSession added in v0.6.0

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

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

type TypeCasts

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

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

func DeployTypeCasts

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

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

func NewTypeCasts

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

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

type TypeCastsCaller

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

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

func NewTypeCastsCaller

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

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

type TypeCastsCallerRaw

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

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

func (*TypeCastsCallerRaw) Call

func (_TypeCasts *TypeCastsCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type TypeCastsCallerSession

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

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

type TypeCastsFilterer

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

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

func NewTypeCastsFilterer

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

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

type TypeCastsRaw

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

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

func (*TypeCastsRaw) Call

func (_TypeCasts *TypeCastsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*TypeCastsRaw) Transact

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

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

func (*TypeCastsRaw) Transfer

func (_TypeCasts *TypeCastsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TypeCastsSession

type TypeCastsSession struct {
	Contract     *TypeCasts        // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

type TypeCastsTransactor

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

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

func NewTypeCastsTransactor

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

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

type TypeCastsTransactorRaw

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

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

func (*TypeCastsTransactorRaw) Transact

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

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

func (*TypeCastsTransactorRaw) Transfer

func (_TypeCasts *TypeCastsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TypeCastsTransactorSession

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

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

type VersionedPayloadLib added in v0.4.0

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

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

func DeployVersionedPayloadLib added in v0.4.0

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

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

func NewVersionedPayloadLib added in v0.4.0

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

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

type VersionedPayloadLibCaller added in v0.4.0

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

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

func NewVersionedPayloadLibCaller added in v0.4.0

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

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

type VersionedPayloadLibCallerRaw added in v0.4.0

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

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

func (*VersionedPayloadLibCallerRaw) Call added in v0.4.0

func (_VersionedPayloadLib *VersionedPayloadLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type VersionedPayloadLibCallerSession added in v0.4.0

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

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

type VersionedPayloadLibFilterer added in v0.4.0

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

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

func NewVersionedPayloadLibFilterer added in v0.4.0

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

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

type VersionedPayloadLibRaw added in v0.4.0

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

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

func (*VersionedPayloadLibRaw) Call added in v0.4.0

func (_VersionedPayloadLib *VersionedPayloadLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*VersionedPayloadLibRaw) Transact added in v0.4.0

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

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

func (*VersionedPayloadLibRaw) Transfer added in v0.4.0

func (_VersionedPayloadLib *VersionedPayloadLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VersionedPayloadLibSession added in v0.4.0

type VersionedPayloadLibSession struct {
	Contract     *VersionedPayloadLib // Generic contract binding to set the session for
	CallOpts     bind.CallOpts        // Call options to use throughout this session
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

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

type VersionedPayloadLibTransactor added in v0.4.0

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

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

func NewVersionedPayloadLibTransactor added in v0.4.0

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

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

type VersionedPayloadLibTransactorRaw added in v0.4.0

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

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

func (*VersionedPayloadLibTransactorRaw) Transact added in v0.4.0

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

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

func (*VersionedPayloadLibTransactorRaw) Transfer added in v0.4.0

func (_VersionedPayloadLib *VersionedPayloadLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VersionedPayloadLibTransactorSession added in v0.4.0

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

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

Jump to

Keyboard shortcuts

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