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 IInterchainDB
- type IInterchainDBCaller
- func (_IInterchainDB *IInterchainDBCaller) CheckVerification(opts *bind.CallOpts, dstModule common.Address, entry InterchainEntry, ...) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBCaller) GetBatch(opts *bind.CallOpts, dbNonce *big.Int) (InterchainBatch, error)
- func (_IInterchainDB *IInterchainDBCaller) GetBatchLeafs(opts *bind.CallOpts, dbNonce *big.Int) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCaller) GetBatchLeafsPaginated(opts *bind.CallOpts, dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCaller) GetBatchSize(opts *bind.CallOpts, dbNonce *big.Int) (uint64, error)
- func (_IInterchainDB *IInterchainDBCaller) GetDBNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBCaller) GetEntryProof(opts *bind.CallOpts, dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCaller) GetEntryValue(opts *bind.CallOpts, dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
- func (_IInterchainDB *IInterchainDBCaller) GetInterchainFee(opts *bind.CallOpts, dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBCaller) GetNextEntryIndex(opts *bind.CallOpts) (struct{ ... }, error)
- type IInterchainDBCallerRaw
- type IInterchainDBCallerSession
- func (_IInterchainDB *IInterchainDBCallerSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetBatch(dbNonce *big.Int) (InterchainBatch, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetBatchLeafsPaginated(dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetBatchSize(dbNonce *big.Int) (uint64, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetDBNonce() (*big.Int, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetEntryProof(dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetEntryValue(dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetInterchainFee(dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBCallerSession) GetNextEntryIndex() (struct{ ... }, 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) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBSession) GetBatch(dbNonce *big.Int) (InterchainBatch, error)
- func (_IInterchainDB *IInterchainDBSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBSession) GetBatchLeafsPaginated(dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBSession) GetBatchSize(dbNonce *big.Int) (uint64, error)
- func (_IInterchainDB *IInterchainDBSession) GetDBNonce() (*big.Int, error)
- func (_IInterchainDB *IInterchainDBSession) GetEntryProof(dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
- func (_IInterchainDB *IInterchainDBSession) GetEntryValue(dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
- func (_IInterchainDB *IInterchainDBSession) GetInterchainFee(dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBSession) GetNextEntryIndex() (struct{ ... }, error)
- func (_IInterchainDB *IInterchainDBSession) RequestBatchVerification(dstChainId *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBSession) VerifyRemoteBatch(batch InterchainBatch) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBSession) WriteEntryWithVerification(dstChainId *big.Int, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
- type IInterchainDBTransactor
- func (_IInterchainDB *IInterchainDBTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId *big.Int, dbNonce *big.Int, ...) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactor) VerifyRemoteBatch(opts *bind.TransactOpts, batch InterchainBatch) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactor) WriteEntry(opts *bind.TransactOpts, dataHash [32]byte) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactor) WriteEntryWithVerification(opts *bind.TransactOpts, dstChainId *big.Int, dataHash [32]byte, ...) (*types.Transaction, error)
- type IInterchainDBTransactorRaw
- type IInterchainDBTransactorSession
- func (_IInterchainDB *IInterchainDBTransactorSession) RequestBatchVerification(dstChainId *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactorSession) VerifyRemoteBatch(batch InterchainBatch) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactorSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactorSession) WriteEntryWithVerification(dstChainId *big.Int, 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) CheckVerification(opts *bind.CallOpts, dstModule common.Address, entry InterchainEntry, ...) (*big.Int, error)
- func (_InterchainDB *InterchainDBCaller) GetBatch(opts *bind.CallOpts, dbNonce *big.Int) (InterchainBatch, error)
- func (_InterchainDB *InterchainDBCaller) GetBatchLeafs(opts *bind.CallOpts, dbNonce *big.Int) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCaller) GetBatchLeafsPaginated(opts *bind.CallOpts, dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCaller) GetBatchSize(opts *bind.CallOpts, dbNonce *big.Int) (uint64, error)
- func (_InterchainDB *InterchainDBCaller) GetDBNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_InterchainDB *InterchainDBCaller) GetEntryProof(opts *bind.CallOpts, dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCaller) GetEntryValue(opts *bind.CallOpts, dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
- func (_InterchainDB *InterchainDBCaller) GetInterchainFee(opts *bind.CallOpts, dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
- func (_InterchainDB *InterchainDBCaller) GetNextEntryIndex(opts *bind.CallOpts) (struct{ ... }, error)
- type InterchainDBCallerRaw
- type InterchainDBCallerSession
- func (_InterchainDB *InterchainDBCallerSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
- func (_InterchainDB *InterchainDBCallerSession) GetBatch(dbNonce *big.Int) (InterchainBatch, error)
- func (_InterchainDB *InterchainDBCallerSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCallerSession) GetBatchLeafsPaginated(dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCallerSession) GetBatchSize(dbNonce *big.Int) (uint64, error)
- func (_InterchainDB *InterchainDBCallerSession) GetDBNonce() (*big.Int, error)
- func (_InterchainDB *InterchainDBCallerSession) GetEntryProof(dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBCallerSession) GetEntryValue(dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
- func (_InterchainDB *InterchainDBCallerSession) GetInterchainFee(dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
- func (_InterchainDB *InterchainDBCallerSession) GetNextEntryIndex() (struct{ ... }, error)
- type InterchainDBEvents
- type InterchainDBEventsCaller
- type InterchainDBEventsCallerRaw
- type InterchainDBEventsCallerSession
- type InterchainDBEventsFilterer
- func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts) (*InterchainDBEventsInterchainBatchVerificationRequestedIterator, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts) (*InterchainDBEventsInterchainBatchVerifiedIterator, error)
- func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts) (*InterchainDBEventsInterchainEntryWrittenIterator, 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) 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 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) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts) (*InterchainDBInterchainBatchVerificationRequestedIterator, error)
- func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts) (*InterchainDBInterchainBatchVerifiedIterator, error)
- func (_InterchainDB *InterchainDBFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts) (*InterchainDBInterchainEntryWrittenIterator, 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) 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 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) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
- func (_InterchainDB *InterchainDBSession) GetBatch(dbNonce *big.Int) (InterchainBatch, error)
- func (_InterchainDB *InterchainDBSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)
- func (_InterchainDB *InterchainDBSession) GetBatchLeafsPaginated(dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBSession) GetBatchSize(dbNonce *big.Int) (uint64, error)
- func (_InterchainDB *InterchainDBSession) GetDBNonce() (*big.Int, error)
- func (_InterchainDB *InterchainDBSession) GetEntryProof(dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
- func (_InterchainDB *InterchainDBSession) GetEntryValue(dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
- func (_InterchainDB *InterchainDBSession) GetInterchainFee(dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
- func (_InterchainDB *InterchainDBSession) GetNextEntryIndex() (struct{ ... }, error)
- func (_InterchainDB *InterchainDBSession) RequestBatchVerification(dstChainId *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBSession) VerifyRemoteBatch(batch InterchainBatch) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBSession) WriteEntryWithVerification(dstChainId *big.Int, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
- type InterchainDBTransactor
- func (_InterchainDB *InterchainDBTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId *big.Int, dbNonce *big.Int, ...) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactor) VerifyRemoteBatch(opts *bind.TransactOpts, batch InterchainBatch) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactor) WriteEntry(opts *bind.TransactOpts, dataHash [32]byte) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactor) WriteEntryWithVerification(opts *bind.TransactOpts, dstChainId *big.Int, dataHash [32]byte, ...) (*types.Transaction, error)
- type InterchainDBTransactorRaw
- type InterchainDBTransactorSession
- func (_InterchainDB *InterchainDBTransactorSession) RequestBatchVerification(dstChainId *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactorSession) VerifyRemoteBatch(batch InterchainBatch) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactorSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
- func (_InterchainDB *InterchainDBTransactorSession) WriteEntryWithVerification(dstChainId *big.Int, 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 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
Constants ¶
This section is empty.
Variables ¶
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var IInterchainDBABI = IInterchainDBMetaData.ABI
IInterchainDBABI is the input ABI used to generate the binding from. Deprecated: Use IInterchainDBMetaData.ABI instead.
var IInterchainDBFuncSigs = IInterchainDBMetaData.Sigs
Deprecated: Use IInterchainDBMetaData.Sigs instead. IInterchainDBFuncSigs maps the 4-byte function signature to its string representation.
var IInterchainDBMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__BatchDoesNotExist\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__BatchNotFinalized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"existingBatchRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"newBatch\",\"type\":\"tuple\"}],\"name\":\"InterchainDB__ConflictingBatches\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"batchSize\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__EntryIndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"actualFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedFee\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__IncorrectFeeAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__InvalidEntryRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InterchainDB__NoModulesSpecified\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__SameChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dstModule\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"srcWriter\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainEntry\",\"name\":\"entry\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"checkVerification\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"moduleVerifiedAt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatch\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatchLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"getBatchLeafsPaginated\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatchSize\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDBNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryProof\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryValue\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"getInterchainFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNextEntryIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"batch\",\"type\":\"tuple\"}],\"name\":\"verifyRemoteBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"name\":\"writeEntry\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"writeEntryWithVerification\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]", Sigs: map[string]string{ "67b1f42e": "checkVerification(address,(uint256,uint256,uint64,bytes32,bytes32),bytes32[])", "5ac44282": "getBatch(uint256)", "d63020bb": "getBatchLeafs(uint256)", "25a1641d": "getBatchLeafsPaginated(uint256,uint64,uint64)", "b955e9b9": "getBatchSize(uint256)", "f338140e": "getDBNonce()", "4f84d040": "getEntryProof(uint256,uint64)", "afa25005": "getEntryValue(uint256,uint64)", "fc7686ec": "getInterchainFee(uint256,address[])", "aa2f06ae": "getNextEntryIndex()", "84b1c8b8": "requestBatchVerification(uint256,uint256,address[])", "05d0728c": "verifyRemoteBatch((uint256,uint256,bytes32))", "2ad8c706": "writeEntry(bytes32)", "67c769af": "writeEntryWithVerification(uint256,bytes32,address[])", }, }
IInterchainDBMetaData contains all meta data concerning the IInterchainDB contract.
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\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"InterchainModule__IncorrectSourceChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"actual\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"required\",\"type\":\"uint256\"}],\"name\":\"InterchainModule__InsufficientFee\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"InterchainModule__NotInterchainDB\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"InterchainModule__SameChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getModuleFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"batch\",\"type\":\"tuple\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]", Sigs: map[string]string{ "4a114f72": "getModuleFee(uint256,uint256)", "3fdcec74": "requestBatchVerification(uint256,(uint256,uint256,bytes32))", }, }
IInterchainModuleMetaData contains all meta data concerning the IInterchainModule contract.
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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d30e70c7e9170e420d242a4f8865b8c71392e2be08ce23d5fdbe880cac1749d664736f6c63430008140033",
}
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\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"InterchainBatchVerificationRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchVerified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"srcWriter\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"name\":\"InterchainEntryWritten\",\"type\":\"event\"}]",
}
InterchainDBEventsMetaData contains all meta data concerning the InterchainDBEvents contract.
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\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__BatchDoesNotExist\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__BatchNotFinalized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"existingBatchRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"newBatch\",\"type\":\"tuple\"}],\"name\":\"InterchainDB__ConflictingBatches\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"batchSize\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__EntryIndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"actualFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedFee\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__IncorrectFeeAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"InterchainDB__InvalidEntryRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InterchainDB__NoModulesSpecified\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"InterchainDB__SameChainId\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"InterchainBatchVerificationRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"name\":\"InterchainBatchVerified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"srcWriter\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"name\":\"InterchainEntryWritten\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dstModule\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"srcWriter\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainEntry\",\"name\":\"entry\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"checkVerification\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"moduleVerifiedAt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatch\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatchLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"getBatchLeafsPaginated\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getBatchSize\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDBNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryProof\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"name\":\"getEntryValue\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"getInterchainFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNextEntryIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"batch\",\"type\":\"tuple\"}],\"name\":\"verifyRemoteBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"}],\"name\":\"writeEntry\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"dataHash\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"srcModules\",\"type\":\"address[]\"}],\"name\":\"writeEntryWithVerification\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"entryIndex\",\"type\":\"uint64\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]", Sigs: map[string]string{ "67b1f42e": "checkVerification(address,(uint256,uint256,uint64,bytes32,bytes32),bytes32[])", "5ac44282": "getBatch(uint256)", "d63020bb": "getBatchLeafs(uint256)", "25a1641d": "getBatchLeafsPaginated(uint256,uint64,uint64)", "b955e9b9": "getBatchSize(uint256)", "f338140e": "getDBNonce()", "4f84d040": "getEntryProof(uint256,uint64)", "afa25005": "getEntryValue(uint256,uint64)", "fc7686ec": "getInterchainFee(uint256,address[])", "aa2f06ae": "getNextEntryIndex()", "84b1c8b8": "requestBatchVerification(uint256,uint256,address[])", "05d0728c": "verifyRemoteBatch((uint256,uint256,bytes32))", "2ad8c706": "writeEntry(bytes32)", "67c769af": "writeEntryWithVerification(uint256,bytes32,address[])", }, Bin: "0x608060405234801561001057600080fd5b50611406806100206000396000f3fe6080604052600436106100dd5760003560e01c806384b1c8b81161007f578063b955e9b911610059578063b955e9b91461024e578063d63020bb14610287578063f338140e146102a7578063fc7686ec146102bc57600080fd5b806384b1c8b814610206578063aa2f06ae14610219578063afa250051461022e57600080fd5b80634f84d040116100bb5780634f84d040146101785780635ac442821461019857806367b1f42e146101c557806367c769af146101f357600080fd5b806305d0728c146100e257806325a1641d146101045780632ad8c7061461013a575b600080fd5b3480156100ee57600080fd5b506101026100fd366004610ec2565b6102dc565b005b34801561011057600080fd5b5061012461011f366004610f5d565b61043d565b6040516101319190610f99565b60405180910390f35b34801561014657600080fd5b5061015a610155366004610fdd565b6104c7565b6040805192835267ffffffffffffffff909116602083015201610131565b34801561018457600080fd5b50610124610193366004610ff6565b6104eb565b3480156101a457600080fd5b506101b86101b3366004610fdd565b610518565b6040516101319190611022565b3480156101d157600080fd5b506101e56101e03660046110b3565b610581565b604051908152602001610131565b61015a610201366004611178565b61067b565b610102610214366004611178565b6106ff565b34801561022557600080fd5b5061015a61075c565b34801561023a57600080fd5b506101e5610249366004610ff6565b610771565b34801561025a57600080fd5b5061026e610269366004610fdd565b6107a3565b60405167ffffffffffffffff9091168152602001610131565b34801561029357600080fd5b506101246102a2366004610fdd565b6107cc565b3480156102b357600080fd5b506000546101e5565b3480156102c857600080fd5b506101e56102d73660046111b3565b610827565b805146810361031e576040517ffc2dee9a0000000000000000000000000000000000000000000000000000000081524660048201526024015b60405180910390fd5b600061032983610846565b3360009081526001602081815260408084208585528252808420815180830190925280548083529301549181019190915292935090036103ed576040805180820182524281528582018051602080840191825233600081815260018084528782208a8352845290879020955186559251949092019390935587518389015192518551928352938201529283015260608201527fbdb1c58ad0991a7df73dd7d1e0c63ba29dd69af7d09838990eef8127de1a548c9060800160405180910390a1610437565b83604001518160200151146104375760208101516040517f4f70133a00000000000000000000000000000000000000000000000000000000815261031591339187906004016111ff565b50505050565b606067ffffffffffffffff831615158061046257508167ffffffffffffffff16600114155b156104b4576040517fedcdbfea0000000000000000000000000000000000000000000000000000000081526004810185905267ffffffffffffffff808516602483015283166044820152606401610315565b6104bd846107cc565b90505b9392505050565b60008060006104d584610889565b6020810151604090910151909590945092505050565b60606104f683610941565b506105018383610985565b506040805160008152602081019091525b92915050565b604080516060810182526000808252602082018190529181019190915261053e82610941565b506105128261054e846000610771565b60408051606080820183526000808352602080840182905292840152825190810183524681529081019390935282015290565b82516000904681036105c1576040517ffc2dee9a000000000000000000000000000000000000000000000000000000008152466004820152602401610315565b82156105d05760009150610672565b604085015167ffffffffffffffff16156105ed5760009150610672565b73ffffffffffffffffffffffffffffffffffffffff861660009081526001602052604081208161061c88610846565b81526020019081526020016000206040518060400160405290816000820154815260200160018201548152505090506000610656876109ff565b90508082602001511461066a57600061066d565b81515b935050505b50949350505050565b600080854681036106ba576040517ffc2dee9a000000000000000000000000000000000000000000000000000000008152466004820152602401610315565b60006106c587610889565b602081015160408201519095509350905060006106e58561054e846109ff565b90506106f389828989610a22565b50505094509492505050565b8346810361073b576040517ffc2dee9a000000000000000000000000000000000000000000000000000000008152466004820152602401610315565b600061074685610518565b905061075486828686610a22565b505050505050565b60008061076860005490565b92600092509050565b600061077d8383610985565b6000838154811061079057610790611244565b9060005260206000200154905092915050565b6000806107af83610bd4565b90508083106107bf5760006107c2565b60015b60ff169392505050565b60606107d782610941565b506040805160018082528183019092529060208083019080368337019050509050610803826000610771565b8160008151811061081657610816611244565b602002602001018181525050919050565b600061083d8461083660005490565b8585610c14565b95945050505050565b60008160000151826020015160405160200161086c929190918252602082015260400190565b604051602081830303815290604052805190602001209050919050565b6040805160a081018252600080825260208201819052918101829052606081018290526080810182905290546108c29060003385610dc1565b905060006108cf826109ff565b81546001810183556000928352602092839020015581015160608201516040517f8adbf0953083a65c138963c649cd1eabd31fa900ecd1cd5d6b5b530fbfa4177192610934924692879093845260208401929092526040830152606082015260800190565b60405180910390a1919050565b600054808210610980576040517ffa1681ec00000000000000000000000000000000000000000000000000000000815260048101839052602401610315565b919050565b6000610990836107a3565b90508067ffffffffffffffff168267ffffffffffffffff16106109fa576040517f759b436e0000000000000000000000000000000000000000000000000000000081526004810184905267ffffffffffffffff808416602483015282166044820152606401610315565b505050565b60608082015160808301516040805160208101939093528201526000910161086c565b600080610a358686602001518686610c14565b9150915080341015610a7c576040517ffb7d661000000000000000000000000000000000000000000000000000000000815234600482015260248101829052604401610315565b80341115610ab957610a8e81346112a2565b82600081518110610aa157610aa1611244565b60200260200101818151610ab591906112b5565b9052505b8260005b81811015610b8357858582818110610ad757610ad7611244565b9050602002016020810190610aec91906112c8565b73ffffffffffffffffffffffffffffffffffffffff16633fdcec74858381518110610b1957610b19611244565b60200260200101518a8a6040518463ffffffff1660e01b8152600401610b409291906112e3565b6000604051808303818588803b158015610b5957600080fd5b505af1158015610b6d573d6000803e3d6000fd5b505050505080610b7c9061130b565b9050610abd565b507f9f201dd0d5465cd198596655528d58e40b6ee2715d5e8bdab49f7e1b1dde771787876020015188604001518888604051610bc3959493929190611343565b60405180910390a150505050505050565b60005480821115610980576040517f77a0269c00000000000000000000000000000000000000000000000000000000815260048101839052602401610315565b6060600082808203610c52576040517f98ca492a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8067ffffffffffffffff811115610c6b57610c6b610e43565b604051908082528060200260200182016040528015610c94578160200160208202803683370190505b50925060005b81811015610db657858582818110610cb457610cb4611244565b9050602002016020810190610cc991906112c8565b6040517f4a114f72000000000000000000000000000000000000000000000000000000008152600481018a90526024810189905273ffffffffffffffffffffffffffffffffffffffff9190911690634a114f7290604401602060405180830381865afa158015610d3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6191906113b7565b848281518110610d7357610d73611244565b602002602001018181525050838181518110610d9157610d91611244565b602002602001015183610da491906112b5565b9250610daf8161130b565b9050610c9a565b505094509492505050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526040518060a001604052804681526020018681526020018567ffffffffffffffff168152602001610e308573ffffffffffffffffffffffffffffffffffffffff1690565b815260200183905290505b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715610ebc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405290565b600060608284031215610ed457600080fd5b6040516060810181811067ffffffffffffffff82111715610f1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b80604052508235815260208301356020820152604083013560408201528091505092915050565b803567ffffffffffffffff8116811461098057600080fd5b600080600060608486031215610f7257600080fd5b83359250610f8260208501610f45565b9150610f9060408501610f45565b90509250925092565b6020808252825182820181905260009190848201906040850190845b81811015610fd157835183529284019291840191600101610fb5565b50909695505050505050565b600060208284031215610fef57600080fd5b5035919050565b6000806040838503121561100957600080fd5b8235915061101960208401610f45565b90509250929050565b81518152602080830151908201526040808301519082015260608101610512565b803573ffffffffffffffffffffffffffffffffffffffff8116811461098057600080fd5b60008083601f84011261107957600080fd5b50813567ffffffffffffffff81111561109157600080fd5b6020830191508360208260051b85010111156110ac57600080fd5b9250929050565b60008060008084860360e08112156110ca57600080fd5b6110d386611043565b945060a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08201121561110557600080fd5b5061110e610e72565b602086013581526040860135602082015261112b60608701610f45565b6040820152608086810135606083015260a087013590820152925060c085013567ffffffffffffffff81111561116057600080fd5b61116c87828801611067565b95989497509550505050565b6000806000806060858703121561118e57600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561116057600080fd5b6000806000604084860312156111c857600080fd5b83359250602084013567ffffffffffffffff8111156111e657600080fd5b6111f286828701611067565b9497909650939450505050565b73ffffffffffffffffffffffffffffffffffffffff841681526020810183905260a08101610e3b60408301848051825260208082015190830152604090810151910152565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561051257610512611273565b8082018082111561051257610512611273565b6000602082840312156112da57600080fd5b6104c082611043565b828152608081016104c060208301848051825260208082015190830152604090810151910152565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361133c5761133c611273565b5060010190565b60006080820187835260208781850152866040850152608060608501528185835260a08501905086925060005b868110156113a95773ffffffffffffffffffffffffffffffffffffffff61139685611043565b1682529282019290820190600101611370565b509998505050505050505050565b6000602082840312156113c957600080fd5b505191905056fea26469706673582212209c81fb3d92782cfc16604b6c2bdb226e4cf4276719bcbbf7d2c3a0def0adaa2764736f6c63430008140033", }
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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122009a5a6c777cfa56681f553a96b7f3dc629559cf9460ffe4572f769898206993964736f6c63430008140033",
}
InterchainEntryLibMetaData contains all meta data concerning the InterchainEntryLib 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202238f8590c6dd2b55c6d12f1d4ece24426b908e1e0c2de0ac7ea17526c0504f964736f6c63430008140033",
}
TypeCastsMetaData contains all meta data concerning the TypeCasts contract.
Functions ¶
This section is empty.
Types ¶
type IInterchainDB ¶
type IInterchainDB struct { IInterchainDBCaller // Read-only binding to the contract IInterchainDBTransactor // Write-only binding to the contract IInterchainDBFilterer // Log filterer for contract events }
IInterchainDB is an auto generated Go binding around an Ethereum contract.
func NewIInterchainDB ¶
func NewIInterchainDB(address common.Address, backend bind.ContractBackend) (*IInterchainDB, error)
NewIInterchainDB creates a new instance of IInterchainDB, bound to a specific deployed contract.
type IInterchainDBCaller ¶
type IInterchainDBCaller struct {
// contains filtered or unexported fields
}
IInterchainDBCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIInterchainDBCaller ¶
func NewIInterchainDBCaller(address common.Address, caller bind.ContractCaller) (*IInterchainDBCaller, error)
NewIInterchainDBCaller creates a new read-only instance of IInterchainDB, bound to a specific deployed contract.
func (*IInterchainDBCaller) CheckVerification ¶
func (_IInterchainDB *IInterchainDBCaller) CheckVerification(opts *bind.CallOpts, dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
CheckVerification is a free data retrieval call binding the contract method 0x67b1f42e.
Solidity: function checkVerification(address dstModule, (uint256,uint256,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)
func (*IInterchainDBCaller) GetBatch ¶
func (_IInterchainDB *IInterchainDBCaller) GetBatch(opts *bind.CallOpts, dbNonce *big.Int) (InterchainBatch, error)
GetBatch is a free data retrieval call binding the contract method 0x5ac44282.
Solidity: function getBatch(uint256 dbNonce) view returns((uint256,uint256,bytes32))
func (*IInterchainDBCaller) GetBatchLeafs ¶
func (_IInterchainDB *IInterchainDBCaller) GetBatchLeafs(opts *bind.CallOpts, dbNonce *big.Int) ([][32]byte, error)
GetBatchLeafs is a free data retrieval call binding the contract method 0xd63020bb.
Solidity: function getBatchLeafs(uint256 dbNonce) view returns(bytes32[])
func (*IInterchainDBCaller) GetBatchLeafsPaginated ¶
func (_IInterchainDB *IInterchainDBCaller) GetBatchLeafsPaginated(opts *bind.CallOpts, dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x25a1641d.
Solidity: function getBatchLeafsPaginated(uint256 dbNonce, uint64 start, uint64 end) view returns(bytes32[])
func (*IInterchainDBCaller) GetBatchSize ¶
func (_IInterchainDB *IInterchainDBCaller) GetBatchSize(opts *bind.CallOpts, dbNonce *big.Int) (uint64, error)
GetBatchSize is a free data retrieval call binding the contract method 0xb955e9b9.
Solidity: function getBatchSize(uint256 dbNonce) view returns(uint64)
func (*IInterchainDBCaller) GetDBNonce ¶
GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.
Solidity: function getDBNonce() view returns(uint256)
func (*IInterchainDBCaller) GetEntryProof ¶
func (_IInterchainDB *IInterchainDBCaller) GetEntryProof(opts *bind.CallOpts, dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
GetEntryProof is a free data retrieval call binding the contract method 0x4f84d040.
Solidity: function getEntryProof(uint256 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)
func (*IInterchainDBCaller) GetEntryValue ¶ added in v0.0.3
func (_IInterchainDB *IInterchainDBCaller) GetEntryValue(opts *bind.CallOpts, dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xafa25005.
Solidity: function getEntryValue(uint256 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*IInterchainDBCaller) GetInterchainFee ¶
func (_IInterchainDB *IInterchainDBCaller) GetInterchainFee(opts *bind.CallOpts, dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xfc7686ec.
Solidity: function getInterchainFee(uint256 dstChainId, address[] srcModules) view returns(uint256)
func (*IInterchainDBCaller) GetNextEntryIndex ¶
func (_IInterchainDB *IInterchainDBCaller) GetNextEntryIndex(opts *bind.CallOpts) (struct { DbNonce *big.Int EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint256 dbNonce, uint64 entryIndex)
type IInterchainDBCallerRaw ¶
type IInterchainDBCallerRaw struct {
Contract *IInterchainDBCaller // Generic read-only contract binding to access the raw methods on
}
IInterchainDBCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IInterchainDBCallerRaw) Call ¶
func (_IInterchainDB *IInterchainDBCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type IInterchainDBCallerSession ¶
type IInterchainDBCallerSession struct { Contract *IInterchainDBCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IInterchainDBCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IInterchainDBCallerSession) CheckVerification ¶
func (_IInterchainDB *IInterchainDBCallerSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
CheckVerification is a free data retrieval call binding the contract method 0x67b1f42e.
Solidity: function checkVerification(address dstModule, (uint256,uint256,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)
func (*IInterchainDBCallerSession) GetBatch ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetBatch(dbNonce *big.Int) (InterchainBatch, error)
GetBatch is a free data retrieval call binding the contract method 0x5ac44282.
Solidity: function getBatch(uint256 dbNonce) view returns((uint256,uint256,bytes32))
func (*IInterchainDBCallerSession) GetBatchLeafs ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)
GetBatchLeafs is a free data retrieval call binding the contract method 0xd63020bb.
Solidity: function getBatchLeafs(uint256 dbNonce) view returns(bytes32[])
func (*IInterchainDBCallerSession) GetBatchLeafsPaginated ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetBatchLeafsPaginated(dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x25a1641d.
Solidity: function getBatchLeafsPaginated(uint256 dbNonce, uint64 start, uint64 end) view returns(bytes32[])
func (*IInterchainDBCallerSession) GetBatchSize ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetBatchSize(dbNonce *big.Int) (uint64, error)
GetBatchSize is a free data retrieval call binding the contract method 0xb955e9b9.
Solidity: function getBatchSize(uint256 dbNonce) view returns(uint64)
func (*IInterchainDBCallerSession) GetDBNonce ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetDBNonce() (*big.Int, error)
GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.
Solidity: function getDBNonce() view returns(uint256)
func (*IInterchainDBCallerSession) GetEntryProof ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetEntryProof(dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
GetEntryProof is a free data retrieval call binding the contract method 0x4f84d040.
Solidity: function getEntryProof(uint256 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)
func (*IInterchainDBCallerSession) GetEntryValue ¶ added in v0.0.3
func (_IInterchainDB *IInterchainDBCallerSession) GetEntryValue(dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xafa25005.
Solidity: function getEntryValue(uint256 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*IInterchainDBCallerSession) GetInterchainFee ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetInterchainFee(dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xfc7686ec.
Solidity: function getInterchainFee(uint256 dstChainId, address[] srcModules) view returns(uint256)
func (*IInterchainDBCallerSession) GetNextEntryIndex ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetNextEntryIndex() (struct { DbNonce *big.Int EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint256 dbNonce, uint64 entryIndex)
type IInterchainDBFilterer ¶
type IInterchainDBFilterer struct {
// contains filtered or unexported fields
}
IInterchainDBFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIInterchainDBFilterer ¶
func NewIInterchainDBFilterer(address common.Address, filterer bind.ContractFilterer) (*IInterchainDBFilterer, error)
NewIInterchainDBFilterer creates a new log filterer instance of IInterchainDB, bound to a specific deployed contract.
type IInterchainDBRaw ¶
type IInterchainDBRaw struct {
Contract *IInterchainDB // Generic contract binding to access the raw methods on
}
IInterchainDBRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IInterchainDBRaw) Call ¶
func (_IInterchainDB *IInterchainDBRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*IInterchainDBRaw) Transact ¶
func (_IInterchainDB *IInterchainDBRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IInterchainDBRaw) Transfer ¶
func (_IInterchainDB *IInterchainDBRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IInterchainDBSession ¶
type IInterchainDBSession struct { Contract *IInterchainDB // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IInterchainDBSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IInterchainDBSession) CheckVerification ¶
func (_IInterchainDB *IInterchainDBSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
CheckVerification is a free data retrieval call binding the contract method 0x67b1f42e.
Solidity: function checkVerification(address dstModule, (uint256,uint256,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)
func (*IInterchainDBSession) GetBatch ¶
func (_IInterchainDB *IInterchainDBSession) GetBatch(dbNonce *big.Int) (InterchainBatch, error)
GetBatch is a free data retrieval call binding the contract method 0x5ac44282.
Solidity: function getBatch(uint256 dbNonce) view returns((uint256,uint256,bytes32))
func (*IInterchainDBSession) GetBatchLeafs ¶
func (_IInterchainDB *IInterchainDBSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)
GetBatchLeafs is a free data retrieval call binding the contract method 0xd63020bb.
Solidity: function getBatchLeafs(uint256 dbNonce) view returns(bytes32[])
func (*IInterchainDBSession) GetBatchLeafsPaginated ¶
func (_IInterchainDB *IInterchainDBSession) GetBatchLeafsPaginated(dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x25a1641d.
Solidity: function getBatchLeafsPaginated(uint256 dbNonce, uint64 start, uint64 end) view returns(bytes32[])
func (*IInterchainDBSession) GetBatchSize ¶
func (_IInterchainDB *IInterchainDBSession) GetBatchSize(dbNonce *big.Int) (uint64, error)
GetBatchSize is a free data retrieval call binding the contract method 0xb955e9b9.
Solidity: function getBatchSize(uint256 dbNonce) view returns(uint64)
func (*IInterchainDBSession) GetDBNonce ¶
func (_IInterchainDB *IInterchainDBSession) GetDBNonce() (*big.Int, error)
GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.
Solidity: function getDBNonce() view returns(uint256)
func (*IInterchainDBSession) GetEntryProof ¶
func (_IInterchainDB *IInterchainDBSession) GetEntryProof(dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
GetEntryProof is a free data retrieval call binding the contract method 0x4f84d040.
Solidity: function getEntryProof(uint256 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)
func (*IInterchainDBSession) GetEntryValue ¶ added in v0.0.3
func (_IInterchainDB *IInterchainDBSession) GetEntryValue(dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xafa25005.
Solidity: function getEntryValue(uint256 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*IInterchainDBSession) GetInterchainFee ¶
func (_IInterchainDB *IInterchainDBSession) GetInterchainFee(dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xfc7686ec.
Solidity: function getInterchainFee(uint256 dstChainId, address[] srcModules) view returns(uint256)
func (*IInterchainDBSession) GetNextEntryIndex ¶
func (_IInterchainDB *IInterchainDBSession) GetNextEntryIndex() (struct { DbNonce *big.Int EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint256 dbNonce, uint64 entryIndex)
func (*IInterchainDBSession) RequestBatchVerification ¶
func (_IInterchainDB *IInterchainDBSession) RequestBatchVerification(dstChainId *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x84b1c8b8.
Solidity: function requestBatchVerification(uint256 dstChainId, uint256 dbNonce, address[] srcModules) payable returns()
func (*IInterchainDBSession) VerifyRemoteBatch ¶
func (_IInterchainDB *IInterchainDBSession) VerifyRemoteBatch(batch InterchainBatch) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0x05d0728c.
Solidity: function verifyRemoteBatch((uint256,uint256,bytes32) batch) returns()
func (*IInterchainDBSession) WriteEntry ¶
func (_IInterchainDB *IInterchainDBSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(uint256 dbNonce, uint64 entryIndex)
func (*IInterchainDBSession) WriteEntryWithVerification ¶
func (_IInterchainDB *IInterchainDBSession) WriteEntryWithVerification(dstChainId *big.Int, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
WriteEntryWithVerification is a paid mutator transaction binding the contract method 0x67c769af.
Solidity: function writeEntryWithVerification(uint256 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint256 dbNonce, uint64 entryIndex)
type IInterchainDBTransactor ¶
type IInterchainDBTransactor struct {
// contains filtered or unexported fields
}
IInterchainDBTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIInterchainDBTransactor ¶
func NewIInterchainDBTransactor(address common.Address, transactor bind.ContractTransactor) (*IInterchainDBTransactor, error)
NewIInterchainDBTransactor creates a new write-only instance of IInterchainDB, bound to a specific deployed contract.
func (*IInterchainDBTransactor) RequestBatchVerification ¶
func (_IInterchainDB *IInterchainDBTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x84b1c8b8.
Solidity: function requestBatchVerification(uint256 dstChainId, uint256 dbNonce, address[] srcModules) payable returns()
func (*IInterchainDBTransactor) VerifyRemoteBatch ¶
func (_IInterchainDB *IInterchainDBTransactor) VerifyRemoteBatch(opts *bind.TransactOpts, batch InterchainBatch) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0x05d0728c.
Solidity: function verifyRemoteBatch((uint256,uint256,bytes32) batch) returns()
func (*IInterchainDBTransactor) WriteEntry ¶
func (_IInterchainDB *IInterchainDBTransactor) WriteEntry(opts *bind.TransactOpts, dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(uint256 dbNonce, uint64 entryIndex)
func (*IInterchainDBTransactor) WriteEntryWithVerification ¶
func (_IInterchainDB *IInterchainDBTransactor) WriteEntryWithVerification(opts *bind.TransactOpts, dstChainId *big.Int, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
WriteEntryWithVerification is a paid mutator transaction binding the contract method 0x67c769af.
Solidity: function writeEntryWithVerification(uint256 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint256 dbNonce, uint64 entryIndex)
type IInterchainDBTransactorRaw ¶
type IInterchainDBTransactorRaw struct {
Contract *IInterchainDBTransactor // Generic write-only contract binding to access the raw methods on
}
IInterchainDBTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IInterchainDBTransactorRaw) Transact ¶
func (_IInterchainDB *IInterchainDBTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IInterchainDBTransactorRaw) Transfer ¶
func (_IInterchainDB *IInterchainDBTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IInterchainDBTransactorSession ¶
type IInterchainDBTransactorSession struct { Contract *IInterchainDBTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IInterchainDBTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IInterchainDBTransactorSession) RequestBatchVerification ¶
func (_IInterchainDB *IInterchainDBTransactorSession) RequestBatchVerification(dstChainId *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x84b1c8b8.
Solidity: function requestBatchVerification(uint256 dstChainId, uint256 dbNonce, address[] srcModules) payable returns()
func (*IInterchainDBTransactorSession) VerifyRemoteBatch ¶
func (_IInterchainDB *IInterchainDBTransactorSession) VerifyRemoteBatch(batch InterchainBatch) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0x05d0728c.
Solidity: function verifyRemoteBatch((uint256,uint256,bytes32) batch) returns()
func (*IInterchainDBTransactorSession) WriteEntry ¶
func (_IInterchainDB *IInterchainDBTransactorSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(uint256 dbNonce, uint64 entryIndex)
func (*IInterchainDBTransactorSession) WriteEntryWithVerification ¶
func (_IInterchainDB *IInterchainDBTransactorSession) WriteEntryWithVerification(dstChainId *big.Int, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
WriteEntryWithVerification is a paid mutator transaction binding the contract method 0x67c769af.
Solidity: function writeEntryWithVerification(uint256 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint256 dbNonce, uint64 entryIndex)
type IInterchainModule ¶
type IInterchainModule struct { IInterchainModuleCaller // Read-only binding to the contract IInterchainModuleTransactor // Write-only binding to the contract IInterchainModuleFilterer // Log filterer for contract events }
IInterchainModule is an auto generated Go binding around an Ethereum contract.
func NewIInterchainModule ¶
func NewIInterchainModule(address common.Address, backend bind.ContractBackend) (*IInterchainModule, error)
NewIInterchainModule creates a new instance of IInterchainModule, bound to a specific deployed contract.
type IInterchainModuleCaller ¶
type IInterchainModuleCaller struct {
// contains filtered or unexported fields
}
IInterchainModuleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIInterchainModuleCaller ¶
func NewIInterchainModuleCaller(address common.Address, caller bind.ContractCaller) (*IInterchainModuleCaller, error)
NewIInterchainModuleCaller creates a new read-only instance of IInterchainModule, bound to a specific deployed contract.
func (*IInterchainModuleCaller) GetModuleFee ¶
func (_IInterchainModule *IInterchainModuleCaller) GetModuleFee(opts *bind.CallOpts, dstChainId *big.Int, dbNonce *big.Int) (*big.Int, error)
GetModuleFee is a free data retrieval call binding the contract method 0x4a114f72.
Solidity: function getModuleFee(uint256 dstChainId, uint256 dbNonce) view returns(uint256)
type IInterchainModuleCallerRaw ¶
type IInterchainModuleCallerRaw struct {
Contract *IInterchainModuleCaller // Generic read-only contract binding to access the raw methods on
}
IInterchainModuleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IInterchainModuleCallerRaw) Call ¶
func (_IInterchainModule *IInterchainModuleCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type IInterchainModuleCallerSession ¶
type IInterchainModuleCallerSession struct { Contract *IInterchainModuleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IInterchainModuleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IInterchainModuleCallerSession) GetModuleFee ¶
func (_IInterchainModule *IInterchainModuleCallerSession) GetModuleFee(dstChainId *big.Int, dbNonce *big.Int) (*big.Int, error)
GetModuleFee is a free data retrieval call binding the contract method 0x4a114f72.
Solidity: function getModuleFee(uint256 dstChainId, uint256 dbNonce) view returns(uint256)
type IInterchainModuleFilterer ¶
type IInterchainModuleFilterer struct {
// contains filtered or unexported fields
}
IInterchainModuleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIInterchainModuleFilterer ¶
func NewIInterchainModuleFilterer(address common.Address, filterer bind.ContractFilterer) (*IInterchainModuleFilterer, error)
NewIInterchainModuleFilterer creates a new log filterer instance of IInterchainModule, bound to a specific deployed contract.
type IInterchainModuleRaw ¶
type IInterchainModuleRaw struct {
Contract *IInterchainModule // Generic contract binding to access the raw methods on
}
IInterchainModuleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IInterchainModuleRaw) Call ¶
func (_IInterchainModule *IInterchainModuleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*IInterchainModuleRaw) Transact ¶
func (_IInterchainModule *IInterchainModuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IInterchainModuleRaw) Transfer ¶
func (_IInterchainModule *IInterchainModuleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IInterchainModuleSession ¶
type IInterchainModuleSession struct { Contract *IInterchainModule // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IInterchainModuleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IInterchainModuleSession) GetModuleFee ¶
func (_IInterchainModule *IInterchainModuleSession) GetModuleFee(dstChainId *big.Int, dbNonce *big.Int) (*big.Int, error)
GetModuleFee is a free data retrieval call binding the contract method 0x4a114f72.
Solidity: function getModuleFee(uint256 dstChainId, uint256 dbNonce) view returns(uint256)
func (*IInterchainModuleSession) RequestBatchVerification ¶
func (_IInterchainModule *IInterchainModuleSession) RequestBatchVerification(dstChainId *big.Int, batch InterchainBatch) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x3fdcec74.
Solidity: function requestBatchVerification(uint256 dstChainId, (uint256,uint256,bytes32) batch) payable returns()
type IInterchainModuleTransactor ¶
type IInterchainModuleTransactor struct {
// contains filtered or unexported fields
}
IInterchainModuleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIInterchainModuleTransactor ¶
func NewIInterchainModuleTransactor(address common.Address, transactor bind.ContractTransactor) (*IInterchainModuleTransactor, error)
NewIInterchainModuleTransactor creates a new write-only instance of IInterchainModule, bound to a specific deployed contract.
func (*IInterchainModuleTransactor) RequestBatchVerification ¶
func (_IInterchainModule *IInterchainModuleTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId *big.Int, batch InterchainBatch) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x3fdcec74.
Solidity: function requestBatchVerification(uint256 dstChainId, (uint256,uint256,bytes32) batch) payable returns()
type IInterchainModuleTransactorRaw ¶
type IInterchainModuleTransactorRaw struct {
Contract *IInterchainModuleTransactor // Generic write-only contract binding to access the raw methods on
}
IInterchainModuleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IInterchainModuleTransactorRaw) Transact ¶
func (_IInterchainModule *IInterchainModuleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IInterchainModuleTransactorRaw) Transfer ¶
func (_IInterchainModule *IInterchainModuleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IInterchainModuleTransactorSession ¶
type IInterchainModuleTransactorSession struct { Contract *IInterchainModuleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IInterchainModuleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IInterchainModuleTransactorSession) RequestBatchVerification ¶
func (_IInterchainModule *IInterchainModuleTransactorSession) RequestBatchVerification(dstChainId *big.Int, batch InterchainBatch) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x3fdcec74.
Solidity: function requestBatchVerification(uint256 dstChainId, (uint256,uint256,bytes32) batch) payable returns()
type InterchainBatch ¶
InterchainBatch is an auto generated low-level Go binding around an user-defined struct.
type InterchainBatchLib ¶
type InterchainBatchLib struct { InterchainBatchLibCaller // Read-only binding to the contract InterchainBatchLibTransactor // Write-only binding to the contract InterchainBatchLibFilterer // Log filterer for contract events }
InterchainBatchLib is an auto generated Go binding around an Ethereum contract.
func DeployInterchainBatchLib ¶
func DeployInterchainBatchLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *InterchainBatchLib, error)
DeployInterchainBatchLib deploys a new Ethereum contract, binding an instance of InterchainBatchLib to it.
func NewInterchainBatchLib ¶
func NewInterchainBatchLib(address common.Address, backend bind.ContractBackend) (*InterchainBatchLib, error)
NewInterchainBatchLib creates a new instance of InterchainBatchLib, bound to a specific deployed contract.
type InterchainBatchLibCaller ¶
type InterchainBatchLibCaller struct {
// contains filtered or unexported fields
}
InterchainBatchLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterchainBatchLibCaller ¶
func NewInterchainBatchLibCaller(address common.Address, caller bind.ContractCaller) (*InterchainBatchLibCaller, error)
NewInterchainBatchLibCaller creates a new read-only instance of InterchainBatchLib, bound to a specific deployed contract.
type InterchainBatchLibCallerRaw ¶
type InterchainBatchLibCallerRaw struct {
Contract *InterchainBatchLibCaller // Generic read-only contract binding to access the raw methods on
}
InterchainBatchLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterchainBatchLibCallerRaw) Call ¶
func (_InterchainBatchLib *InterchainBatchLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterchainBatchLibCallerSession ¶
type InterchainBatchLibCallerSession struct { Contract *InterchainBatchLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterchainBatchLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type InterchainBatchLibFilterer ¶
type InterchainBatchLibFilterer struct {
// contains filtered or unexported fields
}
InterchainBatchLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterchainBatchLibFilterer ¶
func NewInterchainBatchLibFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainBatchLibFilterer, error)
NewInterchainBatchLibFilterer creates a new log filterer instance of InterchainBatchLib, bound to a specific deployed contract.
type InterchainBatchLibRaw ¶
type InterchainBatchLibRaw struct {
Contract *InterchainBatchLib // Generic contract binding to access the raw methods on
}
InterchainBatchLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterchainBatchLibRaw) Call ¶
func (_InterchainBatchLib *InterchainBatchLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterchainBatchLibRaw) Transact ¶
func (_InterchainBatchLib *InterchainBatchLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainBatchLibRaw) Transfer ¶
func (_InterchainBatchLib *InterchainBatchLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainBatchLibSession ¶
type InterchainBatchLibSession struct { Contract *InterchainBatchLib // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainBatchLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type InterchainBatchLibTransactor ¶
type InterchainBatchLibTransactor struct {
// contains filtered or unexported fields
}
InterchainBatchLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterchainBatchLibTransactor ¶
func NewInterchainBatchLibTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainBatchLibTransactor, error)
NewInterchainBatchLibTransactor creates a new write-only instance of InterchainBatchLib, bound to a specific deployed contract.
type InterchainBatchLibTransactorRaw ¶
type InterchainBatchLibTransactorRaw struct {
Contract *InterchainBatchLibTransactor // Generic write-only contract binding to access the raw methods on
}
InterchainBatchLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterchainBatchLibTransactorRaw) Transact ¶
func (_InterchainBatchLib *InterchainBatchLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainBatchLibTransactorRaw) Transfer ¶
func (_InterchainBatchLib *InterchainBatchLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainBatchLibTransactorSession ¶
type InterchainBatchLibTransactorSession struct { Contract *InterchainBatchLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainBatchLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type InterchainDB ¶
type InterchainDB struct { InterchainDBCaller // Read-only binding to the contract InterchainDBTransactor // Write-only binding to the contract InterchainDBFilterer // Log filterer for contract events }
InterchainDB is an auto generated Go binding around an Ethereum contract.
func DeployInterchainDB ¶
func DeployInterchainDB(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *InterchainDB, error)
DeployInterchainDB deploys a new Ethereum contract, binding an instance of InterchainDB to it.
func NewInterchainDB ¶
func NewInterchainDB(address common.Address, backend bind.ContractBackend) (*InterchainDB, error)
NewInterchainDB creates a new instance of InterchainDB, bound to a specific deployed contract.
type InterchainDBCaller ¶
type InterchainDBCaller struct {
// contains filtered or unexported fields
}
InterchainDBCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterchainDBCaller ¶
func NewInterchainDBCaller(address common.Address, caller bind.ContractCaller) (*InterchainDBCaller, error)
NewInterchainDBCaller creates a new read-only instance of InterchainDB, bound to a specific deployed contract.
func (*InterchainDBCaller) CheckVerification ¶
func (_InterchainDB *InterchainDBCaller) CheckVerification(opts *bind.CallOpts, dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
CheckVerification is a free data retrieval call binding the contract method 0x67b1f42e.
Solidity: function checkVerification(address dstModule, (uint256,uint256,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)
func (*InterchainDBCaller) GetBatch ¶
func (_InterchainDB *InterchainDBCaller) GetBatch(opts *bind.CallOpts, dbNonce *big.Int) (InterchainBatch, error)
GetBatch is a free data retrieval call binding the contract method 0x5ac44282.
Solidity: function getBatch(uint256 dbNonce) view returns((uint256,uint256,bytes32))
func (*InterchainDBCaller) GetBatchLeafs ¶
func (_InterchainDB *InterchainDBCaller) GetBatchLeafs(opts *bind.CallOpts, dbNonce *big.Int) ([][32]byte, error)
GetBatchLeafs is a free data retrieval call binding the contract method 0xd63020bb.
Solidity: function getBatchLeafs(uint256 dbNonce) view returns(bytes32[] leafs)
func (*InterchainDBCaller) GetBatchLeafsPaginated ¶
func (_InterchainDB *InterchainDBCaller) GetBatchLeafsPaginated(opts *bind.CallOpts, dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x25a1641d.
Solidity: function getBatchLeafsPaginated(uint256 dbNonce, uint64 start, uint64 end) view returns(bytes32[] leafs)
func (*InterchainDBCaller) GetBatchSize ¶
func (_InterchainDB *InterchainDBCaller) GetBatchSize(opts *bind.CallOpts, dbNonce *big.Int) (uint64, error)
GetBatchSize is a free data retrieval call binding the contract method 0xb955e9b9.
Solidity: function getBatchSize(uint256 dbNonce) view returns(uint64)
func (*InterchainDBCaller) GetDBNonce ¶
GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.
Solidity: function getDBNonce() view returns(uint256)
func (*InterchainDBCaller) GetEntryProof ¶
func (_InterchainDB *InterchainDBCaller) GetEntryProof(opts *bind.CallOpts, dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
GetEntryProof is a free data retrieval call binding the contract method 0x4f84d040.
Solidity: function getEntryProof(uint256 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)
func (*InterchainDBCaller) GetEntryValue ¶ added in v0.0.3
func (_InterchainDB *InterchainDBCaller) GetEntryValue(opts *bind.CallOpts, dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xafa25005.
Solidity: function getEntryValue(uint256 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*InterchainDBCaller) GetInterchainFee ¶
func (_InterchainDB *InterchainDBCaller) GetInterchainFee(opts *bind.CallOpts, dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xfc7686ec.
Solidity: function getInterchainFee(uint256 dstChainId, address[] srcModules) view returns(uint256 fee)
func (*InterchainDBCaller) GetNextEntryIndex ¶
func (_InterchainDB *InterchainDBCaller) GetNextEntryIndex(opts *bind.CallOpts) (struct { DbNonce *big.Int EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint256 dbNonce, uint64 entryIndex)
type InterchainDBCallerRaw ¶
type InterchainDBCallerRaw struct {
Contract *InterchainDBCaller // Generic read-only contract binding to access the raw methods on
}
InterchainDBCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterchainDBCallerRaw) Call ¶
func (_InterchainDB *InterchainDBCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterchainDBCallerSession ¶
type InterchainDBCallerSession struct { Contract *InterchainDBCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterchainDBCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*InterchainDBCallerSession) CheckVerification ¶
func (_InterchainDB *InterchainDBCallerSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
CheckVerification is a free data retrieval call binding the contract method 0x67b1f42e.
Solidity: function checkVerification(address dstModule, (uint256,uint256,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)
func (*InterchainDBCallerSession) GetBatch ¶
func (_InterchainDB *InterchainDBCallerSession) GetBatch(dbNonce *big.Int) (InterchainBatch, error)
GetBatch is a free data retrieval call binding the contract method 0x5ac44282.
Solidity: function getBatch(uint256 dbNonce) view returns((uint256,uint256,bytes32))
func (*InterchainDBCallerSession) GetBatchLeafs ¶
func (_InterchainDB *InterchainDBCallerSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)
GetBatchLeafs is a free data retrieval call binding the contract method 0xd63020bb.
Solidity: function getBatchLeafs(uint256 dbNonce) view returns(bytes32[] leafs)
func (*InterchainDBCallerSession) GetBatchLeafsPaginated ¶
func (_InterchainDB *InterchainDBCallerSession) GetBatchLeafsPaginated(dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x25a1641d.
Solidity: function getBatchLeafsPaginated(uint256 dbNonce, uint64 start, uint64 end) view returns(bytes32[] leafs)
func (*InterchainDBCallerSession) GetBatchSize ¶
func (_InterchainDB *InterchainDBCallerSession) GetBatchSize(dbNonce *big.Int) (uint64, error)
GetBatchSize is a free data retrieval call binding the contract method 0xb955e9b9.
Solidity: function getBatchSize(uint256 dbNonce) view returns(uint64)
func (*InterchainDBCallerSession) GetDBNonce ¶
func (_InterchainDB *InterchainDBCallerSession) GetDBNonce() (*big.Int, error)
GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.
Solidity: function getDBNonce() view returns(uint256)
func (*InterchainDBCallerSession) GetEntryProof ¶
func (_InterchainDB *InterchainDBCallerSession) GetEntryProof(dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
GetEntryProof is a free data retrieval call binding the contract method 0x4f84d040.
Solidity: function getEntryProof(uint256 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)
func (*InterchainDBCallerSession) GetEntryValue ¶ added in v0.0.3
func (_InterchainDB *InterchainDBCallerSession) GetEntryValue(dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xafa25005.
Solidity: function getEntryValue(uint256 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*InterchainDBCallerSession) GetInterchainFee ¶
func (_InterchainDB *InterchainDBCallerSession) GetInterchainFee(dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xfc7686ec.
Solidity: function getInterchainFee(uint256 dstChainId, address[] srcModules) view returns(uint256 fee)
func (*InterchainDBCallerSession) GetNextEntryIndex ¶
func (_InterchainDB *InterchainDBCallerSession) GetNextEntryIndex() (struct { DbNonce *big.Int EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint256 dbNonce, uint64 entryIndex)
type InterchainDBEvents ¶
type InterchainDBEvents struct { InterchainDBEventsCaller // Read-only binding to the contract InterchainDBEventsTransactor // Write-only binding to the contract InterchainDBEventsFilterer // Log filterer for contract events }
InterchainDBEvents is an auto generated Go binding around an Ethereum contract.
func NewInterchainDBEvents ¶
func NewInterchainDBEvents(address common.Address, backend bind.ContractBackend) (*InterchainDBEvents, error)
NewInterchainDBEvents creates a new instance of InterchainDBEvents, bound to a specific deployed contract.
type InterchainDBEventsCaller ¶
type InterchainDBEventsCaller struct {
// contains filtered or unexported fields
}
InterchainDBEventsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterchainDBEventsCaller ¶
func NewInterchainDBEventsCaller(address common.Address, caller bind.ContractCaller) (*InterchainDBEventsCaller, error)
NewInterchainDBEventsCaller creates a new read-only instance of InterchainDBEvents, bound to a specific deployed contract.
type InterchainDBEventsCallerRaw ¶
type InterchainDBEventsCallerRaw struct {
Contract *InterchainDBEventsCaller // Generic read-only contract binding to access the raw methods on
}
InterchainDBEventsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterchainDBEventsCallerRaw) Call ¶
func (_InterchainDBEvents *InterchainDBEventsCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterchainDBEventsCallerSession ¶
type InterchainDBEventsCallerSession struct { Contract *InterchainDBEventsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterchainDBEventsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type InterchainDBEventsFilterer ¶
type InterchainDBEventsFilterer struct {
// contains filtered or unexported fields
}
InterchainDBEventsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterchainDBEventsFilterer ¶
func NewInterchainDBEventsFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainDBEventsFilterer, error)
NewInterchainDBEventsFilterer creates a new log filterer instance of InterchainDBEvents, bound to a specific deployed contract.
func (*InterchainDBEventsFilterer) FilterInterchainBatchVerificationRequested ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts) (*InterchainDBEventsInterchainBatchVerificationRequestedIterator, error)
FilterInterchainBatchVerificationRequested is a free log retrieval operation binding the contract event 0x9f201dd0d5465cd198596655528d58e40b6ee2715d5e8bdab49f7e1b1dde7717.
Solidity: event InterchainBatchVerificationRequested(uint256 dstChainId, uint256 dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBEventsFilterer) FilterInterchainBatchVerified ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts) (*InterchainDBEventsInterchainBatchVerifiedIterator, error)
FilterInterchainBatchVerified is a free log retrieval operation binding the contract event 0xbdb1c58ad0991a7df73dd7d1e0c63ba29dd69af7d09838990eef8127de1a548c.
Solidity: event InterchainBatchVerified(address module, uint256 srcChainId, uint256 dbNonce, bytes32 batchRoot)
func (*InterchainDBEventsFilterer) FilterInterchainEntryWritten ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts) (*InterchainDBEventsInterchainEntryWrittenIterator, error)
FilterInterchainEntryWritten is a free log retrieval operation binding the contract event 0x8adbf0953083a65c138963c649cd1eabd31fa900ecd1cd5d6b5b530fbfa41771.
Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)
func (*InterchainDBEventsFilterer) ParseInterchainBatchVerificationRequested ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainBatchVerificationRequested(log types.Log) (*InterchainDBEventsInterchainBatchVerificationRequested, error)
ParseInterchainBatchVerificationRequested is a log parse operation binding the contract event 0x9f201dd0d5465cd198596655528d58e40b6ee2715d5e8bdab49f7e1b1dde7717.
Solidity: event InterchainBatchVerificationRequested(uint256 dstChainId, uint256 dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBEventsFilterer) ParseInterchainBatchVerified ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainBatchVerified(log types.Log) (*InterchainDBEventsInterchainBatchVerified, error)
ParseInterchainBatchVerified is a log parse operation binding the contract event 0xbdb1c58ad0991a7df73dd7d1e0c63ba29dd69af7d09838990eef8127de1a548c.
Solidity: event InterchainBatchVerified(address module, uint256 srcChainId, uint256 dbNonce, bytes32 batchRoot)
func (*InterchainDBEventsFilterer) ParseInterchainEntryWritten ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) ParseInterchainEntryWritten(log types.Log) (*InterchainDBEventsInterchainEntryWritten, error)
ParseInterchainEntryWritten is a log parse operation binding the contract event 0x8adbf0953083a65c138963c649cd1eabd31fa900ecd1cd5d6b5b530fbfa41771.
Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)
func (*InterchainDBEventsFilterer) WatchInterchainBatchVerificationRequested ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchVerificationRequested(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainBatchVerificationRequested) (event.Subscription, error)
WatchInterchainBatchVerificationRequested is a free log subscription operation binding the contract event 0x9f201dd0d5465cd198596655528d58e40b6ee2715d5e8bdab49f7e1b1dde7717.
Solidity: event InterchainBatchVerificationRequested(uint256 dstChainId, uint256 dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBEventsFilterer) WatchInterchainBatchVerified ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainBatchVerified(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainBatchVerified) (event.Subscription, error)
WatchInterchainBatchVerified is a free log subscription operation binding the contract event 0xbdb1c58ad0991a7df73dd7d1e0c63ba29dd69af7d09838990eef8127de1a548c.
Solidity: event InterchainBatchVerified(address module, uint256 srcChainId, uint256 dbNonce, bytes32 batchRoot)
func (*InterchainDBEventsFilterer) WatchInterchainEntryWritten ¶
func (_InterchainDBEvents *InterchainDBEventsFilterer) WatchInterchainEntryWritten(opts *bind.WatchOpts, sink chan<- *InterchainDBEventsInterchainEntryWritten) (event.Subscription, error)
WatchInterchainEntryWritten is a free log subscription operation binding the contract event 0x8adbf0953083a65c138963c649cd1eabd31fa900ecd1cd5d6b5b530fbfa41771.
Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)
type InterchainDBEventsInterchainBatchVerificationRequested ¶
type InterchainDBEventsInterchainBatchVerificationRequested struct { DstChainId *big.Int DbNonce *big.Int BatchRoot [32]byte SrcModules []common.Address Raw types.Log // Blockchain specific contextual infos }
InterchainDBEventsInterchainBatchVerificationRequested represents a InterchainBatchVerificationRequested event raised by the InterchainDBEvents contract.
type InterchainDBEventsInterchainBatchVerificationRequestedIterator ¶
type InterchainDBEventsInterchainBatchVerificationRequestedIterator struct { Event *InterchainDBEventsInterchainBatchVerificationRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBEventsInterchainBatchVerificationRequestedIterator is returned from FilterInterchainBatchVerificationRequested and is used to iterate over the raw logs and unpacked data for InterchainBatchVerificationRequested events raised by the InterchainDBEvents contract.
func (*InterchainDBEventsInterchainBatchVerificationRequestedIterator) Close ¶
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 *big.Int DbNonce *big.Int BatchRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
InterchainDBEventsInterchainBatchVerified represents a InterchainBatchVerified event raised by the InterchainDBEvents contract.
type InterchainDBEventsInterchainBatchVerifiedIterator ¶
type InterchainDBEventsInterchainBatchVerifiedIterator struct { Event *InterchainDBEventsInterchainBatchVerified // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBEventsInterchainBatchVerifiedIterator is returned from FilterInterchainBatchVerified and is used to iterate over the raw logs and unpacked data for InterchainBatchVerified events raised by the InterchainDBEvents contract.
func (*InterchainDBEventsInterchainBatchVerifiedIterator) Close ¶
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 { SrcChainId *big.Int DbNonce *big.Int SrcWriter [32]byte DataHash [32]byte Raw types.Log // Blockchain specific contextual infos }
InterchainDBEventsInterchainEntryWritten represents a InterchainEntryWritten event raised by the InterchainDBEvents contract.
type InterchainDBEventsInterchainEntryWrittenIterator ¶
type InterchainDBEventsInterchainEntryWrittenIterator struct { Event *InterchainDBEventsInterchainEntryWritten // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBEventsInterchainEntryWrittenIterator is returned from FilterInterchainEntryWritten and is used to iterate over the raw logs and unpacked data for InterchainEntryWritten events raised by the InterchainDBEvents contract.
func (*InterchainDBEventsInterchainEntryWrittenIterator) Close ¶
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) FilterInterchainBatchVerificationRequested ¶
func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchVerificationRequested(opts *bind.FilterOpts) (*InterchainDBInterchainBatchVerificationRequestedIterator, error)
FilterInterchainBatchVerificationRequested is a free log retrieval operation binding the contract event 0x9f201dd0d5465cd198596655528d58e40b6ee2715d5e8bdab49f7e1b1dde7717.
Solidity: event InterchainBatchVerificationRequested(uint256 dstChainId, uint256 dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBFilterer) FilterInterchainBatchVerified ¶
func (_InterchainDB *InterchainDBFilterer) FilterInterchainBatchVerified(opts *bind.FilterOpts) (*InterchainDBInterchainBatchVerifiedIterator, error)
FilterInterchainBatchVerified is a free log retrieval operation binding the contract event 0xbdb1c58ad0991a7df73dd7d1e0c63ba29dd69af7d09838990eef8127de1a548c.
Solidity: event InterchainBatchVerified(address module, uint256 srcChainId, uint256 dbNonce, bytes32 batchRoot)
func (*InterchainDBFilterer) FilterInterchainEntryWritten ¶
func (_InterchainDB *InterchainDBFilterer) FilterInterchainEntryWritten(opts *bind.FilterOpts) (*InterchainDBInterchainEntryWrittenIterator, error)
FilterInterchainEntryWritten is a free log retrieval operation binding the contract event 0x8adbf0953083a65c138963c649cd1eabd31fa900ecd1cd5d6b5b530fbfa41771.
Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)
func (*InterchainDBFilterer) ParseInterchainBatchVerificationRequested ¶
func (_InterchainDB *InterchainDBFilterer) ParseInterchainBatchVerificationRequested(log types.Log) (*InterchainDBInterchainBatchVerificationRequested, error)
ParseInterchainBatchVerificationRequested is a log parse operation binding the contract event 0x9f201dd0d5465cd198596655528d58e40b6ee2715d5e8bdab49f7e1b1dde7717.
Solidity: event InterchainBatchVerificationRequested(uint256 dstChainId, uint256 dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBFilterer) ParseInterchainBatchVerified ¶
func (_InterchainDB *InterchainDBFilterer) ParseInterchainBatchVerified(log types.Log) (*InterchainDBInterchainBatchVerified, error)
ParseInterchainBatchVerified is a log parse operation binding the contract event 0xbdb1c58ad0991a7df73dd7d1e0c63ba29dd69af7d09838990eef8127de1a548c.
Solidity: event InterchainBatchVerified(address module, uint256 srcChainId, uint256 dbNonce, bytes32 batchRoot)
func (*InterchainDBFilterer) ParseInterchainEntryWritten ¶
func (_InterchainDB *InterchainDBFilterer) ParseInterchainEntryWritten(log types.Log) (*InterchainDBInterchainEntryWritten, error)
ParseInterchainEntryWritten is a log parse operation binding the contract event 0x8adbf0953083a65c138963c649cd1eabd31fa900ecd1cd5d6b5b530fbfa41771.
Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)
func (*InterchainDBFilterer) WatchInterchainBatchVerificationRequested ¶
func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchVerificationRequested(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainBatchVerificationRequested) (event.Subscription, error)
WatchInterchainBatchVerificationRequested is a free log subscription operation binding the contract event 0x9f201dd0d5465cd198596655528d58e40b6ee2715d5e8bdab49f7e1b1dde7717.
Solidity: event InterchainBatchVerificationRequested(uint256 dstChainId, uint256 dbNonce, bytes32 batchRoot, address[] srcModules)
func (*InterchainDBFilterer) WatchInterchainBatchVerified ¶
func (_InterchainDB *InterchainDBFilterer) WatchInterchainBatchVerified(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainBatchVerified) (event.Subscription, error)
WatchInterchainBatchVerified is a free log subscription operation binding the contract event 0xbdb1c58ad0991a7df73dd7d1e0c63ba29dd69af7d09838990eef8127de1a548c.
Solidity: event InterchainBatchVerified(address module, uint256 srcChainId, uint256 dbNonce, bytes32 batchRoot)
func (*InterchainDBFilterer) WatchInterchainEntryWritten ¶
func (_InterchainDB *InterchainDBFilterer) WatchInterchainEntryWritten(opts *bind.WatchOpts, sink chan<- *InterchainDBInterchainEntryWritten) (event.Subscription, error)
WatchInterchainEntryWritten is a free log subscription operation binding the contract event 0x8adbf0953083a65c138963c649cd1eabd31fa900ecd1cd5d6b5b530fbfa41771.
Solidity: event InterchainEntryWritten(uint256 srcChainId, uint256 dbNonce, bytes32 srcWriter, bytes32 dataHash)
type InterchainDBInterchainBatchVerificationRequested ¶
type InterchainDBInterchainBatchVerificationRequested struct { DstChainId *big.Int DbNonce *big.Int BatchRoot [32]byte SrcModules []common.Address Raw types.Log // Blockchain specific contextual infos }
InterchainDBInterchainBatchVerificationRequested represents a InterchainBatchVerificationRequested event raised by the InterchainDB contract.
type InterchainDBInterchainBatchVerificationRequestedIterator ¶
type InterchainDBInterchainBatchVerificationRequestedIterator struct { Event *InterchainDBInterchainBatchVerificationRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBInterchainBatchVerificationRequestedIterator is returned from FilterInterchainBatchVerificationRequested and is used to iterate over the raw logs and unpacked data for InterchainBatchVerificationRequested events raised by the InterchainDB contract.
func (*InterchainDBInterchainBatchVerificationRequestedIterator) Close ¶
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 *big.Int DbNonce *big.Int BatchRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
InterchainDBInterchainBatchVerified represents a InterchainBatchVerified event raised by the InterchainDB contract.
type InterchainDBInterchainBatchVerifiedIterator ¶
type InterchainDBInterchainBatchVerifiedIterator struct { Event *InterchainDBInterchainBatchVerified // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBInterchainBatchVerifiedIterator is returned from FilterInterchainBatchVerified and is used to iterate over the raw logs and unpacked data for InterchainBatchVerified events raised by the InterchainDB contract.
func (*InterchainDBInterchainBatchVerifiedIterator) Close ¶
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 { SrcChainId *big.Int DbNonce *big.Int SrcWriter [32]byte DataHash [32]byte Raw types.Log // Blockchain specific contextual infos }
InterchainDBInterchainEntryWritten represents a InterchainEntryWritten event raised by the InterchainDB contract.
type InterchainDBInterchainEntryWrittenIterator ¶
type InterchainDBInterchainEntryWrittenIterator struct { Event *InterchainDBInterchainEntryWritten // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InterchainDBInterchainEntryWrittenIterator is returned from FilterInterchainEntryWritten and is used to iterate over the raw logs and unpacked data for InterchainEntryWritten events raised by the InterchainDB contract.
func (*InterchainDBInterchainEntryWrittenIterator) Close ¶
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) CheckVerification ¶
func (_InterchainDB *InterchainDBSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
CheckVerification is a free data retrieval call binding the contract method 0x67b1f42e.
Solidity: function checkVerification(address dstModule, (uint256,uint256,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)
func (*InterchainDBSession) GetBatch ¶
func (_InterchainDB *InterchainDBSession) GetBatch(dbNonce *big.Int) (InterchainBatch, error)
GetBatch is a free data retrieval call binding the contract method 0x5ac44282.
Solidity: function getBatch(uint256 dbNonce) view returns((uint256,uint256,bytes32))
func (*InterchainDBSession) GetBatchLeafs ¶
func (_InterchainDB *InterchainDBSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)
GetBatchLeafs is a free data retrieval call binding the contract method 0xd63020bb.
Solidity: function getBatchLeafs(uint256 dbNonce) view returns(bytes32[] leafs)
func (*InterchainDBSession) GetBatchLeafsPaginated ¶
func (_InterchainDB *InterchainDBSession) GetBatchLeafsPaginated(dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x25a1641d.
Solidity: function getBatchLeafsPaginated(uint256 dbNonce, uint64 start, uint64 end) view returns(bytes32[] leafs)
func (*InterchainDBSession) GetBatchSize ¶
func (_InterchainDB *InterchainDBSession) GetBatchSize(dbNonce *big.Int) (uint64, error)
GetBatchSize is a free data retrieval call binding the contract method 0xb955e9b9.
Solidity: function getBatchSize(uint256 dbNonce) view returns(uint64)
func (*InterchainDBSession) GetDBNonce ¶
func (_InterchainDB *InterchainDBSession) GetDBNonce() (*big.Int, error)
GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.
Solidity: function getDBNonce() view returns(uint256)
func (*InterchainDBSession) GetEntryProof ¶
func (_InterchainDB *InterchainDBSession) GetEntryProof(dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
GetEntryProof is a free data retrieval call binding the contract method 0x4f84d040.
Solidity: function getEntryProof(uint256 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)
func (*InterchainDBSession) GetEntryValue ¶ added in v0.0.3
func (_InterchainDB *InterchainDBSession) GetEntryValue(dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xafa25005.
Solidity: function getEntryValue(uint256 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*InterchainDBSession) GetInterchainFee ¶
func (_InterchainDB *InterchainDBSession) GetInterchainFee(dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xfc7686ec.
Solidity: function getInterchainFee(uint256 dstChainId, address[] srcModules) view returns(uint256 fee)
func (*InterchainDBSession) GetNextEntryIndex ¶
func (_InterchainDB *InterchainDBSession) GetNextEntryIndex() (struct { DbNonce *big.Int EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint256 dbNonce, uint64 entryIndex)
func (*InterchainDBSession) RequestBatchVerification ¶
func (_InterchainDB *InterchainDBSession) RequestBatchVerification(dstChainId *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x84b1c8b8.
Solidity: function requestBatchVerification(uint256 dstChainId, uint256 dbNonce, address[] srcModules) payable returns()
func (*InterchainDBSession) VerifyRemoteBatch ¶
func (_InterchainDB *InterchainDBSession) VerifyRemoteBatch(batch InterchainBatch) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0x05d0728c.
Solidity: function verifyRemoteBatch((uint256,uint256,bytes32) batch) returns()
func (*InterchainDBSession) WriteEntry ¶
func (_InterchainDB *InterchainDBSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(uint256 dbNonce, uint64 entryIndex)
func (*InterchainDBSession) WriteEntryWithVerification ¶
func (_InterchainDB *InterchainDBSession) WriteEntryWithVerification(dstChainId *big.Int, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
WriteEntryWithVerification is a paid mutator transaction binding the contract method 0x67c769af.
Solidity: function writeEntryWithVerification(uint256 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint256 dbNonce, uint64 entryIndex)
type InterchainDBTransactor ¶
type InterchainDBTransactor struct {
// contains filtered or unexported fields
}
InterchainDBTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterchainDBTransactor ¶
func NewInterchainDBTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainDBTransactor, error)
NewInterchainDBTransactor creates a new write-only instance of InterchainDB, bound to a specific deployed contract.
func (*InterchainDBTransactor) RequestBatchVerification ¶
func (_InterchainDB *InterchainDBTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x84b1c8b8.
Solidity: function requestBatchVerification(uint256 dstChainId, uint256 dbNonce, address[] srcModules) payable returns()
func (*InterchainDBTransactor) VerifyRemoteBatch ¶
func (_InterchainDB *InterchainDBTransactor) VerifyRemoteBatch(opts *bind.TransactOpts, batch InterchainBatch) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0x05d0728c.
Solidity: function verifyRemoteBatch((uint256,uint256,bytes32) batch) returns()
func (*InterchainDBTransactor) WriteEntry ¶
func (_InterchainDB *InterchainDBTransactor) WriteEntry(opts *bind.TransactOpts, dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(uint256 dbNonce, uint64 entryIndex)
func (*InterchainDBTransactor) WriteEntryWithVerification ¶
func (_InterchainDB *InterchainDBTransactor) WriteEntryWithVerification(opts *bind.TransactOpts, dstChainId *big.Int, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
WriteEntryWithVerification is a paid mutator transaction binding the contract method 0x67c769af.
Solidity: function writeEntryWithVerification(uint256 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint256 dbNonce, uint64 entryIndex)
type InterchainDBTransactorRaw ¶
type InterchainDBTransactorRaw struct {
Contract *InterchainDBTransactor // Generic write-only contract binding to access the raw methods on
}
InterchainDBTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterchainDBTransactorRaw) Transact ¶
func (_InterchainDB *InterchainDBTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainDBTransactorRaw) Transfer ¶
func (_InterchainDB *InterchainDBTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainDBTransactorSession ¶
type InterchainDBTransactorSession struct { Contract *InterchainDBTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainDBTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InterchainDBTransactorSession) RequestBatchVerification ¶
func (_InterchainDB *InterchainDBTransactorSession) RequestBatchVerification(dstChainId *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x84b1c8b8.
Solidity: function requestBatchVerification(uint256 dstChainId, uint256 dbNonce, address[] srcModules) payable returns()
func (*InterchainDBTransactorSession) VerifyRemoteBatch ¶
func (_InterchainDB *InterchainDBTransactorSession) VerifyRemoteBatch(batch InterchainBatch) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0x05d0728c.
Solidity: function verifyRemoteBatch((uint256,uint256,bytes32) batch) returns()
func (*InterchainDBTransactorSession) WriteEntry ¶
func (_InterchainDB *InterchainDBTransactorSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(uint256 dbNonce, uint64 entryIndex)
func (*InterchainDBTransactorSession) WriteEntryWithVerification ¶
func (_InterchainDB *InterchainDBTransactorSession) WriteEntryWithVerification(dstChainId *big.Int, dataHash [32]byte, srcModules []common.Address) (*types.Transaction, error)
WriteEntryWithVerification is a paid mutator transaction binding the contract method 0x67c769af.
Solidity: function writeEntryWithVerification(uint256 dstChainId, bytes32 dataHash, address[] srcModules) payable returns(uint256 dbNonce, uint64 entryIndex)
type InterchainEntry ¶
type InterchainEntry struct { SrcChainId *big.Int DbNonce *big.Int EntryIndex uint64 SrcWriter [32]byte DataHash [32]byte }
InterchainEntry is an auto generated low-level Go binding around an user-defined struct.
type InterchainEntryLib ¶
type InterchainEntryLib struct { InterchainEntryLibCaller // Read-only binding to the contract InterchainEntryLibTransactor // Write-only binding to the contract InterchainEntryLibFilterer // Log filterer for contract events }
InterchainEntryLib is an auto generated Go binding around an Ethereum contract.
func DeployInterchainEntryLib ¶
func DeployInterchainEntryLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *InterchainEntryLib, error)
DeployInterchainEntryLib deploys a new Ethereum contract, binding an instance of InterchainEntryLib to it.
func NewInterchainEntryLib ¶
func NewInterchainEntryLib(address common.Address, backend bind.ContractBackend) (*InterchainEntryLib, error)
NewInterchainEntryLib creates a new instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibCaller ¶
type InterchainEntryLibCaller struct {
// contains filtered or unexported fields
}
InterchainEntryLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterchainEntryLibCaller ¶
func NewInterchainEntryLibCaller(address common.Address, caller bind.ContractCaller) (*InterchainEntryLibCaller, error)
NewInterchainEntryLibCaller creates a new read-only instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibCallerRaw ¶
type InterchainEntryLibCallerRaw struct {
Contract *InterchainEntryLibCaller // Generic read-only contract binding to access the raw methods on
}
InterchainEntryLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterchainEntryLibCallerRaw) Call ¶
func (_InterchainEntryLib *InterchainEntryLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterchainEntryLibCallerSession ¶
type InterchainEntryLibCallerSession struct { Contract *InterchainEntryLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterchainEntryLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type InterchainEntryLibFilterer ¶
type InterchainEntryLibFilterer struct {
// contains filtered or unexported fields
}
InterchainEntryLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterchainEntryLibFilterer ¶
func NewInterchainEntryLibFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainEntryLibFilterer, error)
NewInterchainEntryLibFilterer creates a new log filterer instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibRaw ¶
type InterchainEntryLibRaw struct {
Contract *InterchainEntryLib // Generic contract binding to access the raw methods on
}
InterchainEntryLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterchainEntryLibRaw) Call ¶
func (_InterchainEntryLib *InterchainEntryLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterchainEntryLibRaw) Transact ¶
func (_InterchainEntryLib *InterchainEntryLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainEntryLibRaw) Transfer ¶
func (_InterchainEntryLib *InterchainEntryLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainEntryLibSession ¶
type InterchainEntryLibSession struct { Contract *InterchainEntryLib // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainEntryLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type InterchainEntryLibTransactor ¶
type InterchainEntryLibTransactor struct {
// contains filtered or unexported fields
}
InterchainEntryLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterchainEntryLibTransactor ¶
func NewInterchainEntryLibTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainEntryLibTransactor, error)
NewInterchainEntryLibTransactor creates a new write-only instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibTransactorRaw ¶
type InterchainEntryLibTransactorRaw struct {
Contract *InterchainEntryLibTransactor // Generic write-only contract binding to access the raw methods on
}
InterchainEntryLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterchainEntryLibTransactorRaw) Transact ¶
func (_InterchainEntryLib *InterchainEntryLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainEntryLibTransactorRaw) Transfer ¶
func (_InterchainEntryLib *InterchainEntryLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainEntryLibTransactorSession ¶
type InterchainEntryLibTransactorSession struct { Contract *InterchainEntryLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainEntryLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type TypeCasts ¶
type TypeCasts struct { TypeCastsCaller // Read-only binding to the contract TypeCastsTransactor // Write-only binding to the contract TypeCastsFilterer // Log filterer for contract events }
TypeCasts is an auto generated Go binding around an Ethereum contract.
func DeployTypeCasts ¶
func DeployTypeCasts(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TypeCasts, error)
DeployTypeCasts deploys a new Ethereum contract, binding an instance of TypeCasts to it.
func NewTypeCasts ¶
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.