Documentation ¶
Overview ¶
Package interchainmodulemock provides a mock for the InterchainModule contract.
Code generated by synapse abigen DO NOT EDIT.
Index ¶
- Variables
- type IInterchainDB
- type IInterchainDBCaller
- func (_IInterchainDB *IInterchainDBCaller) CheckBatchVerification(opts *bind.CallOpts, dstModule common.Address, batch InterchainBatch) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBCaller) DBVERSION(opts *bind.CallOpts) (uint16, error)
- func (_IInterchainDB *IInterchainDBCaller) GetBatch(opts *bind.CallOpts, dbNonce uint64) (InterchainBatch, error)
- func (_IInterchainDB *IInterchainDBCaller) GetBatchLeafs(opts *bind.CallOpts, dbNonce uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCaller) GetBatchLeafsPaginated(opts *bind.CallOpts, dbNonce uint64, start uint64, end uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCaller) GetBatchRoot(opts *bind.CallOpts, entry InterchainEntry, proof [][32]byte) ([32]byte, error)
- func (_IInterchainDB *IInterchainDBCaller) GetBatchSize(opts *bind.CallOpts, dbNonce uint64) (uint64, error)
- func (_IInterchainDB *IInterchainDBCaller) GetDBNonce(opts *bind.CallOpts) (uint64, error)
- func (_IInterchainDB *IInterchainDBCaller) GetEntryProof(opts *bind.CallOpts, dbNonce uint64, entryIndex uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCaller) GetEntryValue(opts *bind.CallOpts, dbNonce uint64, entryIndex uint64) ([32]byte, error)
- func (_IInterchainDB *IInterchainDBCaller) GetInterchainFee(opts *bind.CallOpts, dstChainId uint64, srcModules []common.Address) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBCaller) GetNextEntryIndex(opts *bind.CallOpts) (struct{ ... }, error)
- func (_IInterchainDB *IInterchainDBCaller) GetVersionedBatch(opts *bind.CallOpts, dbNonce uint64) ([]byte, error)
- type IInterchainDBCallerRaw
- type IInterchainDBCallerSession
- func (_IInterchainDB *IInterchainDBCallerSession) CheckBatchVerification(dstModule common.Address, batch InterchainBatch) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBCallerSession) DBVERSION() (uint16, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetBatch(dbNonce uint64) (InterchainBatch, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetBatchLeafs(dbNonce uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetBatchLeafsPaginated(dbNonce uint64, start uint64, end uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetBatchRoot(entry InterchainEntry, proof [][32]byte) ([32]byte, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetBatchSize(dbNonce uint64) (uint64, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetDBNonce() (uint64, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetEntryProof(dbNonce uint64, entryIndex uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetEntryValue(dbNonce uint64, entryIndex uint64) ([32]byte, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetInterchainFee(dstChainId uint64, srcModules []common.Address) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetNextEntryIndex() (struct{ ... }, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetVersionedBatch(dbNonce uint64) ([]byte, error)
- type IInterchainDBFilterer
- type IInterchainDBRaw
- func (_IInterchainDB *IInterchainDBRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IInterchainDB *IInterchainDBRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IInterchainDBSession
- func (_IInterchainDB *IInterchainDBSession) CheckBatchVerification(dstModule common.Address, batch InterchainBatch) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBSession) DBVERSION() (uint16, error)
- func (_IInterchainDB *IInterchainDBSession) GetBatch(dbNonce uint64) (InterchainBatch, error)
- func (_IInterchainDB *IInterchainDBSession) GetBatchLeafs(dbNonce uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBSession) GetBatchLeafsPaginated(dbNonce uint64, start uint64, end uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBSession) GetBatchRoot(entry InterchainEntry, proof [][32]byte) ([32]byte, error)
- func (_IInterchainDB *IInterchainDBSession) GetBatchSize(dbNonce uint64) (uint64, error)
- func (_IInterchainDB *IInterchainDBSession) GetDBNonce() (uint64, error)
- func (_IInterchainDB *IInterchainDBSession) GetEntryProof(dbNonce uint64, entryIndex uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBSession) GetEntryValue(dbNonce uint64, entryIndex uint64) ([32]byte, error)
- func (_IInterchainDB *IInterchainDBSession) GetInterchainFee(dstChainId uint64, srcModules []common.Address) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBSession) GetNextEntryIndex() (struct{ ... }, error)
- func (_IInterchainDB *IInterchainDBSession) GetVersionedBatch(dbNonce uint64) ([]byte, error)
- func (_IInterchainDB *IInterchainDBSession) RequestBatchVerification(dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBSession) VerifyRemoteBatch(versionedBatch []byte) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBSession) WriteEntryWithVerification(dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
- type IInterchainDBTransactor
- func (_IInterchainDB *IInterchainDBTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId uint64, dbNonce uint64, ...) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactor) VerifyRemoteBatch(opts *bind.TransactOpts, versionedBatch []byte) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactor) WriteEntry(opts *bind.TransactOpts, dataHash [32]byte) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactor) WriteEntryWithVerification(opts *bind.TransactOpts, dstChainId uint64, dataHash [32]byte, ...) (*types.Transaction, error)
- type IInterchainDBTransactorRaw
- type IInterchainDBTransactorSession
- func (_IInterchainDB *IInterchainDBTransactorSession) RequestBatchVerification(dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactorSession) VerifyRemoteBatch(versionedBatch []byte) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactorSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactorSession) WriteEntryWithVerification(dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
- type IInterchainModule
- type IInterchainModuleCaller
- type IInterchainModuleCallerRaw
- type IInterchainModuleCallerSession
- type IInterchainModuleFilterer
- type IInterchainModuleRaw
- func (_IInterchainModule *IInterchainModuleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IInterchainModule *IInterchainModuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IInterchainModule *IInterchainModuleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IInterchainModuleSession
- type IInterchainModuleTransactor
- type IInterchainModuleTransactorRaw
- type IInterchainModuleTransactorSession
- type InterchainBatch
- type InterchainBatchLib
- type InterchainBatchLibCaller
- type InterchainBatchLibCallerRaw
- type InterchainBatchLibCallerSession
- type InterchainBatchLibFilterer
- type InterchainBatchLibRaw
- func (_InterchainBatchLib *InterchainBatchLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterchainBatchLib *InterchainBatchLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterchainBatchLib *InterchainBatchLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterchainBatchLibSession
- type InterchainBatchLibTransactor
- type InterchainBatchLibTransactorRaw
- type InterchainBatchLibTransactorSession
- type InterchainEntry
- type InterchainEntryLib
- type InterchainEntryLibCaller
- type InterchainEntryLibCallerRaw
- type InterchainEntryLibCallerSession
- type InterchainEntryLibFilterer
- type InterchainEntryLibRaw
- func (_InterchainEntryLib *InterchainEntryLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterchainEntryLib *InterchainEntryLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterchainEntryLib *InterchainEntryLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterchainEntryLibSession
- type InterchainEntryLibTransactor
- type InterchainEntryLibTransactorRaw
- type InterchainEntryLibTransactorSession
- type InterchainModuleMock
- type InterchainModuleMockCaller
- type InterchainModuleMockCallerRaw
- type InterchainModuleMockCallerSession
- type InterchainModuleMockFilterer
- type InterchainModuleMockRaw
- func (_InterchainModuleMock *InterchainModuleMockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterchainModuleMock *InterchainModuleMockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterchainModuleMockRef
- type InterchainModuleMockSession
- func (_InterchainModuleMock *InterchainModuleMockSession) GetModuleFee(dstChainId uint64, dbNonce uint64) (*big.Int, error)
- func (_InterchainModuleMock *InterchainModuleMockSession) MockVerifyRemoteBatch(interchainDB common.Address, versionedBatch []byte) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockSession) MockVerifyRemoteBatchStruct(interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockSession) RequestBatchVerification(dstChainId uint64, batchNonce uint64, versionedBatch []byte) (*types.Transaction, error)
- type InterchainModuleMockTransactor
- func (_InterchainModuleMock *InterchainModuleMockTransactor) MockVerifyRemoteBatch(opts *bind.TransactOpts, interchainDB common.Address, versionedBatch []byte) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockTransactor) MockVerifyRemoteBatchStruct(opts *bind.TransactOpts, interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId uint64, batchNonce uint64, ...) (*types.Transaction, error)
- type InterchainModuleMockTransactorRaw
- type InterchainModuleMockTransactorSession
- func (_InterchainModuleMock *InterchainModuleMockTransactorSession) MockVerifyRemoteBatch(interchainDB common.Address, versionedBatch []byte) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockTransactorSession) MockVerifyRemoteBatchStruct(interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockTransactorSession) RequestBatchVerification(dstChainId uint64, batchNonce uint64, versionedBatch []byte) (*types.Transaction, error)
- type SafeCast
- type SafeCastCaller
- type SafeCastCallerRaw
- type SafeCastCallerSession
- type SafeCastFilterer
- type SafeCastRaw
- func (_SafeCast *SafeCastRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeCast *SafeCastRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeCast *SafeCastRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeCastSession
- type SafeCastTransactor
- type SafeCastTransactorRaw
- type SafeCastTransactorSession
- type TypeCasts
- type TypeCastsCaller
- type TypeCastsCallerRaw
- type TypeCastsCallerSession
- type TypeCastsFilterer
- type TypeCastsRaw
- func (_TypeCasts *TypeCastsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TypeCasts *TypeCastsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TypeCasts *TypeCastsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TypeCastsSession
- type TypeCastsTransactor
- type TypeCastsTransactorRaw
- type TypeCastsTransactorSession
- type VersionedPayloadLib
- type VersionedPayloadLibCaller
- type VersionedPayloadLibCallerRaw
- type VersionedPayloadLibCallerSession
- type VersionedPayloadLibFilterer
- type VersionedPayloadLibRaw
- func (_VersionedPayloadLib *VersionedPayloadLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VersionedPayloadLib *VersionedPayloadLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VersionedPayloadLib *VersionedPayloadLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VersionedPayloadLibSession
- type VersionedPayloadLibTransactor
- type VersionedPayloadLibTransactorRaw
- type VersionedPayloadLibTransactorSession
Constants ¶
This section is empty.
Variables ¶
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var IInterchainDBABI = IInterchainDBMetaData.ABI
IInterchainDBABI is the input ABI used to generate the binding from. Deprecated: Use IInterchainDBMetaData.ABI instead.
var IInterchainDBFuncSigs = IInterchainDBMetaData.Sigs
Deprecated: Use IInterchainDBMetaData.Sigs instead. IInterchainDBFuncSigs maps the 4-byte function signature to its string representation.
var IInterchainDBMetaData = &bind.MetaData{ ABI: "[{\"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__BatchConflict\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"version\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"required\",\"type\":\"uint16\"}],\"name\":\"InterchainDB__BatchVersionMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__ChainIdNotRemote\",\"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\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__EntryRangeInvalid\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minRequired\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__FeeAmountBelowMin\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InterchainDB__ModulesNotProvided\",\"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\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"batch\",\"type\":\"tuple\"}],\"name\":\"checkBatchVerification\",\"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\":[{\"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\":\"getBatchRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"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\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"getVersionedBatch\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"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()", "e39682c1": "checkBatchVerification(address,(uint64,uint64,bytes32))", "888775d9": "getBatch(uint64)", "fc1ebc91": "getBatchLeafs(uint64)", "1c679ac1": "getBatchLeafsPaginated(uint64,uint64,uint64)", "0166204f": "getBatchRoot((uint64,uint64,uint64,bytes32,bytes32),bytes32[])", "727a5f91": "getBatchSize(uint64)", "f338140e": "getDBNonce()", "fec8dfb9": "getEntryProof(uint64,uint64)", "d180db6f": "getEntryValue(uint64,uint64)", "b8ba4ba1": "getInterchainFee(uint64,address[])", "aa2f06ae": "getNextEntryIndex()", "c7265781": "getVersionedBatch(uint64)", "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.
var IInterchainModuleABI = IInterchainModuleMetaData.ABI
IInterchainModuleABI is the input ABI used to generate the binding from. Deprecated: Use IInterchainModuleMetaData.ABI instead.
var IInterchainModuleFuncSigs = IInterchainModuleMetaData.Sigs
Deprecated: Use IInterchainModuleMetaData.Sigs instead. IInterchainModuleFuncSigs maps the 4-byte function signature to its string representation.
var IInterchainModuleMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"InterchainModule__CallerNotInterchainDB\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"}],\"name\":\"InterchainModule__ChainIdNotRemote\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minRequired\",\"type\":\"uint256\"}],\"name\":\"InterchainModule__FeeAmountBelowMin\",\"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\":\"uint64\",\"name\":\"batchNonce\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"type\":\"bytes\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]", Sigs: map[string]string{ "1888f4d4": "getModuleFee(uint64,uint64)", "6b8d469f": "requestBatchVerification(uint64,uint64,bytes)", }, }
IInterchainModuleMetaData contains all meta data concerning the IInterchainModule contract.
var InterchainBatchLibABI = InterchainBatchLibMetaData.ABI
InterchainBatchLibABI is the input ABI used to generate the binding from. Deprecated: Use InterchainBatchLibMetaData.ABI instead.
var InterchainBatchLibBin = InterchainBatchLibMetaData.Bin
InterchainBatchLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InterchainBatchLibMetaData.Bin instead.
var InterchainBatchLibMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ea0d8f2b7d0af791693cdc00d26c85bda6a08d49db6ca2fc02bc2ea72ea4737064736f6c63430008140033",
}
InterchainBatchLibMetaData contains all meta data concerning the InterchainBatchLib contract.
var InterchainEntryLibABI = InterchainEntryLibMetaData.ABI
InterchainEntryLibABI is the input ABI used to generate the binding from. Deprecated: Use InterchainEntryLibMetaData.ABI instead.
var InterchainEntryLibBin = InterchainEntryLibMetaData.Bin
InterchainEntryLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InterchainEntryLibMetaData.Bin instead.
var InterchainEntryLibMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212203adb6206ed9d250b72f8acb3023341f2cb861dc256a0122d8edf6f02142dfdf064736f6c63430008140033",
}
InterchainEntryLibMetaData contains all meta data concerning the InterchainEntryLib contract.
var InterchainModuleMockABI = InterchainModuleMockMetaData.ABI
InterchainModuleMockABI is the input ABI used to generate the binding from. Deprecated: Use InterchainModuleMockMetaData.ABI instead.
var InterchainModuleMockBin = InterchainModuleMockMetaData.Bin
InterchainModuleMockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InterchainModuleMockMetaData.Bin instead.
var InterchainModuleMockFuncSigs = InterchainModuleMockMetaData.Sigs
Deprecated: Use InterchainModuleMockMetaData.Sigs instead. InterchainModuleMockFuncSigs maps the 4-byte function signature to its string representation.
var InterchainModuleMockMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"InterchainModule__CallerNotInterchainDB\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"}],\"name\":\"InterchainModule__ChainIdNotRemote\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minRequired\",\"type\":\"uint256\"}],\"name\":\"InterchainModule__FeeAmountBelowMin\",\"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\":\"uint64\",\"name\":\"batchNonce\",\"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))", "6b8d469f": "requestBatchVerification(uint64,uint64,bytes)", }, Bin: "0x608060405234801561001057600080fd5b5061067e806100206000396000f3fe60806040526004361061003f5760003560e01c80631888f4d4146100445780636b8d469f146100795780639b3d67ec1461008f578063e3d3f57c146100af575b600080fd5b34801561005057600080fd5b5061006761005f3660046102ed565b600092915050565b60405190815260200160405180910390f35b61008d610087366004610369565b50505050565b005b34801561009b57600080fd5b5061008d6100aa3660046103ee565b6100cf565b3480156100bb57600080fd5b5061008d6100ca3660046104bd565b6101dd565b60006101518373ffffffffffffffffffffffffffffffffffffffff166315f539566040518163ffffffff1660e01b8152600401602060405180830381865afa15801561011f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101439190610510565b61014c84610231565b6102a4565b6040517fd961a48e00000000000000000000000000000000000000000000000000000000815290915073ffffffffffffffffffffffffffffffffffffffff84169063d961a48e906101a690849060040161055f565b600060405180830381600087803b1580156101c057600080fd5b505af11580156101d4573d6000803e3d6000fd5b50505050505050565b6040517fd961a48e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84169063d961a48e906101a690859085906004016105b0565b60606102668260000151836020015167ffffffffffffffff1660409190911b6fffffffffffffffff0000000000000000161790565b60408084015181516fffffffffffffffffffffffffffffffff9093166020840152908201526060016040516020818303038152906040529050919050565b606082826040516020016102b99291906105fd565b604051602081830303815290604052905092915050565b803567ffffffffffffffff811681146102e857600080fd5b919050565b6000806040838503121561030057600080fd5b610309836102d0565b9150610317602084016102d0565b90509250929050565b60008083601f84011261033257600080fd5b50813567ffffffffffffffff81111561034a57600080fd5b60208301915083602082850101111561036257600080fd5b9250929050565b6000806000806060858703121561037f57600080fd5b610388856102d0565b9350610396602086016102d0565b9250604085013567ffffffffffffffff8111156103b257600080fd5b6103be87828801610320565b95989497509550505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146102e857600080fd5b600080828403608081121561040257600080fd5b61040b846103ca565b925060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08201121561043d57600080fd5b506040516060810181811067ffffffffffffffff82111715610488577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052610497602085016102d0565b81526104a5604085016102d0565b60208201526060939093013560408401525092909150565b6000806000604084860312156104d257600080fd5b6104db846103ca565b9250602084013567ffffffffffffffff8111156104f757600080fd5b61050386828701610320565b9497909650939450505050565b60006020828403121561052257600080fd5b815161ffff8116811461053457600080fd5b9392505050565b60005b8381101561055657818101518382015260200161053e565b50506000910152565b602081526000825180602084015261057e81604085016020870161053b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60208152816020820152818360408301376000818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b7fffff0000000000000000000000000000000000000000000000000000000000008360f01b1681526000825161063a81600285016020870161053b565b91909101600201939250505056fea26469706673582212209070c3991e945bd746287038230e8498b4d72589762bb6bdf707e4db5ed61fab64736f6c63430008140033", }
InterchainModuleMockMetaData contains all meta data concerning the InterchainModuleMock contract.
var SafeCastABI = SafeCastMetaData.ABI
SafeCastABI is the input ABI used to generate the binding from. Deprecated: Use SafeCastMetaData.ABI instead.
var SafeCastBin = SafeCastMetaData.Bin
SafeCastBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeCastMetaData.Bin instead.
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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206122f9f00cdf1d634692d38bbd0ca38e09f5590825aab6f9dd7c8b848ec25cf564736f6c63430008140033",
}
SafeCastMetaData contains all meta data concerning the SafeCast contract.
var TypeCastsABI = TypeCastsMetaData.ABI
TypeCastsABI is the input ABI used to generate the binding from. Deprecated: Use TypeCastsMetaData.ABI instead.
var TypeCastsBin = TypeCastsMetaData.Bin
TypeCastsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TypeCastsMetaData.Bin instead.
var TypeCastsMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b2ee7b7731a103b6dede58ca8b08fc24cf9ed239fbfab643eedcf700f7e24c2c64736f6c63430008140033",
}
TypeCastsMetaData contains all meta data concerning the TypeCasts contract.
var VersionedPayloadLibABI = VersionedPayloadLibMetaData.ABI
VersionedPayloadLibABI is the input ABI used to generate the binding from. Deprecated: Use VersionedPayloadLibMetaData.ABI instead.
var VersionedPayloadLibBin = VersionedPayloadLibMetaData.Bin
VersionedPayloadLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use VersionedPayloadLibMetaData.Bin instead.
var VersionedPayloadLibMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"versionedPayload\",\"type\":\"bytes\"}],\"name\":\"VersionedPayload__PayloadTooShort\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VersionedPayload__PrecompileFailed\",\"type\":\"error\"}]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212203d9d76a8e07b01fde003e344a37bf0e98e1319f5b35abbb95bb2a293aa83630c64736f6c63430008140033",
}
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) CheckBatchVerification ¶ added in v0.10.0
func (_IInterchainDB *IInterchainDBCaller) CheckBatchVerification(opts *bind.CallOpts, dstModule common.Address, batch InterchainBatch) (*big.Int, error)
CheckBatchVerification is a free data retrieval call binding the contract method 0xe39682c1.
Solidity: function checkBatchVerification(address dstModule, (uint64,uint64,bytes32) batch) 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) GetBatchRoot ¶ added in v0.10.0
func (_IInterchainDB *IInterchainDBCaller) GetBatchRoot(opts *bind.CallOpts, entry InterchainEntry, proof [][32]byte) ([32]byte, error)
GetBatchRoot is a free data retrieval call binding the contract method 0x0166204f.
Solidity: function getBatchRoot((uint64,uint64,uint64,bytes32,bytes32) entry, bytes32[] proof) pure 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)
func (*IInterchainDBCaller) GetVersionedBatch ¶ added in v0.10.0
func (_IInterchainDB *IInterchainDBCaller) GetVersionedBatch(opts *bind.CallOpts, dbNonce uint64) ([]byte, error)
GetVersionedBatch is a free data retrieval call binding the contract method 0xc7265781.
Solidity: function getVersionedBatch(uint64 dbNonce) view returns(bytes)
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) CheckBatchVerification ¶ added in v0.10.0
func (_IInterchainDB *IInterchainDBCallerSession) CheckBatchVerification(dstModule common.Address, batch InterchainBatch) (*big.Int, error)
CheckBatchVerification is a free data retrieval call binding the contract method 0xe39682c1.
Solidity: function checkBatchVerification(address dstModule, (uint64,uint64,bytes32) batch) 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) GetBatchRoot ¶ added in v0.10.0
func (_IInterchainDB *IInterchainDBCallerSession) GetBatchRoot(entry InterchainEntry, proof [][32]byte) ([32]byte, error)
GetBatchRoot is a free data retrieval call binding the contract method 0x0166204f.
Solidity: function getBatchRoot((uint64,uint64,uint64,bytes32,bytes32) entry, bytes32[] proof) pure 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)
func (*IInterchainDBCallerSession) GetVersionedBatch ¶ added in v0.10.0
func (_IInterchainDB *IInterchainDBCallerSession) GetVersionedBatch(dbNonce uint64) ([]byte, error)
GetVersionedBatch is a free data retrieval call binding the contract method 0xc7265781.
Solidity: function getVersionedBatch(uint64 dbNonce) view returns(bytes)
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) CheckBatchVerification ¶ added in v0.10.0
func (_IInterchainDB *IInterchainDBSession) CheckBatchVerification(dstModule common.Address, batch InterchainBatch) (*big.Int, error)
CheckBatchVerification is a free data retrieval call binding the contract method 0xe39682c1.
Solidity: function checkBatchVerification(address dstModule, (uint64,uint64,bytes32) batch) 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) GetBatchRoot ¶ added in v0.10.0
func (_IInterchainDB *IInterchainDBSession) GetBatchRoot(entry InterchainEntry, proof [][32]byte) ([32]byte, error)
GetBatchRoot is a free data retrieval call binding the contract method 0x0166204f.
Solidity: function getBatchRoot((uint64,uint64,uint64,bytes32,bytes32) entry, bytes32[] proof) pure 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) GetVersionedBatch ¶ added in v0.10.0
func (_IInterchainDB *IInterchainDBSession) GetVersionedBatch(dbNonce uint64) ([]byte, error)
GetVersionedBatch is a free data retrieval call binding the contract method 0xc7265781.
Solidity: function getVersionedBatch(uint64 dbNonce) view returns(bytes)
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, batchNonce uint64, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x6b8d469f.
Solidity: function requestBatchVerification(uint64 dstChainId, uint64 batchNonce, 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, batchNonce uint64, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x6b8d469f.
Solidity: function requestBatchVerification(uint64 dstChainId, uint64 batchNonce, 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, batchNonce uint64, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x6b8d469f.
Solidity: function requestBatchVerification(uint64 dstChainId, uint64 batchNonce, bytes versionedBatch) payable returns()
type InterchainBatch ¶
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, batchNonce uint64, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x6b8d469f.
Solidity: function requestBatchVerification(uint64 dstChainId, uint64 batchNonce, 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, batchNonce uint64, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x6b8d469f.
Solidity: function requestBatchVerification(uint64 dstChainId, uint64 batchNonce, 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, batchNonce uint64, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x6b8d469f.
Solidity: function requestBatchVerification(uint64 dstChainId, uint64 batchNonce, 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
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 ¶
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.