Documentation ¶
Overview ¶
Package interchaindb contains the abi and contract bindings for the interchaindb contract.
Code generated by synapse abigen DO NOT EDIT.
Index ¶
- Variables
- type BatchingV1Lib
- type BatchingV1LibCaller
- type BatchingV1LibCallerRaw
- type BatchingV1LibCallerSession
- type BatchingV1LibFilterer
- type BatchingV1LibRaw
- func (_BatchingV1Lib *BatchingV1LibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BatchingV1Lib *BatchingV1LibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BatchingV1Lib *BatchingV1LibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BatchingV1LibSession
- type BatchingV1LibTransactor
- type BatchingV1LibTransactorRaw
- type BatchingV1LibTransactorSession
- 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 InterchainDB
- type InterchainDBCaller
- func (_InterchainDB *InterchainDBCaller) CheckBatchVerification(opts *bind.CallOpts, dstModule common.Address, batch InterchainBatch) (*big.Int, error)
- func (_InterchainDB *InterchainDBCaller) DBVERSION(opts *bind.CallOpts) (uint16, error)
- func (_InterchainDB *InterchainDBCaller) GetBatch(opts *bind.CallOpts, dbNonce uint64) (InterchainBatch, error)
- func (_InterchainDB *InterchainDBCaller) GetBatchLeafs(opts *bind.CallOpts, dbNonce uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCaller) GetBatchLeafsPaginated(opts *bind.CallOpts, dbNonce uint64, start uint64, end uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCaller) GetBatchRoot(opts *bind.CallOpts, entry InterchainEntry, proof [][32]byte) ([32]byte, error)
- func (_InterchainDB *InterchainDBCaller) GetBatchSize(opts *bind.CallOpts, dbNonce uint64) (uint64, error)
- func (_InterchainDB *InterchainDBCaller) GetDBNonce(opts *bind.CallOpts) (uint64, error)
- func (_InterchainDB *InterchainDBCaller) GetEntryProof(opts *bind.CallOpts, dbNonce uint64, entryIndex uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCaller) GetEntryValue(opts *bind.CallOpts, dbNonce uint64, entryIndex uint64) ([32]byte, error)
- func (_InterchainDB *InterchainDBCaller) GetInterchainFee(opts *bind.CallOpts, dstChainId uint64, srcModules []common.Address) (*big.Int, error)
- func (_InterchainDB *InterchainDBCaller) GetNextEntryIndex(opts *bind.CallOpts) (struct{ ... }, error)
- func (_InterchainDB *InterchainDBCaller) GetVersionedBatch(opts *bind.CallOpts, dbNonce uint64) ([]byte, error)
- type InterchainDBCallerRaw
- type InterchainDBCallerSession
- func (_InterchainDB *InterchainDBCallerSession) CheckBatchVerification(dstModule common.Address, batch InterchainBatch) (*big.Int, error)
- func (_InterchainDB *InterchainDBCallerSession) DBVERSION() (uint16, error)
- func (_InterchainDB *InterchainDBCallerSession) GetBatch(dbNonce uint64) (InterchainBatch, error)
- func (_InterchainDB *InterchainDBCallerSession) GetBatchLeafs(dbNonce uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCallerSession) GetBatchLeafsPaginated(dbNonce uint64, start uint64, end uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCallerSession) GetBatchRoot(entry InterchainEntry, proof [][32]byte) ([32]byte, error)
- func (_InterchainDB *InterchainDBCallerSession) GetBatchSize(dbNonce uint64) (uint64, error)
- func (_InterchainDB *InterchainDBCallerSession) GetDBNonce() (uint64, error)
- func (_InterchainDB *InterchainDBCallerSession) GetEntryProof(dbNonce uint64, entryIndex uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCallerSession) GetEntryValue(dbNonce uint64, entryIndex uint64) ([32]byte, error)
- func (_InterchainDB *InterchainDBCallerSession) GetInterchainFee(dstChainId uint64, srcModules []common.Address) (*big.Int, error)
- func (_InterchainDB *InterchainDBCallerSession) GetNextEntryIndex() (struct{ ... }, error)
- func (_InterchainDB *InterchainDBCallerSession) GetVersionedBatch(dbNonce uint64) ([]byte, error)
- type InterchainDBEvents
- type InterchainDBEventsCaller
- type InterchainDBEventsCallerRaw
- type InterchainDBEventsCallerSession
- type InterchainDBEventsFilterer
- func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchFinalized(opts *bind.FilterOpts, dbNonce []uint64) (*InterchainDBEventsInterchainBatchFinalizedIterator, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts, dstChainId []uint64, dbNonce []uint64) (*InterchainDBEventsInterchainBatchVerificationRequestedIterator, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts, module []common.Address, srcChainId []uint64, ...) (*InterchainDBEventsInterchainBatchVerifiedIterator, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts, dbNonce []uint64, srcWriter [][32]byte) (*InterchainDBEventsInterchainEntryWrittenIterator, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainBatchFinalized(log types.Log) (*InterchainDBEventsInterchainBatchFinalized, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainBatchVerificationRequested(log types.Log) (*InterchainDBEventsInterchainBatchVerificationRequested, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainBatchVerified(log types.Log) (*InterchainDBEventsInterchainBatchVerified, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainEntryWritten(log types.Log) (*InterchainDBEventsInterchainEntryWritten, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchFinalized(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainBatchFinalized, ...) (event.Subscription, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchVerificationRequested(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchVerified(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainBatchVerified, ...) (event.Subscription, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainEntryWritten(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainEntryWritten, ...) (event.Subscription, error)
- type InterchainDBEventsInterchainBatchFinalized
- type InterchainDBEventsInterchainBatchFinalizedIterator
- type InterchainDBEventsInterchainBatchVerificationRequested
- type InterchainDBEventsInterchainBatchVerificationRequestedIterator
- type InterchainDBEventsInterchainBatchVerified
- type InterchainDBEventsInterchainBatchVerifiedIterator
- type InterchainDBEventsInterchainEntryWritten
- type InterchainDBEventsInterchainEntryWrittenIterator
- type InterchainDBEventsRaw
- func (_InterchainDBEvents *InterchainDBEventsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterchainDBEvents *InterchainDBEventsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterchainDBEvents *InterchainDBEventsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterchainDBEventsSession
- type InterchainDBEventsTransactor
- type InterchainDBEventsTransactorRaw
- type InterchainDBEventsTransactorSession
- type InterchainDBFilterer
- func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchFinalized(opts *bind.FilterOpts, dbNonce []uint64) (*InterchainDBInterchainBatchFinalizedIterator, error)
- func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts, dstChainId []uint64, dbNonce []uint64) (*InterchainDBInterchainBatchVerificationRequestedIterator, error)
- func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts, module []common.Address, srcChainId []uint64, ...) (*InterchainDBInterchainBatchVerifiedIterator, error)
- func (_InterchainDB *InterchainDBFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts, dbNonce []uint64, srcWriter [][32]byte) (*InterchainDBInterchainEntryWrittenIterator, error)
- func (_InterchainDB *InterchainDBFilterer) ParseInterchainBatchFinalized(log types.Log) (*InterchainDBInterchainBatchFinalized, error)
- func (_InterchainDB *InterchainDBFilterer) ParseInterchainBatchVerificationRequested(log types.Log) (*InterchainDBInterchainBatchVerificationRequested, error)
- func (_InterchainDB *InterchainDBFilterer) ParseInterchainBatchVerified(log types.Log) (*InterchainDBInterchainBatchVerified, error)
- func (_InterchainDB *InterchainDBFilterer) ParseInterchainEntryWritten(log types.Log) (*InterchainDBInterchainEntryWritten, error)
- func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchFinalized(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainBatchFinalized, ...) (event.Subscription, error)
- func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchVerificationRequested(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchVerified(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainBatchVerified, ...) (event.Subscription, error)
- func (_InterchainDB *InterchainDBFilterer) WatchInterchainEntryWritten(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainEntryWritten, ...) (event.Subscription, error)
- type InterchainDBInterchainBatchFinalized
- type InterchainDBInterchainBatchFinalizedIterator
- type InterchainDBInterchainBatchVerificationRequested
- type InterchainDBInterchainBatchVerificationRequestedIterator
- type InterchainDBInterchainBatchVerified
- type InterchainDBInterchainBatchVerifiedIterator
- type InterchainDBInterchainEntryWritten
- type InterchainDBInterchainEntryWrittenIterator
- type InterchainDBRaw
- func (_InterchainDB *InterchainDBRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterchainDB *InterchainDBRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterchainDBRef
- type InterchainDBSession
- func (_InterchainDB *InterchainDBSession) CheckBatchVerification(dstModule common.Address, batch InterchainBatch) (*big.Int, error)
- func (_InterchainDB *InterchainDBSession) DBVERSION() (uint16, error)
- func (_InterchainDB *InterchainDBSession) GetBatch(dbNonce uint64) (InterchainBatch, error)
- func (_InterchainDB *InterchainDBSession) GetBatchLeafs(dbNonce uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBSession) GetBatchLeafsPaginated(dbNonce uint64, start uint64, end uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBSession) GetBatchRoot(entry InterchainEntry, proof [][32]byte) ([32]byte, error)
- func (_InterchainDB *InterchainDBSession) GetBatchSize(dbNonce uint64) (uint64, error)
- func (_InterchainDB *InterchainDBSession) GetDBNonce() (uint64, error)
- func (_InterchainDB *InterchainDBSession) GetEntryProof(dbNonce uint64, entryIndex uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBSession) GetEntryValue(dbNonce uint64, entryIndex uint64) ([32]byte, error)
- func (_InterchainDB *InterchainDBSession) GetInterchainFee(dstChainId uint64, srcModules []common.Address) (*big.Int, error)
- func (_InterchainDB *InterchainDBSession) GetNextEntryIndex() (struct{ ... }, error)
- func (_InterchainDB *InterchainDBSession) GetVersionedBatch(dbNonce uint64) ([]byte, error)
- func (_InterchainDB *InterchainDBSession) RequestBatchVerification(dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBSession) VerifyRemoteBatch(versionedBatch []byte) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBSession) WriteEntryWithVerification(dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
- type InterchainDBTransactor
- func (_InterchainDB *InterchainDBTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId uint64, dbNonce uint64, ...) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactor) VerifyRemoteBatch(opts *bind.TransactOpts, versionedBatch []byte) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactor) WriteEntry(opts *bind.TransactOpts, dataHash [32]byte) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactor) WriteEntryWithVerification(opts *bind.TransactOpts, dstChainId uint64, dataHash [32]byte, ...) (*types.Transaction, error)
- type InterchainDBTransactorRaw
- type InterchainDBTransactorSession
- func (_InterchainDB *InterchainDBTransactorSession) RequestBatchVerification(dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactorSession) VerifyRemoteBatch(versionedBatch []byte) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactorSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactorSession) WriteEntryWithVerification(dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
- 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 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 BatchingV1LibABI = BatchingV1LibMetaData.ABI
BatchingV1LibABI is the input ABI used to generate the binding from. Deprecated: Use BatchingV1LibMetaData.ABI instead.
var BatchingV1LibBin = BatchingV1LibMetaData.Bin
BatchingV1LibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BatchingV1LibMetaData.Bin instead.
var BatchingV1LibMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"BatchingV1__EntryIndexNotZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BatchingV1__ProofNotEmpty\",\"type\":\"error\"}]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c409a4d0c26822834e653f1f2cef492c9e745f04a504c0e66c09b305e4b342af64736f6c63430008140033",
}
BatchingV1LibMetaData contains all meta data concerning the BatchingV1Lib contract.
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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122055ac2861a25cd4b9af4d0d48f900ce01c87e48cef21cde0c9d186688759b83fb64736f6c63430008140033",
}
InterchainBatchLibMetaData contains all meta data concerning the InterchainBatchLib contract.
var InterchainDBABI = InterchainDBMetaData.ABI
InterchainDBABI is the input ABI used to generate the binding from. Deprecated: Use InterchainDBMetaData.ABI instead.
var InterchainDBBin = InterchainDBMetaData.Bin
InterchainDBBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InterchainDBMetaData.Bin instead.
var InterchainDBEventsABI = InterchainDBEventsMetaData.ABI
InterchainDBEventsABI is the input ABI used to generate the binding from. Deprecated: Use InterchainDBEventsMetaData.ABI instead.
var InterchainDBEventsMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"InterchainBatchVerificationRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchVerified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"srcWriter\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"name\":\"InterchainEntryWritten\",\"type\":\"event\"}]",
}
InterchainDBEventsMetaData contains all meta data concerning the InterchainDBEvents contract.
var InterchainDBFuncSigs = InterchainDBMetaData.Sigs
Deprecated: Use InterchainDBMetaData.Sigs instead. InterchainDBFuncSigs maps the 4-byte function signature to its string representation.
var InterchainDBMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"BatchingV1__EntryIndexNotZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BatchingV1__ProofNotEmpty\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"existingBatchRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"newBatch\",\"type\":\"tuple\"}],\"name\":\"InterchainDB__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\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintDowncast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"versionedPayload\",\"type\":\"bytes\"}],\"name\":\"VersionedPayload__PayloadTooShort\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"InterchainBatchVerificationRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchVerified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"srcWriter\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"name\":\"InterchainEntryWritten\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DB_VERSION\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dstModule\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"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\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"getBatchLeafsPaginated\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"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\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNextEntryIndex\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dbNonce\",\"type\":\"uint64\"}],\"name\":\"getVersionedBatch\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"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[])", }, Bin: "0x608060405234801561001057600080fd5b50611dfd806100206000396000f3fe60806040526004361061010e5760003560e01c8063b8ba4ba1116100a5578063e39682c111610074578063f338140e11610059578063f338140e1461032c578063fc1ebc9114610341578063fec8dfb91461036157600080fd5b8063e39682c1146102f9578063eb20fbfd1461031957600080fd5b8063b8ba4ba11461026c578063c72657811461028c578063d180db6f146102b9578063d961a48e146102d957600080fd5b80636c49312c116100e15780636c49312c146101dc578063727a5f91146101f1578063888775d91461022a578063aa2f06ae1461025757600080fd5b80630166204f1461011357806315f53956146101465780631c679ac11461016e5780632ad8c7061461019b575b600080fd5b34801561011f57600080fd5b5061013361012e3660046115d5565b610381565b6040519081526020015b60405180910390f35b34801561015257600080fd5b5061015b600181565b60405161ffff909116815260200161013d565b34801561017a57600080fd5b5061018e6101893660046116bc565b6103a4565b60405161013d91906116ff565b3480156101a757600080fd5b506101bb6101b6366004611743565b610509565b6040805167ffffffffffffffff93841681529290911660208301520161013d565b6101ef6101ea36600461175c565b61052d565b005b3480156101fd57600080fd5b5061021161020c3660046117bd565b61059e565b60405167ffffffffffffffff909116815260200161013d565b34801561023657600080fd5b5061024a6102453660046117bd565b6105cf565b60405161013d91906117d8565b34801561026357600080fd5b506101bb61062f565b34801561027857600080fd5b50610133610287366004611808565b610644565b34801561029857600080fd5b506102ac6102a73660046117bd565b610663565b60405161013d91906118bc565b3480156102c557600080fd5b506101336102d43660046118cf565b610685565b3480156102e557600080fd5b506101ef6102f4366004611902565b6106c2565b34801561030557600080fd5b50610133610314366004611998565b6107cb565b6101bb610327366004611a67565b610905565b34801561033857600080fd5b50600054610211565b34801561034d57600080fd5b5061018e61035c3660046117bd565b6109d8565b34801561036d57600080fd5b5061018e61037c3660046118cf565b610a93565b600061039c8460600151856080015186604001518686610ab5565b949350505050565b606060006103b18561059e565b67ffffffffffffffff1690508267ffffffffffffffff168467ffffffffffffffff1611806103e85750808367ffffffffffffffff16115b15610440576040517f72833e0d00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff80871660048301528086166024830152841660448201526064015b60405180910390fd5b61044a8484611ad8565b67ffffffffffffffff1667ffffffffffffffff81111561046c5761046c611544565b604051908082528060200260200182016040528015610495578160200160208202803683370190505b509150835b8367ffffffffffffffff168167ffffffffffffffff161015610500576104c08682610685565b836104cb8784611ad8565b67ffffffffffffffff16815181106104e5576104e5611af9565b60209081029190910101526104f981611b28565b905061049a565b50509392505050565b600080600061051784610b6d565b6020810151604090910151909590945092505050565b83468167ffffffffffffffff160361057d576040517fd9e106b000000000000000000000000000000000000000000000000000000000815267ffffffffffffffff82166004820152602401610437565b6000610588856105cf565b905061059686828686610cb1565b505050505050565b6000805467ffffffffffffffff168267ffffffffffffffff16106105c35760006105c6565b60015b60ff1692915050565b60408051606081018252600080825260208201819052918101919091526000805467ffffffffffffffff168367ffffffffffffffff161061061157600061061c565b61061c836000610685565b90506106288382610e8e565b9392505050565b60008061063b60005490565b92600092509050565b600061065a8461065360005490565b8585610eea565b95945050505050565b60606000610670836105cf565b90506106286001610680836110a1565b611114565b60006106918383611140565b60008367ffffffffffffffff16815481106106ae576106ae611af9565b906000526020600020015490505b92915050565b60006106ce83836111bb565b905060006107058260000151836020015167ffffffffffffffff1660409190911b6fffffffffffffffff0000000000000000161790565b3360009081526001602081815260408084206fffffffffffffffffffffffffffffffff861685528252808420815180830190925280548083529301549181019190915292935090036107635761075c338385611299565b5050505050565b8260400151816020015103610779575050505050565b60208101516000036107905761075c338385611299565b60208101516040517f5aa9d5ae0000000000000000000000000000000000000000000000000000000081526104379133918690600401611b4f565b80516000904667ffffffffffffffff82160361081f576040517fd9e106b000000000000000000000000000000000000000000000000000000000815267ffffffffffffffff82166004820152602401610437565b60006108548460000151856020015167ffffffffffffffff1660409190911b6fffffffffffffffff0000000000000000161790565b73ffffffffffffffffffffffffffffffffffffffff861660009081526001602081815260408084206fffffffffffffffffffffffffffffffff861685528252808420815180830190925280548083529301549181019190915292935090036108c1576000935050506108fe565b84604001518160200151146108f6577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6108f9565b80515b935050505b5092915050565b60008085468167ffffffffffffffff1603610958576040517fd9e106b000000000000000000000000000000000000000000000000000000000815267ffffffffffffffff82166004820152602401610437565b600061096387610b6d565b602081015160408201519095509350905060006109be856109b98460006106bc82606001518360800151604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b610e8e565b90506109cc89828989610cb1565b50505094509492505050565b606060006109e58361059e565b67ffffffffffffffff1690508067ffffffffffffffff811115610a0a57610a0a611544565b604051908082528060200260200182016040528015610a33578160200160208202803683370190505b50915060005b818167ffffffffffffffff161015610a8c57610a558482610685565b838267ffffffffffffffff1681518110610a7157610a71611af9565b6020908102919091010152610a8581611b28565b9050610a39565b5050919050565b6060610a9f8383611140565b5050604080516000815260208101909152919050565b600067ffffffffffffffff841615610b05576040517fd9c5be6100000000000000000000000000000000000000000000000000000000815267ffffffffffffffff85166004820152602401610437565b8115610b3d576040517f3537219200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50506040805160208082019690965280820194909452805180850382018152606090940190525050805191012090565b6040805160a081018252600080825260208201819052918101829052606081018290526080810182905281549091610ba8908290338661134e565b91506000610beb8360006106bc82606001518360800151604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b600080546001810182559080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5630181905590503360408051600081526020810187905267ffffffffffffffff8516917fb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d910160405180910390a38167ffffffffffffffff167fdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace82604051610ca291815260200190565b60405180910390a25050919050565b600080610cc48686602001518686610eea565b9150915080341015610d0b576040517f805af60d00000000000000000000000000000000000000000000000000000000815234600482015260248101829052604401610437565b80341115610d4857610d1d8134611ba2565b82600081518110610d3057610d30611af9565b60200260200101818151610d449190611bb5565b9052505b826000610d596001610680896110a1565b905060005b82811015610e2a57868682818110610d7857610d78611af9565b9050602002016020810190610d8d9190611bc8565b73ffffffffffffffffffffffffffffffffffffffff16636b8d469f868381518110610dba57610dba611af9565b60200260200101518b8b60200151866040518563ffffffff1660e01b8152600401610de793929190611be3565b6000604051808303818588803b158015610e0057600080fd5b505af1158015610e14573d6000803e3d6000fd5b505050505080610e2390611c10565b9050610d5e565b50866020015167ffffffffffffffff168867ffffffffffffffff167fddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac189604001518989604051610e7c93929190611c48565b60405180910390a35050505050505050565b60408051606081018252600080825260208201819052918101919091526040518060600160405280610ebf466113ea565b67ffffffffffffffff1681526020018467ffffffffffffffff16815260200183815250905092915050565b6060600082808203610f28576040517f45e2ba7a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8067ffffffffffffffff811115610f4157610f41611544565b604051908082528060200260200182016040528015610f6a578160200160208202803683370190505b50925060005b8181101561109657858582818110610f8a57610f8a611af9565b9050602002016020810190610f9f9190611bc8565b6040517f1888f4d400000000000000000000000000000000000000000000000000000000815267ffffffffffffffff808b1660048301528916602482015273ffffffffffffffffffffffffffffffffffffffff9190911690631888f4d490604401602060405180830381865afa15801561101d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110419190611cab565b84828151811061105357611053611af9565b60200260200101818152505083818151811061107157611071611af9565b6020026020010151836110849190611bb5565b925061108f81611c10565b9050610f70565b505094509492505050565b60606110d68260000151836020015167ffffffffffffffff1660409190911b6fffffffffffffffff0000000000000000161790565b60408084015181516fffffffffffffffffffffffffffffffff9093166020840152908201526060016040516020818303038152906040529050919050565b60608282604051602001611129929190611cc4565b604051602081830303815290604052905092915050565b600061114b8361059e565b90508067ffffffffffffffff168267ffffffffffffffff16106111b6576040517f14c90ab800000000000000000000000000000000000000000000000000000000815267ffffffffffffffff8085166004830152808416602483015282166044820152606401610437565b505050565b60408051606081018252600080825260208201819052918101829052906111e2848461143e565b905061ffff811660011461122f576040517f3199e11700000000000000000000000000000000000000000000000000000000815261ffff8216600482015260016024820152604401610437565b61124161123c8585611488565b6114e3565b915046826000015167ffffffffffffffff16036108fe5781516040517fd9e106b000000000000000000000000000000000000000000000000000000000815267ffffffffffffffff9091166004820152602401610437565b6040805180820182524281528282018051602080840191825273ffffffffffffffffffffffffffffffffffffffff8816600081815260018084528782206fffffffffffffffffffffffffffffffff8b16835284529087902095518655925194909201939093558285015185519251945194855267ffffffffffffffff9081169492169290917f76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927910160405180910390a4505050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526040518060a0016040528061138d466113ea565b67ffffffffffffffff1681526020018667ffffffffffffffff1681526020018567ffffffffffffffff1681526020016113d98573ffffffffffffffffffffffffffffffffffffffff1690565b815260200192909252509392505050565b600067ffffffffffffffff82111561143a57604080517f6dfcc650000000000000000000000000000000000000000000000000000000008152600481019190915260248101839052604401610437565b5090565b6000600282101561147f5782826040517fb0818b62000000000000000000000000000000000000000000000000000000008152600401610437929190611d0f565b50503560f01c90565b36600060028310156114ca5783836040517fb0818b62000000000000000000000000000000000000000000000000000000008152600401610437929190611d0f565b6114d78360028187611d5c565b915091505b9250929050565b604080516060810182526000808252602082018190529181018290529061150c84840185611d86565b604084015290506115298167ffffffffffffffff604082901c1691565b67ffffffffffffffff90811660208501521682525092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b803567ffffffffffffffff8116811461158b57600080fd5b919050565b60008083601f8401126115a257600080fd5b50813567ffffffffffffffff8111156115ba57600080fd5b6020830191508360208260051b85010111156114dc57600080fd5b600080600083850360c08112156115eb57600080fd5b60a08112156115f957600080fd5b5060405160a0810167ffffffffffffffff8282108183111715611645577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b8160405261165287611573565b835261166060208801611573565b602084015261167160408801611573565b6040840152606087013560608401526080870135608084015282955060a08701359250808311156116a157600080fd5b50506116af86828701611590565b9497909650939450505050565b6000806000606084860312156116d157600080fd5b6116da84611573565b92506116e860208501611573565b91506116f660408501611573565b90509250925092565b6020808252825182820181905260009190848201906040850190845b818110156117375783518352928401929184019160010161171b565b50909695505050505050565b60006020828403121561175557600080fd5b5035919050565b6000806000806060858703121561177257600080fd5b61177b85611573565b935061178960208601611573565b9250604085013567ffffffffffffffff8111156117a557600080fd5b6117b187828801611590565b95989497509550505050565b6000602082840312156117cf57600080fd5b61062882611573565b815167ffffffffffffffff90811682526020808401519091169082015260408083015190820152606081016106bc565b60008060006040848603121561181d57600080fd5b61182684611573565b9250602084013567ffffffffffffffff81111561184257600080fd5b6116af86828701611590565b60005b83811015611869578181015183820152602001611851565b50506000910152565b6000815180845261188a81602086016020860161184e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006106286020830184611872565b600080604083850312156118e257600080fd5b6118eb83611573565b91506118f960208401611573565b90509250929050565b6000806020838503121561191557600080fd5b823567ffffffffffffffff8082111561192d57600080fd5b818501915085601f83011261194157600080fd5b81358181111561195057600080fd5b86602082850101111561196257600080fd5b60209290920196919550909350505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461158b57600080fd5b60008082840360808112156119ac57600080fd5b6119b584611974565b925060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0820112156119e757600080fd5b506040516060810181811067ffffffffffffffff82111715611a32577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052611a4160208501611573565b8152611a4f60408501611573565b60208201526060939093013560408401525092909150565b60008060008060608587031215611a7d57600080fd5b611a8685611573565b935060208501359250604085013567ffffffffffffffff8111156117a557600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b67ffffffffffffffff8281168282160390808211156108fe576108fe611aa9565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600067ffffffffffffffff808316818103611b4557611b45611aa9565b6001019392505050565b73ffffffffffffffffffffffffffffffffffffffff841681526020808201849052825167ffffffffffffffff90811660408085019190915291840151166060830152820151608082015260a0810161039c565b818103818111156106bc576106bc611aa9565b808201808211156106bc576106bc611aa9565b600060208284031215611bda57600080fd5b61062882611974565b600067ffffffffffffffff80861683528085166020840152506060604083015261065a6060830184611872565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611c4157611c41611aa9565b5060010190565b83815260406020808301829052908201839052600090849060608401835b86811015611c9f5773ffffffffffffffffffffffffffffffffffffffff611c8c85611974565b1682529282019290820190600101611c66565b50979650505050505050565b600060208284031215611cbd57600080fd5b5051919050565b7fffff0000000000000000000000000000000000000000000000000000000000008360f01b16815260008251611d0181600285016020870161184e565b919091016002019392505050565b60208152816020820152818360408301376000818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b60008085851115611d6c57600080fd5b83861115611d7957600080fd5b5050820193919092039150565b60008060408385031215611d9957600080fd5b82356fffffffffffffffffffffffffffffffff81168114611db957600080fd5b94602093909301359350505056fea2646970667358221220e288bc9cb1c096f89a0da02ae0353d44f6de0d1230536b6a2b17cfcea00c583564736f6c63430008140033", }
InterchainDBMetaData contains all meta data concerning the InterchainDB 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122058dc206f46b8bd8df93b47be485f3752d42e4f1d6a622c646a10773d8172fdbe64736f6c63430008140033",
}
InterchainEntryLibMetaData contains all meta data concerning the InterchainEntryLib 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f040f698d96380a387445a68d5c9028d230f194a10373042a7a9ba89cc928c7464736f6c63430008140033",
}
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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202e92cbfb006c3e23db78b2472287abb2da7d12d259aba0066c8cdb3de23e7f5a64736f6c63430008140033",
}
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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e512ea18ea133d65b68e9660035a5faf448e277a3922b9af8426a62c954149e864736f6c63430008140033",
}
VersionedPayloadLibMetaData contains all meta data concerning the VersionedPayloadLib contract.
Functions ¶
This section is empty.
Types ¶
type BatchingV1Lib ¶ added in v0.10.0
type BatchingV1Lib struct { BatchingV1LibCaller // Read-only binding to the contract BatchingV1LibTransactor // Write-only binding to the contract BatchingV1LibFilterer // Log filterer for contract events }
BatchingV1Lib is an auto generated Go binding around an Ethereum contract.
func DeployBatchingV1Lib ¶ added in v0.10.0
func DeployBatchingV1Lib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BatchingV1Lib, error)
DeployBatchingV1Lib deploys a new Ethereum contract, binding an instance of BatchingV1Lib to it.
func NewBatchingV1Lib ¶ added in v0.10.0
func NewBatchingV1Lib(address common.Address, backend bind.ContractBackend) (*BatchingV1Lib, error)
NewBatchingV1Lib creates a new instance of BatchingV1Lib, bound to a specific deployed contract.
type BatchingV1LibCaller ¶ added in v0.10.0
type BatchingV1LibCaller struct {
// contains filtered or unexported fields
}
BatchingV1LibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBatchingV1LibCaller ¶ added in v0.10.0
func NewBatchingV1LibCaller(address common.Address, caller bind.ContractCaller) (*BatchingV1LibCaller, error)
NewBatchingV1LibCaller creates a new read-only instance of BatchingV1Lib, bound to a specific deployed contract.
type BatchingV1LibCallerRaw ¶ added in v0.10.0
type BatchingV1LibCallerRaw struct {
Contract *BatchingV1LibCaller // Generic read-only contract binding to access the raw methods on
}
BatchingV1LibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BatchingV1LibCallerRaw) Call ¶ added in v0.10.0
func (_BatchingV1Lib *BatchingV1LibCallerRaw) 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 BatchingV1LibCallerSession ¶ added in v0.10.0
type BatchingV1LibCallerSession struct { Contract *BatchingV1LibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BatchingV1LibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BatchingV1LibFilterer ¶ added in v0.10.0
type BatchingV1LibFilterer struct {
// contains filtered or unexported fields
}
BatchingV1LibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBatchingV1LibFilterer ¶ added in v0.10.0
func NewBatchingV1LibFilterer(address common.Address, filterer bind.ContractFilterer) (*BatchingV1LibFilterer, error)
NewBatchingV1LibFilterer creates a new log filterer instance of BatchingV1Lib, bound to a specific deployed contract.
type BatchingV1LibRaw ¶ added in v0.10.0
type BatchingV1LibRaw struct {
Contract *BatchingV1Lib // Generic contract binding to access the raw methods on
}
BatchingV1LibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BatchingV1LibRaw) Call ¶ added in v0.10.0
func (_BatchingV1Lib *BatchingV1LibRaw) 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 (*BatchingV1LibRaw) Transact ¶ added in v0.10.0
func (_BatchingV1Lib *BatchingV1LibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BatchingV1LibRaw) Transfer ¶ added in v0.10.0
func (_BatchingV1Lib *BatchingV1LibRaw) 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 BatchingV1LibSession ¶ added in v0.10.0
type BatchingV1LibSession struct { Contract *BatchingV1Lib // 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 }
BatchingV1LibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BatchingV1LibTransactor ¶ added in v0.10.0
type BatchingV1LibTransactor struct {
// contains filtered or unexported fields
}
BatchingV1LibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBatchingV1LibTransactor ¶ added in v0.10.0
func NewBatchingV1LibTransactor(address common.Address, transactor bind.ContractTransactor) (*BatchingV1LibTransactor, error)
NewBatchingV1LibTransactor creates a new write-only instance of BatchingV1Lib, bound to a specific deployed contract.
type BatchingV1LibTransactorRaw ¶ added in v0.10.0
type BatchingV1LibTransactorRaw struct {
Contract *BatchingV1LibTransactor // Generic write-only contract binding to access the raw methods on
}
BatchingV1LibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BatchingV1LibTransactorRaw) Transact ¶ added in v0.10.0
func (_BatchingV1Lib *BatchingV1LibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BatchingV1LibTransactorRaw) Transfer ¶ added in v0.10.0
func (_BatchingV1Lib *BatchingV1LibTransactorRaw) 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 BatchingV1LibTransactorSession ¶ added in v0.10.0
type BatchingV1LibTransactorSession struct { Contract *BatchingV1LibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BatchingV1LibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
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.3
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.3
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.3
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 InterchainDB ¶
type InterchainDB struct { InterchainDBCaller // Read-only binding to the contract InterchainDBTransactor // Write-only binding to the contract InterchainDBFilterer // Log filterer for contract events }
InterchainDB is an auto generated Go binding around an Ethereum contract.
func DeployInterchainDB ¶
func DeployInterchainDB(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *InterchainDB, error)
DeployInterchainDB deploys a new Ethereum contract, binding an instance of InterchainDB to it.
func NewInterchainDB ¶
func NewInterchainDB(address common.Address, backend bind.ContractBackend) (*InterchainDB, error)
NewInterchainDB creates a new instance of InterchainDB, bound to a specific deployed contract.
type InterchainDBCaller ¶
type InterchainDBCaller struct {
// contains filtered or unexported fields
}
InterchainDBCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterchainDBCaller ¶
func NewInterchainDBCaller(address common.Address, caller bind.ContractCaller) (*InterchainDBCaller, error)
NewInterchainDBCaller creates a new read-only instance of InterchainDB, bound to a specific deployed contract.
func (*InterchainDBCaller) CheckBatchVerification ¶ added in v0.10.0
func (_InterchainDB *InterchainDBCaller) 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 (*InterchainDBCaller) DBVERSION ¶ added in v0.4.0
func (_InterchainDB *InterchainDBCaller) DBVERSION(opts *bind.CallOpts) (uint16, error)
DBVERSION is a free data retrieval call binding the contract method 0x15f53956.
Solidity: function DB_VERSION() view returns(uint16)
func (*InterchainDBCaller) GetBatch ¶
func (_InterchainDB *InterchainDBCaller) GetBatch(opts *bind.CallOpts, dbNonce uint64) (InterchainBatch, error)
GetBatch is a free data retrieval call binding the contract method 0x888775d9.
Solidity: function getBatch(uint64 dbNonce) view returns((uint64,uint64,bytes32))
func (*InterchainDBCaller) GetBatchLeafs ¶
func (_InterchainDB *InterchainDBCaller) GetBatchLeafs(opts *bind.CallOpts, dbNonce uint64) ([][32]byte, error)
GetBatchLeafs is a free data retrieval call binding the contract method 0xfc1ebc91.
Solidity: function getBatchLeafs(uint64 dbNonce) view returns(bytes32[] leafs)
func (*InterchainDBCaller) GetBatchLeafsPaginated ¶
func (_InterchainDB *InterchainDBCaller) GetBatchLeafsPaginated(opts *bind.CallOpts, dbNonce uint64, start uint64, end uint64) ([][32]byte, error)
GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x1c679ac1.
Solidity: function getBatchLeafsPaginated(uint64 dbNonce, uint64 start, uint64 end) view returns(bytes32[] leafs)
func (*InterchainDBCaller) GetBatchRoot ¶ added in v0.10.0
func (_InterchainDB *InterchainDBCaller) 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 (*InterchainDBCaller) GetBatchSize ¶
func (_InterchainDB *InterchainDBCaller) GetBatchSize(opts *bind.CallOpts, dbNonce uint64) (uint64, error)
GetBatchSize is a free data retrieval call binding the contract method 0x727a5f91.
Solidity: function getBatchSize(uint64 dbNonce) view returns(uint64)
func (*InterchainDBCaller) GetDBNonce ¶
func (_InterchainDB *InterchainDBCaller) GetDBNonce(opts *bind.CallOpts) (uint64, error)
GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.
Solidity: function getDBNonce() view returns(uint64)
func (*InterchainDBCaller) GetEntryProof ¶
func (_InterchainDB *InterchainDBCaller) GetEntryProof(opts *bind.CallOpts, dbNonce uint64, entryIndex uint64) ([][32]byte, error)
GetEntryProof is a free data retrieval call binding the contract method 0xfec8dfb9.
Solidity: function getEntryProof(uint64 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)
func (*InterchainDBCaller) GetEntryValue ¶ added in v0.0.3
func (_InterchainDB *InterchainDBCaller) GetEntryValue(opts *bind.CallOpts, dbNonce uint64, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xd180db6f.
Solidity: function getEntryValue(uint64 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*InterchainDBCaller) GetInterchainFee ¶
func (_InterchainDB *InterchainDBCaller) GetInterchainFee(opts *bind.CallOpts, dstChainId uint64, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xb8ba4ba1.
Solidity: function getInterchainFee(uint64 dstChainId, address[] srcModules) view returns(uint256 fee)
func (*InterchainDBCaller) GetNextEntryIndex ¶
func (_InterchainDB *InterchainDBCaller) GetNextEntryIndex(opts *bind.CallOpts) (struct { DbNonce uint64 EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint64 dbNonce, uint64 entryIndex)
func (*InterchainDBCaller) GetVersionedBatch ¶ added in v0.10.0
func (_InterchainDB *InterchainDBCaller) 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 versionedBatch)
type InterchainDBCallerRaw ¶
type InterchainDBCallerRaw struct {
Contract *InterchainDBCaller // Generic read-only contract binding to access the raw methods on
}
InterchainDBCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterchainDBCallerRaw) Call ¶
func (_InterchainDB *InterchainDBCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterchainDBCallerSession ¶
type InterchainDBCallerSession struct { Contract *InterchainDBCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterchainDBCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*InterchainDBCallerSession) CheckBatchVerification ¶ added in v0.10.0
func (_InterchainDB *InterchainDBCallerSession) 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 (*InterchainDBCallerSession) DBVERSION ¶ added in v0.4.0
func (_InterchainDB *InterchainDBCallerSession) DBVERSION() (uint16, error)
DBVERSION is a free data retrieval call binding the contract method 0x15f53956.
Solidity: function DB_VERSION() view returns(uint16)
func (*InterchainDBCallerSession) GetBatch ¶
func (_InterchainDB *InterchainDBCallerSession) GetBatch(dbNonce uint64) (InterchainBatch, error)
GetBatch is a free data retrieval call binding the contract method 0x888775d9.
Solidity: function getBatch(uint64 dbNonce) view returns((uint64,uint64,bytes32))
func (*InterchainDBCallerSession) GetBatchLeafs ¶
func (_InterchainDB *InterchainDBCallerSession) GetBatchLeafs(dbNonce uint64) ([][32]byte, error)
GetBatchLeafs is a free data retrieval call binding the contract method 0xfc1ebc91.
Solidity: function getBatchLeafs(uint64 dbNonce) view returns(bytes32[] leafs)
func (*InterchainDBCallerSession) GetBatchLeafsPaginated ¶
func (_InterchainDB *InterchainDBCallerSession) GetBatchLeafsPaginated(dbNonce uint64, start uint64, end uint64) ([][32]byte, error)
GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x1c679ac1.
Solidity: function getBatchLeafsPaginated(uint64 dbNonce, uint64 start, uint64 end) view returns(bytes32[] leafs)
func (*InterchainDBCallerSession) GetBatchRoot ¶ added in v0.10.0
func (_InterchainDB *InterchainDBCallerSession) 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 (*InterchainDBCallerSession) GetBatchSize ¶
func (_InterchainDB *InterchainDBCallerSession) GetBatchSize(dbNonce uint64) (uint64, error)
GetBatchSize is a free data retrieval call binding the contract method 0x727a5f91.
Solidity: function getBatchSize(uint64 dbNonce) view returns(uint64)
func (*InterchainDBCallerSession) GetDBNonce ¶
func (_InterchainDB *InterchainDBCallerSession) GetDBNonce() (uint64, error)
GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.
Solidity: function getDBNonce() view returns(uint64)
func (*InterchainDBCallerSession) GetEntryProof ¶
func (_InterchainDB *InterchainDBCallerSession) GetEntryProof(dbNonce uint64, entryIndex uint64) ([][32]byte, error)
GetEntryProof is a free data retrieval call binding the contract method 0xfec8dfb9.
Solidity: function getEntryProof(uint64 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)
func (*InterchainDBCallerSession) GetEntryValue ¶ added in v0.0.3
func (_InterchainDB *InterchainDBCallerSession) GetEntryValue(dbNonce uint64, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xd180db6f.
Solidity: function getEntryValue(uint64 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*InterchainDBCallerSession) GetInterchainFee ¶
func (_InterchainDB *InterchainDBCallerSession) GetInterchainFee(dstChainId uint64, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xb8ba4ba1.
Solidity: function getInterchainFee(uint64 dstChainId, address[] srcModules) view returns(uint256 fee)
func (*InterchainDBCallerSession) GetNextEntryIndex ¶
func (_InterchainDB *InterchainDBCallerSession) GetNextEntryIndex() (struct { DbNonce uint64 EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint64 dbNonce, uint64 entryIndex)
func (*InterchainDBCallerSession) GetVersionedBatch ¶ added in v0.10.0
func (_InterchainDB *InterchainDBCallerSession) 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 versionedBatch)
type InterchainDBEvents ¶
type InterchainDBEvents struct { InterchainDBEventsCaller // Read-only binding to the contract InterchainDBEventsTransactor // Write-only binding to the contract InterchainDBEventsFilterer // Log filterer for contract events }
InterchainDBEvents is an auto generated Go binding around an Ethereum contract.
func NewInterchainDBEvents ¶
func NewInterchainDBEvents(address common.Address, backend bind.ContractBackend) (*InterchainDBEvents, error)
NewInterchainDBEvents creates a new instance of InterchainDBEvents, bound to a specific deployed contract.
type InterchainDBEventsCaller ¶
type InterchainDBEventsCaller struct {
// contains filtered or unexported fields
}
InterchainDBEventsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterchainDBEventsCaller ¶
func NewInterchainDBEventsCaller(address common.Address, caller bind.ContractCaller) (*InterchainDBEventsCaller, error)
NewInterchainDBEventsCaller creates a new read-only instance of InterchainDBEvents, bound to a specific deployed contract.
type InterchainDBEventsCallerRaw ¶
type InterchainDBEventsCallerRaw struct {
Contract *InterchainDBEventsCaller // Generic read-only contract binding to access the raw methods on
}
InterchainDBEventsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterchainDBEventsCallerRaw) Call ¶
func (_InterchainDBEvents *InterchainDBEventsCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterchainDBEventsCallerSession ¶
type InterchainDBEventsCallerSession struct { Contract *InterchainDBEventsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterchainDBEventsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type InterchainDBEventsFilterer ¶
type InterchainDBEventsFilterer struct {
// contains filtered or unexported fields
}
InterchainDBEventsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterchainDBEventsFilterer ¶
func NewInterchainDBEventsFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainDBEventsFilterer, error)
NewInterchainDBEventsFilterer creates a new log filterer instance of InterchainDBEvents, bound to a specific deployed contract.
func (*InterchainDBEventsFilterer) FilterInterchainBatchFinalized ¶ added in v0.6.1
func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchFinalized(opts *bind.FilterOpts, dbNonce []uint64) (*InterchainDBEventsInterchainBatchFinalizedIterator, error)
FilterInterchainBatchFinalized is a free log retrieval operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.
Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBEventsFilterer) FilterInterchainBatchVerificationRequested ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts, dstChainId []uint64, dbNonce []uint64) (*InterchainDBEventsInterchainBatchVerificationRequestedIterator, error)
FilterInterchainBatchVerificationRequested is a free log retrieval operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.
Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBEventsFilterer) FilterInterchainBatchVerified ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts, module []common.Address, srcChainId []uint64, dbNonce []uint64) (*InterchainDBEventsInterchainBatchVerifiedIterator, error)
FilterInterchainBatchVerified is a free log retrieval operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.
Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBEventsFilterer) FilterInterchainEntryWritten ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts, dbNonce []uint64, srcWriter [][32]byte) (*InterchainDBEventsInterchainEntryWrittenIterator, error)
FilterInterchainEntryWritten is a free log retrieval operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.
Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)
func (*InterchainDBEventsFilterer) ParseInterchainBatchFinalized ¶ added in v0.6.1
func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainBatchFinalized(log types.Log) (*InterchainDBEventsInterchainBatchFinalized, error)
ParseInterchainBatchFinalized is a log parse operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.
Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBEventsFilterer) ParseInterchainBatchVerificationRequested ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainBatchVerificationRequested(log types.Log) (*InterchainDBEventsInterchainBatchVerificationRequested, error)
ParseInterchainBatchVerificationRequested is a log parse operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.
Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBEventsFilterer) ParseInterchainBatchVerified ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainBatchVerified(log types.Log) (*InterchainDBEventsInterchainBatchVerified, error)
ParseInterchainBatchVerified is a log parse operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.
Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBEventsFilterer) ParseInterchainEntryWritten ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainEntryWritten(log types.Log) (*InterchainDBEventsInterchainEntryWritten, error)
ParseInterchainEntryWritten is a log parse operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.
Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)
func (*InterchainDBEventsFilterer) WatchInterchainBatchFinalized ¶ added in v0.6.1
func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchFinalized(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainBatchFinalized, dbNonce []uint64) (event.Subscription, error)
WatchInterchainBatchFinalized is a free log subscription operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.
Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBEventsFilterer) WatchInterchainBatchVerificationRequested ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchVerificationRequested(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainBatchVerificationRequested, dstChainId []uint64, dbNonce []uint64) (event.Subscription, error)
WatchInterchainBatchVerificationRequested is a free log subscription operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.
Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBEventsFilterer) WatchInterchainBatchVerified ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchVerified(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainBatchVerified, module []common.Address, srcChainId []uint64, dbNonce []uint64) (event.Subscription, error)
WatchInterchainBatchVerified is a free log subscription operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.
Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBEventsFilterer) WatchInterchainEntryWritten ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainEntryWritten(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainEntryWritten, dbNonce []uint64, srcWriter [][32]byte) (event.Subscription, error)
WatchInterchainEntryWritten is a free log subscription operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.
Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)
type InterchainDBEventsInterchainBatchFinalized ¶ added in v0.6.1
type InterchainDBEventsInterchainBatchFinalized struct { DbNonce uint64 BatchRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
InterchainDBEventsInterchainBatchFinalized represents a InterchainBatchFinalized event raised by the InterchainDBEvents contract.
type InterchainDBEventsInterchainBatchFinalizedIterator ¶ added in v0.6.1
type InterchainDBEventsInterchainBatchFinalizedIterator struct { Event *InterchainDBEventsInterchainBatchFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBEventsInterchainBatchFinalizedIterator is returned from FilterInterchainBatchFinalized and is used to iterate over the raw logs and unpacked data for InterchainBatchFinalized events raised by the InterchainDBEvents contract.
func (*InterchainDBEventsInterchainBatchFinalizedIterator) Close ¶ added in v0.6.1
func (it *InterchainDBEventsInterchainBatchFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InterchainDBEventsInterchainBatchFinalizedIterator) Error ¶ added in v0.6.1
func (it *InterchainDBEventsInterchainBatchFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InterchainDBEventsInterchainBatchFinalizedIterator) Next ¶ added in v0.6.1
func (it *InterchainDBEventsInterchainBatchFinalizedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type InterchainDBEventsInterchainBatchVerificationRequested ¶
type InterchainDBEventsInterchainBatchVerificationRequested struct { DstChainId uint64 DbNonce uint64 BatchRoot [32]byte SrcModules []common.Address Raw types.Log // Blockchain specific contextual infos }
InterchainDBEventsInterchainBatchVerificationRequested represents a InterchainBatchVerificationRequested event raised by the InterchainDBEvents contract.
type InterchainDBEventsInterchainBatchVerificationRequestedIterator ¶
type InterchainDBEventsInterchainBatchVerificationRequestedIterator struct { Event *InterchainDBEventsInterchainBatchVerificationRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBEventsInterchainBatchVerificationRequestedIterator is returned from FilterInterchainBatchVerificationRequested and is used to iterate over the raw logs and unpacked data for InterchainBatchVerificationRequested events raised by the InterchainDBEvents contract.
func (*InterchainDBEventsInterchainBatchVerificationRequestedIterator) Close ¶
func (it *InterchainDBEventsInterchainBatchVerificationRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InterchainDBEventsInterchainBatchVerificationRequestedIterator) Error ¶
func (it *InterchainDBEventsInterchainBatchVerificationRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InterchainDBEventsInterchainBatchVerificationRequestedIterator) Next ¶
func (it *InterchainDBEventsInterchainBatchVerificationRequestedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type InterchainDBEventsInterchainBatchVerified ¶
type InterchainDBEventsInterchainBatchVerified struct { Module common.Address SrcChainId uint64 DbNonce uint64 BatchRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
InterchainDBEventsInterchainBatchVerified represents a InterchainBatchVerified event raised by the InterchainDBEvents contract.
type InterchainDBEventsInterchainBatchVerifiedIterator ¶
type InterchainDBEventsInterchainBatchVerifiedIterator struct { Event *InterchainDBEventsInterchainBatchVerified // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBEventsInterchainBatchVerifiedIterator is returned from FilterInterchainBatchVerified and is used to iterate over the raw logs and unpacked data for InterchainBatchVerified events raised by the InterchainDBEvents contract.
func (*InterchainDBEventsInterchainBatchVerifiedIterator) Close ¶
func (it *InterchainDBEventsInterchainBatchVerifiedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InterchainDBEventsInterchainBatchVerifiedIterator) Error ¶
func (it *InterchainDBEventsInterchainBatchVerifiedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InterchainDBEventsInterchainBatchVerifiedIterator) Next ¶
func (it *InterchainDBEventsInterchainBatchVerifiedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type InterchainDBEventsInterchainEntryWritten ¶
type InterchainDBEventsInterchainEntryWritten struct { DbNonce uint64 EntryIndex uint64 SrcWriter [32]byte DataHash [32]byte Raw types.Log // Blockchain specific contextual infos }
InterchainDBEventsInterchainEntryWritten represents a InterchainEntryWritten event raised by the InterchainDBEvents contract.
type InterchainDBEventsInterchainEntryWrittenIterator ¶
type InterchainDBEventsInterchainEntryWrittenIterator struct { Event *InterchainDBEventsInterchainEntryWritten // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBEventsInterchainEntryWrittenIterator is returned from FilterInterchainEntryWritten and is used to iterate over the raw logs and unpacked data for InterchainEntryWritten events raised by the InterchainDBEvents contract.
func (*InterchainDBEventsInterchainEntryWrittenIterator) Close ¶
func (it *InterchainDBEventsInterchainEntryWrittenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InterchainDBEventsInterchainEntryWrittenIterator) Error ¶
func (it *InterchainDBEventsInterchainEntryWrittenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InterchainDBEventsInterchainEntryWrittenIterator) Next ¶
func (it *InterchainDBEventsInterchainEntryWrittenIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type InterchainDBEventsRaw ¶
type InterchainDBEventsRaw struct {
Contract *InterchainDBEvents // Generic contract binding to access the raw methods on
}
InterchainDBEventsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterchainDBEventsRaw) Call ¶
func (_InterchainDBEvents *InterchainDBEventsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterchainDBEventsRaw) Transact ¶
func (_InterchainDBEvents *InterchainDBEventsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainDBEventsRaw) Transfer ¶
func (_InterchainDBEvents *InterchainDBEventsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainDBEventsSession ¶
type InterchainDBEventsSession struct { Contract *InterchainDBEvents // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainDBEventsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type InterchainDBEventsTransactor ¶
type InterchainDBEventsTransactor struct {
// contains filtered or unexported fields
}
InterchainDBEventsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterchainDBEventsTransactor ¶
func NewInterchainDBEventsTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainDBEventsTransactor, error)
NewInterchainDBEventsTransactor creates a new write-only instance of InterchainDBEvents, bound to a specific deployed contract.
type InterchainDBEventsTransactorRaw ¶
type InterchainDBEventsTransactorRaw struct {
Contract *InterchainDBEventsTransactor // Generic write-only contract binding to access the raw methods on
}
InterchainDBEventsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterchainDBEventsTransactorRaw) Transact ¶
func (_InterchainDBEvents *InterchainDBEventsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainDBEventsTransactorRaw) Transfer ¶
func (_InterchainDBEvents *InterchainDBEventsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainDBEventsTransactorSession ¶
type InterchainDBEventsTransactorSession struct { Contract *InterchainDBEventsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainDBEventsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type InterchainDBFilterer ¶
type InterchainDBFilterer struct {
// contains filtered or unexported fields
}
InterchainDBFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterchainDBFilterer ¶
func NewInterchainDBFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainDBFilterer, error)
NewInterchainDBFilterer creates a new log filterer instance of InterchainDB, bound to a specific deployed contract.
func (*InterchainDBFilterer) FilterInterchainBatchFinalized ¶ added in v0.6.1
func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchFinalized(opts *bind.FilterOpts, dbNonce []uint64) (*InterchainDBInterchainBatchFinalizedIterator, error)
FilterInterchainBatchFinalized is a free log retrieval operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.
Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBFilterer) FilterInterchainBatchVerificationRequested ¶
func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts, dstChainId []uint64, dbNonce []uint64) (*InterchainDBInterchainBatchVerificationRequestedIterator, error)
FilterInterchainBatchVerificationRequested is a free log retrieval operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.
Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBFilterer) FilterInterchainBatchVerified ¶
func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts, module []common.Address, srcChainId []uint64, dbNonce []uint64) (*InterchainDBInterchainBatchVerifiedIterator, error)
FilterInterchainBatchVerified is a free log retrieval operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.
Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBFilterer) FilterInterchainEntryWritten ¶
func (_InterchainDB *InterchainDBFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts, dbNonce []uint64, srcWriter [][32]byte) (*InterchainDBInterchainEntryWrittenIterator, error)
FilterInterchainEntryWritten is a free log retrieval operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.
Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)
func (*InterchainDBFilterer) ParseInterchainBatchFinalized ¶ added in v0.6.1
func (_InterchainDB *InterchainDBFilterer) ParseInterchainBatchFinalized(log types.Log) (*InterchainDBInterchainBatchFinalized, error)
ParseInterchainBatchFinalized is a log parse operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.
Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBFilterer) ParseInterchainBatchVerificationRequested ¶
func (_InterchainDB *InterchainDBFilterer) ParseInterchainBatchVerificationRequested(log types.Log) (*InterchainDBInterchainBatchVerificationRequested, error)
ParseInterchainBatchVerificationRequested is a log parse operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.
Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBFilterer) ParseInterchainBatchVerified ¶
func (_InterchainDB *InterchainDBFilterer) ParseInterchainBatchVerified(log types.Log) (*InterchainDBInterchainBatchVerified, error)
ParseInterchainBatchVerified is a log parse operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.
Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBFilterer) ParseInterchainEntryWritten ¶
func (_InterchainDB *InterchainDBFilterer) ParseInterchainEntryWritten(log types.Log) (*InterchainDBInterchainEntryWritten, error)
ParseInterchainEntryWritten is a log parse operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.
Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)
func (*InterchainDBFilterer) WatchInterchainBatchFinalized ¶ added in v0.6.1
func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchFinalized(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainBatchFinalized, dbNonce []uint64) (event.Subscription, error)
WatchInterchainBatchFinalized is a free log subscription operation binding the contract event 0xdd11870a5e3366ac946d45a056101b609703ff29dae8c7d889a0f3f6ee455ace.
Solidity: event InterchainBatchFinalized(uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBFilterer) WatchInterchainBatchVerificationRequested ¶
func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchVerificationRequested(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainBatchVerificationRequested, dstChainId []uint64, dbNonce []uint64) (event.Subscription, error)
WatchInterchainBatchVerificationRequested is a free log subscription operation binding the contract event 0xddb2a81061691cd55f8c8bfa25d7d6da9dffe61f552c523de1821da5e1910ac1.
Solidity: event InterchainBatchVerificationRequested(uint64 indexed dstChainId, uint64 indexed dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBFilterer) WatchInterchainBatchVerified ¶
func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchVerified(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainBatchVerified, module []common.Address, srcChainId []uint64, dbNonce []uint64) (event.Subscription, error)
WatchInterchainBatchVerified is a free log subscription operation binding the contract event 0x76a643c92bd448082982f23dc803017708bcce282ba837e92611b3e876c45927.
Solidity: event InterchainBatchVerified(address indexed module, uint64 indexed srcChainId, uint64 indexed dbNonce, bytes32 batchRoot)
func (*InterchainDBFilterer) WatchInterchainEntryWritten ¶
func (_InterchainDB *InterchainDBFilterer) WatchInterchainEntryWritten(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainEntryWritten, dbNonce []uint64, srcWriter [][32]byte) (event.Subscription, error)
WatchInterchainEntryWritten is a free log subscription operation binding the contract event 0xb68afc0605cd0ae88c5b20fac83239f61bebdf93d94c8f6f6deed8e21cf2fa5d.
Solidity: event InterchainEntryWritten(uint64 indexed dbNonce, uint64 entryIndex, bytes32 indexed srcWriter, bytes32 dataHash)
type InterchainDBInterchainBatchFinalized ¶ added in v0.6.1
type InterchainDBInterchainBatchFinalized struct { DbNonce uint64 BatchRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
InterchainDBInterchainBatchFinalized represents a InterchainBatchFinalized event raised by the InterchainDB contract.
type InterchainDBInterchainBatchFinalizedIterator ¶ added in v0.6.1
type InterchainDBInterchainBatchFinalizedIterator struct { Event *InterchainDBInterchainBatchFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBInterchainBatchFinalizedIterator is returned from FilterInterchainBatchFinalized and is used to iterate over the raw logs and unpacked data for InterchainBatchFinalized events raised by the InterchainDB contract.
func (*InterchainDBInterchainBatchFinalizedIterator) Close ¶ added in v0.6.1
func (it *InterchainDBInterchainBatchFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InterchainDBInterchainBatchFinalizedIterator) Error ¶ added in v0.6.1
func (it *InterchainDBInterchainBatchFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InterchainDBInterchainBatchFinalizedIterator) Next ¶ added in v0.6.1
func (it *InterchainDBInterchainBatchFinalizedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type InterchainDBInterchainBatchVerificationRequested ¶
type InterchainDBInterchainBatchVerificationRequested struct { DstChainId uint64 DbNonce uint64 BatchRoot [32]byte SrcModules []common.Address Raw types.Log // Blockchain specific contextual infos }
InterchainDBInterchainBatchVerificationRequested represents a InterchainBatchVerificationRequested event raised by the InterchainDB contract.
type InterchainDBInterchainBatchVerificationRequestedIterator ¶
type InterchainDBInterchainBatchVerificationRequestedIterator struct { Event *InterchainDBInterchainBatchVerificationRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBInterchainBatchVerificationRequestedIterator is returned from FilterInterchainBatchVerificationRequested and is used to iterate over the raw logs and unpacked data for InterchainBatchVerificationRequested events raised by the InterchainDB contract.
func (*InterchainDBInterchainBatchVerificationRequestedIterator) Close ¶
func (it *InterchainDBInterchainBatchVerificationRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InterchainDBInterchainBatchVerificationRequestedIterator) Error ¶
func (it *InterchainDBInterchainBatchVerificationRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InterchainDBInterchainBatchVerificationRequestedIterator) Next ¶
func (it *InterchainDBInterchainBatchVerificationRequestedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type InterchainDBInterchainBatchVerified ¶
type InterchainDBInterchainBatchVerified struct { Module common.Address SrcChainId uint64 DbNonce uint64 BatchRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
InterchainDBInterchainBatchVerified represents a InterchainBatchVerified event raised by the InterchainDB contract.
type InterchainDBInterchainBatchVerifiedIterator ¶
type InterchainDBInterchainBatchVerifiedIterator struct { Event *InterchainDBInterchainBatchVerified // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBInterchainBatchVerifiedIterator is returned from FilterInterchainBatchVerified and is used to iterate over the raw logs and unpacked data for InterchainBatchVerified events raised by the InterchainDB contract.
func (*InterchainDBInterchainBatchVerifiedIterator) Close ¶
func (it *InterchainDBInterchainBatchVerifiedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InterchainDBInterchainBatchVerifiedIterator) Error ¶
func (it *InterchainDBInterchainBatchVerifiedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InterchainDBInterchainBatchVerifiedIterator) Next ¶
func (it *InterchainDBInterchainBatchVerifiedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type InterchainDBInterchainEntryWritten ¶
type InterchainDBInterchainEntryWritten struct { DbNonce uint64 EntryIndex uint64 SrcWriter [32]byte DataHash [32]byte Raw types.Log // Blockchain specific contextual infos }
InterchainDBInterchainEntryWritten represents a InterchainEntryWritten event raised by the InterchainDB contract.
type InterchainDBInterchainEntryWrittenIterator ¶
type InterchainDBInterchainEntryWrittenIterator struct { Event *InterchainDBInterchainEntryWritten // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBInterchainEntryWrittenIterator is returned from FilterInterchainEntryWritten and is used to iterate over the raw logs and unpacked data for InterchainEntryWritten events raised by the InterchainDB contract.
func (*InterchainDBInterchainEntryWrittenIterator) Close ¶
func (it *InterchainDBInterchainEntryWrittenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InterchainDBInterchainEntryWrittenIterator) Error ¶
func (it *InterchainDBInterchainEntryWrittenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InterchainDBInterchainEntryWrittenIterator) Next ¶
func (it *InterchainDBInterchainEntryWrittenIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type InterchainDBRaw ¶
type InterchainDBRaw struct {
Contract *InterchainDB // Generic contract binding to access the raw methods on
}
InterchainDBRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterchainDBRaw) Call ¶
func (_InterchainDB *InterchainDBRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterchainDBRaw) Transact ¶
func (_InterchainDB *InterchainDBRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainDBRaw) Transfer ¶
func (_InterchainDB *InterchainDBRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainDBRef ¶
type InterchainDBRef struct { *InterchainDB // contains filtered or unexported fields }
InterchainDBRef is a reference to a InterchainDB.
nolint: golint
func NewInterchainDBRef ¶
func NewInterchainDBRef(address common.Address, backend bind.ContractBackend) (*InterchainDBRef, error)
NewInterchainDBRef creates a new SynapseModulf with a contract ref.
func (*InterchainDBRef) Address ¶
func (s *InterchainDBRef) Address() common.Address
Address is the contract address.
type InterchainDBSession ¶
type InterchainDBSession struct { Contract *InterchainDB // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainDBSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InterchainDBSession) CheckBatchVerification ¶ added in v0.10.0
func (_InterchainDB *InterchainDBSession) 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 (*InterchainDBSession) DBVERSION ¶ added in v0.4.0
func (_InterchainDB *InterchainDBSession) DBVERSION() (uint16, error)
DBVERSION is a free data retrieval call binding the contract method 0x15f53956.
Solidity: function DB_VERSION() view returns(uint16)
func (*InterchainDBSession) GetBatch ¶
func (_InterchainDB *InterchainDBSession) GetBatch(dbNonce uint64) (InterchainBatch, error)
GetBatch is a free data retrieval call binding the contract method 0x888775d9.
Solidity: function getBatch(uint64 dbNonce) view returns((uint64,uint64,bytes32))
func (*InterchainDBSession) GetBatchLeafs ¶
func (_InterchainDB *InterchainDBSession) GetBatchLeafs(dbNonce uint64) ([][32]byte, error)
GetBatchLeafs is a free data retrieval call binding the contract method 0xfc1ebc91.
Solidity: function getBatchLeafs(uint64 dbNonce) view returns(bytes32[] leafs)
func (*InterchainDBSession) GetBatchLeafsPaginated ¶
func (_InterchainDB *InterchainDBSession) GetBatchLeafsPaginated(dbNonce uint64, start uint64, end uint64) ([][32]byte, error)
GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x1c679ac1.
Solidity: function getBatchLeafsPaginated(uint64 dbNonce, uint64 start, uint64 end) view returns(bytes32[] leafs)
func (*InterchainDBSession) GetBatchRoot ¶ added in v0.10.0
func (_InterchainDB *InterchainDBSession) 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 (*InterchainDBSession) GetBatchSize ¶
func (_InterchainDB *InterchainDBSession) GetBatchSize(dbNonce uint64) (uint64, error)
GetBatchSize is a free data retrieval call binding the contract method 0x727a5f91.
Solidity: function getBatchSize(uint64 dbNonce) view returns(uint64)
func (*InterchainDBSession) GetDBNonce ¶
func (_InterchainDB *InterchainDBSession) GetDBNonce() (uint64, error)
GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.
Solidity: function getDBNonce() view returns(uint64)
func (*InterchainDBSession) GetEntryProof ¶
func (_InterchainDB *InterchainDBSession) GetEntryProof(dbNonce uint64, entryIndex uint64) ([][32]byte, error)
GetEntryProof is a free data retrieval call binding the contract method 0xfec8dfb9.
Solidity: function getEntryProof(uint64 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)
func (*InterchainDBSession) GetEntryValue ¶ added in v0.0.3
func (_InterchainDB *InterchainDBSession) GetEntryValue(dbNonce uint64, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xd180db6f.
Solidity: function getEntryValue(uint64 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*InterchainDBSession) GetInterchainFee ¶
func (_InterchainDB *InterchainDBSession) GetInterchainFee(dstChainId uint64, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xb8ba4ba1.
Solidity: function getInterchainFee(uint64 dstChainId, address[] srcModules) view returns(uint256 fee)
func (*InterchainDBSession) GetNextEntryIndex ¶
func (_InterchainDB *InterchainDBSession) GetNextEntryIndex() (struct { DbNonce uint64 EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint64 dbNonce, uint64 entryIndex)
func (*InterchainDBSession) GetVersionedBatch ¶ added in v0.10.0
func (_InterchainDB *InterchainDBSession) 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 versionedBatch)
func (*InterchainDBSession) RequestBatchVerification ¶
func (_InterchainDB *InterchainDBSession) RequestBatchVerification(dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x6c49312c.
Solidity: function requestBatchVerification(uint64 dstChainId, uint64 dbNonce, address[] srcModules) payable returns()
func (*InterchainDBSession) VerifyRemoteBatch ¶
func (_InterchainDB *InterchainDBSession) VerifyRemoteBatch(versionedBatch []byte) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.
Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()
func (*InterchainDBSession) WriteEntry ¶
func (_InterchainDB *InterchainDBSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(uint64 dbNonce, uint64 entryIndex)
func (*InterchainDBSession) WriteEntryWithVerification ¶
func (_InterchainDB *InterchainDBSession) WriteEntryWithVerification(dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
WriteEntryWithVerification is a paid mutator transaction binding the contract method 0xeb20fbfd.
Solidity: function writeEntryWithVerification(uint64 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint64 dbNonce, uint64 entryIndex)
type InterchainDBTransactor ¶
type InterchainDBTransactor struct {
// contains filtered or unexported fields
}
InterchainDBTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterchainDBTransactor ¶
func NewInterchainDBTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainDBTransactor, error)
NewInterchainDBTransactor creates a new write-only instance of InterchainDB, bound to a specific deployed contract.
func (*InterchainDBTransactor) RequestBatchVerification ¶
func (_InterchainDB *InterchainDBTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x6c49312c.
Solidity: function requestBatchVerification(uint64 dstChainId, uint64 dbNonce, address[] srcModules) payable returns()
func (*InterchainDBTransactor) VerifyRemoteBatch ¶
func (_InterchainDB *InterchainDBTransactor) VerifyRemoteBatch(opts *bind.TransactOpts, versionedBatch []byte) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.
Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()
func (*InterchainDBTransactor) WriteEntry ¶
func (_InterchainDB *InterchainDBTransactor) WriteEntry(opts *bind.TransactOpts, dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(uint64 dbNonce, uint64 entryIndex)
func (*InterchainDBTransactor) WriteEntryWithVerification ¶
func (_InterchainDB *InterchainDBTransactor) WriteEntryWithVerification(opts *bind.TransactOpts, dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
WriteEntryWithVerification is a paid mutator transaction binding the contract method 0xeb20fbfd.
Solidity: function writeEntryWithVerification(uint64 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint64 dbNonce, uint64 entryIndex)
type InterchainDBTransactorRaw ¶
type InterchainDBTransactorRaw struct {
Contract *InterchainDBTransactor // Generic write-only contract binding to access the raw methods on
}
InterchainDBTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterchainDBTransactorRaw) Transact ¶
func (_InterchainDB *InterchainDBTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainDBTransactorRaw) Transfer ¶
func (_InterchainDB *InterchainDBTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainDBTransactorSession ¶
type InterchainDBTransactorSession struct { Contract *InterchainDBTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainDBTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InterchainDBTransactorSession) RequestBatchVerification ¶
func (_InterchainDB *InterchainDBTransactorSession) RequestBatchVerification(dstChainId uint64, dbNonce uint64, srcModules []common.Address) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x6c49312c.
Solidity: function requestBatchVerification(uint64 dstChainId, uint64 dbNonce, address[] srcModules) payable returns()
func (*InterchainDBTransactorSession) VerifyRemoteBatch ¶
func (_InterchainDB *InterchainDBTransactorSession) VerifyRemoteBatch(versionedBatch []byte) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.
Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()
func (*InterchainDBTransactorSession) WriteEntry ¶
func (_InterchainDB *InterchainDBTransactorSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(uint64 dbNonce, uint64 entryIndex)
func (*InterchainDBTransactorSession) WriteEntryWithVerification ¶
func (_InterchainDB *InterchainDBTransactorSession) WriteEntryWithVerification(dstChainId uint64, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
WriteEntryWithVerification is a paid mutator transaction binding the contract method 0xeb20fbfd.
Solidity: function writeEntryWithVerification(uint64 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint64 dbNonce, uint64 entryIndex)
type InterchainEntry ¶
type InterchainEntry struct { SrcChainId uint64 DbNonce uint64 EntryIndex uint64 SrcWriter [32]byte DataHash [32]byte }
InterchainEntry is an auto generated low-level Go binding around an user-defined struct.
type InterchainEntryLib ¶
type InterchainEntryLib struct { InterchainEntryLibCaller // Read-only binding to the contract InterchainEntryLibTransactor // Write-only binding to the contract InterchainEntryLibFilterer // Log filterer for contract events }
InterchainEntryLib is an auto generated Go binding around an Ethereum contract.
func DeployInterchainEntryLib ¶
func DeployInterchainEntryLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *InterchainEntryLib, error)
DeployInterchainEntryLib deploys a new Ethereum contract, binding an instance of InterchainEntryLib to it.
func NewInterchainEntryLib ¶
func NewInterchainEntryLib(address common.Address, backend bind.ContractBackend) (*InterchainEntryLib, error)
NewInterchainEntryLib creates a new instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibCaller ¶
type InterchainEntryLibCaller struct {
// contains filtered or unexported fields
}
InterchainEntryLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterchainEntryLibCaller ¶
func NewInterchainEntryLibCaller(address common.Address, caller bind.ContractCaller) (*InterchainEntryLibCaller, error)
NewInterchainEntryLibCaller creates a new read-only instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibCallerRaw ¶
type InterchainEntryLibCallerRaw struct {
Contract *InterchainEntryLibCaller // Generic read-only contract binding to access the raw methods on
}
InterchainEntryLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterchainEntryLibCallerRaw) Call ¶
func (_InterchainEntryLib *InterchainEntryLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterchainEntryLibCallerSession ¶
type InterchainEntryLibCallerSession struct { Contract *InterchainEntryLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterchainEntryLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type InterchainEntryLibFilterer ¶
type InterchainEntryLibFilterer struct {
// contains filtered or unexported fields
}
InterchainEntryLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterchainEntryLibFilterer ¶
func NewInterchainEntryLibFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainEntryLibFilterer, error)
NewInterchainEntryLibFilterer creates a new log filterer instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibRaw ¶
type InterchainEntryLibRaw struct {
Contract *InterchainEntryLib // Generic contract binding to access the raw methods on
}
InterchainEntryLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterchainEntryLibRaw) Call ¶
func (_InterchainEntryLib *InterchainEntryLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterchainEntryLibRaw) Transact ¶
func (_InterchainEntryLib *InterchainEntryLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainEntryLibRaw) Transfer ¶
func (_InterchainEntryLib *InterchainEntryLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainEntryLibSession ¶
type InterchainEntryLibSession struct { Contract *InterchainEntryLib // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainEntryLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type InterchainEntryLibTransactor ¶
type InterchainEntryLibTransactor struct {
// contains filtered or unexported fields
}
InterchainEntryLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterchainEntryLibTransactor ¶
func NewInterchainEntryLibTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainEntryLibTransactor, error)
NewInterchainEntryLibTransactor creates a new write-only instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibTransactorRaw ¶
type InterchainEntryLibTransactorRaw struct {
Contract *InterchainEntryLibTransactor // Generic write-only contract binding to access the raw methods on
}
InterchainEntryLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterchainEntryLibTransactorRaw) Transact ¶
func (_InterchainEntryLib *InterchainEntryLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainEntryLibTransactorRaw) Transfer ¶
func (_InterchainEntryLib *InterchainEntryLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainEntryLibTransactorSession ¶
type InterchainEntryLibTransactorSession struct { Contract *InterchainEntryLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainEntryLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SafeCast ¶ added in v0.6.0
type SafeCast struct { SafeCastCaller // Read-only binding to the contract SafeCastTransactor // Write-only binding to the contract SafeCastFilterer // Log filterer for contract events }
SafeCast is an auto generated Go binding around an Ethereum contract.
func DeploySafeCast ¶ added in v0.6.0
func DeploySafeCast(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeCast, error)
DeploySafeCast deploys a new Ethereum contract, binding an instance of SafeCast to it.
func NewSafeCast ¶ added in v0.6.0
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.