Documentation ¶
Overview ¶
Package interchainmodulemock provides a mock for the InterchainModule contract.
Code generated by synapse abigen DO NOT EDIT.
Index ¶
- Variables
- type IInterchainDB
- type IInterchainDBCaller
- func (_IInterchainDB *IInterchainDBCaller) CheckVerification(opts *bind.CallOpts, dstModule common.Address, entry InterchainEntry, ...) (*big.Int, error)
- func (_IInterchainDB *IInterchainDBCaller) DBVERSION(opts *bind.CallOpts) (uint16, 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) DBVERSION() (uint16, 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) DBVERSION() (uint16, 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(versionedBatch []byte) (*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, versionedBatch []byte) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactor) WriteEntry(opts *bind.TransactOpts, dataHash [32]byte) (*types.Transaction, error)
- func (_IInterchainDB *IInterchainDBTransactor) WriteEntryWithVerification(opts *bind.TransactOpts, dstChainId *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(versionedBatch []byte) (*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 InterchainEntry
- type InterchainEntryLib
- type InterchainEntryLibCaller
- type InterchainEntryLibCallerRaw
- type InterchainEntryLibCallerSession
- type InterchainEntryLibFilterer
- type InterchainEntryLibRaw
- func (_InterchainEntryLib *InterchainEntryLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterchainEntryLib *InterchainEntryLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterchainEntryLib *InterchainEntryLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterchainEntryLibSession
- type InterchainEntryLibTransactor
- type InterchainEntryLibTransactorRaw
- type InterchainEntryLibTransactorSession
- type InterchainModuleMock
- type InterchainModuleMockCaller
- type InterchainModuleMockCallerRaw
- type InterchainModuleMockCallerSession
- type InterchainModuleMockFilterer
- type InterchainModuleMockRaw
- func (_InterchainModuleMock *InterchainModuleMockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterchainModuleMock *InterchainModuleMockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterchainModuleMockRef
- type InterchainModuleMockSession
- func (_InterchainModuleMock *InterchainModuleMockSession) GetModuleFee(dstChainId *big.Int, dbNonce *big.Int) (*big.Int, error)
- func (_InterchainModuleMock *InterchainModuleMockSession) MockVerifyRemoteBatch(interchainDB common.Address, versionedBatch []byte) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockSession) MockVerifyRemoteBatchStruct(interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockSession) RequestBatchVerification(dstChainId *big.Int, versionedBatch []byte) (*types.Transaction, error)
- type InterchainModuleMockTransactor
- func (_InterchainModuleMock *InterchainModuleMockTransactor) MockVerifyRemoteBatch(opts *bind.TransactOpts, interchainDB common.Address, versionedBatch []byte) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockTransactor) MockVerifyRemoteBatchStruct(opts *bind.TransactOpts, interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId *big.Int, versionedBatch []byte) (*types.Transaction, error)
- type InterchainModuleMockTransactorRaw
- type InterchainModuleMockTransactorSession
- func (_InterchainModuleMock *InterchainModuleMockTransactorSession) MockVerifyRemoteBatch(interchainDB common.Address, versionedBatch []byte) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockTransactorSession) MockVerifyRemoteBatchStruct(interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)
- func (_InterchainModuleMock *InterchainModuleMockTransactorSession) RequestBatchVerification(dstChainId *big.Int, versionedBatch []byte) (*types.Transaction, error)
- type TypeCasts
- type TypeCastsCaller
- type TypeCastsCallerRaw
- type TypeCastsCallerSession
- type TypeCastsFilterer
- type TypeCastsRaw
- func (_TypeCasts *TypeCastsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TypeCasts *TypeCastsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TypeCasts *TypeCastsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TypeCastsSession
- type TypeCastsTransactor
- type TypeCastsTransactorRaw
- type TypeCastsTransactorSession
- type VersionedPayloadLib
- type VersionedPayloadLibCaller
- type VersionedPayloadLibCallerRaw
- type VersionedPayloadLibCallerSession
- type VersionedPayloadLibFilterer
- type VersionedPayloadLibRaw
- func (_VersionedPayloadLib *VersionedPayloadLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VersionedPayloadLib *VersionedPayloadLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VersionedPayloadLib *VersionedPayloadLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VersionedPayloadLibSession
- type VersionedPayloadLibTransactor
- type VersionedPayloadLibTransactorRaw
- type VersionedPayloadLibTransactorSession
Constants ¶
This section is empty.
Variables ¶
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var IInterchainDBABI = IInterchainDBMetaData.ABI
IInterchainDBABI is the input ABI used to generate the binding from. Deprecated: Use IInterchainDBMetaData.ABI instead.
var IInterchainDBFuncSigs = IInterchainDBMetaData.Sigs
Deprecated: Use IInterchainDBMetaData.Sigs instead. IInterchainDBFuncSigs maps the 4-byte function signature to its string representation.
var IInterchainDBMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"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\":\"uint16\",\"name\":\"version\",\"type\":\"uint16\"}],\"name\":\"InterchainDB__InvalidBatchVersion\",\"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\":[],\"name\":\"DB_VERSION\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"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\":[{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"type\":\"bytes\"}],\"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{ "15f53956": "DB_VERSION()", "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[])", "d961a48e": "verifyRemoteBatch(bytes)", "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\"},{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"type\":\"bytes\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]", Sigs: map[string]string{ "4a114f72": "getModuleFee(uint256,uint256)", "4bd7e4dd": "requestBatchVerification(uint256,bytes)", }, }
IInterchainModuleMetaData contains all meta data concerning the IInterchainModule contract.
var InterchainBatchLibABI = InterchainBatchLibMetaData.ABI
InterchainBatchLibABI is the input ABI used to generate the binding from. Deprecated: Use InterchainBatchLibMetaData.ABI instead.
var InterchainBatchLibBin = InterchainBatchLibMetaData.Bin
InterchainBatchLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InterchainBatchLibMetaData.Bin instead.
var InterchainBatchLibMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207bde9728c042cd259bb47b84dee9b76e97a17d3abfea6dfefa3790f9491107fe64736f6c63430008140033",
}
InterchainBatchLibMetaData contains all meta data concerning the InterchainBatchLib contract.
var InterchainEntryLibABI = InterchainEntryLibMetaData.ABI
InterchainEntryLibABI is the input ABI used to generate the binding from. Deprecated: Use InterchainEntryLibMetaData.ABI instead.
var InterchainEntryLibBin = InterchainEntryLibMetaData.Bin
InterchainEntryLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InterchainEntryLibMetaData.Bin instead.
var InterchainEntryLibMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212203e74418c6f543d0c03a1953c1a397492a6aa52ac0e7238f4810fb4ff066c7f2664736f6c63430008140033",
}
InterchainEntryLibMetaData contains all meta data concerning the InterchainEntryLib contract.
var InterchainModuleMockABI = InterchainModuleMockMetaData.ABI
InterchainModuleMockABI is the input ABI used to generate the binding from. Deprecated: Use InterchainModuleMockMetaData.ABI instead.
var InterchainModuleMockBin = InterchainModuleMockMetaData.Bin
InterchainModuleMockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InterchainModuleMockMetaData.Bin instead.
var InterchainModuleMockFuncSigs = InterchainModuleMockMetaData.Sigs
Deprecated: Use InterchainModuleMockMetaData.Sigs instead. InterchainModuleMockFuncSigs maps the 4-byte function signature to its string representation.
var InterchainModuleMockMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"InterchainModule__IncorrectSourceChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"actual\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"required\",\"type\":\"uint256\"}],\"name\":\"InterchainModule__InsufficientFee\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"InterchainModule__NotInterchainDB\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"InterchainModule__SameChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"}],\"name\":\"getModuleFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"interchainDB\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"type\":\"bytes\"}],\"name\":\"mockVerifyRemoteBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"interchainDB\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dbNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structInterchainBatch\",\"name\":\"batch\",\"type\":\"tuple\"}],\"name\":\"mockVerifyRemoteBatchStruct\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"versionedBatch\",\"type\":\"bytes\"}],\"name\":\"requestBatchVerification\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]", Sigs: map[string]string{ "4a114f72": "getModuleFee(uint256,uint256)", "e3d3f57c": "mockVerifyRemoteBatch(address,bytes)", "442eb3b5": "mockVerifyRemoteBatchStruct(address,(uint256,uint256,bytes32))", "4bd7e4dd": "requestBatchVerification(uint256,bytes)", }, Bin: "0x608060405234801561001057600080fd5b506105d5806100206000396000f3fe60806040526004361061003f5760003560e01c8063442eb3b5146100445780634a114f72146100665780634bd7e4dd1461009b578063e3d3f57c146100ae575b600080fd5b34801561005057600080fd5b5061006461005f3660046102b1565b6100ce565b005b34801561007257600080fd5b50610089610081366004610376565b600092915050565b60405190815260200160405180910390f35b6100646100a93660046103e1565b505050565b3480156100ba57600080fd5b506100646100c936600461042d565b610208565b600061017c8373ffffffffffffffffffffffffffffffffffffffff166315f539566040518163ffffffff1660e01b8152600401602060405180830381865afa15801561011e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101429190610467565b604080518551602080830191909152860151818301528186015160608083019190915282518083039091018152608090910190915261025c565b6040517fd961a48e00000000000000000000000000000000000000000000000000000000815290915073ffffffffffffffffffffffffffffffffffffffff84169063d961a48e906101d19084906004016104b6565b600060405180830381600087803b1580156101eb57600080fd5b505af11580156101ff573d6000803e3d6000fd5b50505050505050565b6040517fd961a48e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84169063d961a48e906101d19085908590600401610507565b60608282604051602001610271929190610554565b604051602081830303815290604052905092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146102ac57600080fd5b919050565b60008082840360808112156102c557600080fd5b6102ce84610288565b925060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08201121561030057600080fd5b506040516060810181811067ffffffffffffffff8211171561034b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b8060405250602084013581526040840135602082015260608401356040820152809150509250929050565b6000806040838503121561038957600080fd5b50508035926020909101359150565b60008083601f8401126103aa57600080fd5b50813567ffffffffffffffff8111156103c257600080fd5b6020830191508360208285010111156103da57600080fd5b9250929050565b6000806000604084860312156103f657600080fd5b83359250602084013567ffffffffffffffff81111561041457600080fd5b61042086828701610398565b9497909650939450505050565b60008060006040848603121561044257600080fd5b61044b84610288565b9250602084013567ffffffffffffffff81111561041457600080fd5b60006020828403121561047957600080fd5b815161ffff8116811461048b57600080fd5b9392505050565b60005b838110156104ad578181015183820152602001610495565b50506000910152565b60208152600082518060208401526104d5816040850160208701610492565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60208152816020820152818360408301376000818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b7fffff0000000000000000000000000000000000000000000000000000000000008360f01b16815260008251610591816002850160208701610492565b91909101600201939250505056fea2646970667358221220b36c56f5ab9fac7ab34fb60ed70405c990a9b89fbad697a655e6b3d12a0b39de64736f6c63430008140033", }
InterchainModuleMockMetaData contains all meta data concerning the InterchainModuleMock 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b36397aa8d00eb8ecab54187405d3ba51e0197d122edf3f763df15b0febe316c64736f6c63430008140033",
}
TypeCastsMetaData contains all meta data concerning the TypeCasts contract.
var VersionedPayloadLibABI = VersionedPayloadLibMetaData.ABI
VersionedPayloadLibABI is the input ABI used to generate the binding from. Deprecated: Use VersionedPayloadLibMetaData.ABI instead.
var VersionedPayloadLibBin = VersionedPayloadLibMetaData.Bin
VersionedPayloadLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use VersionedPayloadLibMetaData.Bin instead.
var VersionedPayloadLibMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"VersionedPayload__PrecompileFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"versionedPayload\",\"type\":\"bytes\"}],\"name\":\"VersionedPayload__TooShort\",\"type\":\"error\"}]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bd96484f04728cd2b05f884ce58af4e0605bd063e93e74e4fbde8f8ad8b8409464736f6c63430008140033",
}
VersionedPayloadLibMetaData contains all meta data concerning the VersionedPayloadLib contract.
Functions ¶
This section is empty.
Types ¶
type IInterchainDB ¶
type IInterchainDB struct { IInterchainDBCaller // Read-only binding to the contract IInterchainDBTransactor // Write-only binding to the contract IInterchainDBFilterer // Log filterer for contract events }
IInterchainDB is an auto generated Go binding around an Ethereum contract.
func NewIInterchainDB ¶
func NewIInterchainDB(address common.Address, backend bind.ContractBackend) (*IInterchainDB, error)
NewIInterchainDB creates a new instance of IInterchainDB, bound to a specific deployed contract.
type IInterchainDBCaller ¶
type IInterchainDBCaller struct {
// contains filtered or unexported fields
}
IInterchainDBCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIInterchainDBCaller ¶
func NewIInterchainDBCaller(address common.Address, caller bind.ContractCaller) (*IInterchainDBCaller, error)
NewIInterchainDBCaller creates a new read-only instance of IInterchainDB, bound to a specific deployed contract.
func (*IInterchainDBCaller) CheckVerification ¶
func (_IInterchainDB *IInterchainDBCaller) CheckVerification(opts *bind.CallOpts, dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
CheckVerification is a free data retrieval call binding the contract method 0x67b1f42e.
Solidity: function checkVerification(address dstModule, (uint256,uint256,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)
func (*IInterchainDBCaller) DBVERSION ¶ added in v0.4.0
func (_IInterchainDB *IInterchainDBCaller) DBVERSION(opts *bind.CallOpts) (uint16, error)
DBVERSION is a free data retrieval call binding the contract method 0x15f53956.
Solidity: function DB_VERSION() pure returns(uint16)
func (*IInterchainDBCaller) GetBatch ¶
func (_IInterchainDB *IInterchainDBCaller) GetBatch(opts *bind.CallOpts, dbNonce *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.4
func (_IInterchainDB *IInterchainDBCaller) GetEntryValue(opts *bind.CallOpts, dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xafa25005.
Solidity: function getEntryValue(uint256 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*IInterchainDBCaller) GetInterchainFee ¶
func (_IInterchainDB *IInterchainDBCaller) GetInterchainFee(opts *bind.CallOpts, dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xfc7686ec.
Solidity: function getInterchainFee(uint256 dstChainId, address[] srcModules) view returns(uint256)
func (*IInterchainDBCaller) GetNextEntryIndex ¶
func (_IInterchainDB *IInterchainDBCaller) GetNextEntryIndex(opts *bind.CallOpts) (struct { DbNonce *big.Int EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint256 dbNonce, uint64 entryIndex)
type IInterchainDBCallerRaw ¶
type IInterchainDBCallerRaw struct {
Contract *IInterchainDBCaller // Generic read-only contract binding to access the raw methods on
}
IInterchainDBCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IInterchainDBCallerRaw) Call ¶
func (_IInterchainDB *IInterchainDBCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type IInterchainDBCallerSession ¶
type IInterchainDBCallerSession struct { Contract *IInterchainDBCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IInterchainDBCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IInterchainDBCallerSession) CheckVerification ¶
func (_IInterchainDB *IInterchainDBCallerSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
CheckVerification is a free data retrieval call binding the contract method 0x67b1f42e.
Solidity: function checkVerification(address dstModule, (uint256,uint256,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)
func (*IInterchainDBCallerSession) DBVERSION ¶ added in v0.4.0
func (_IInterchainDB *IInterchainDBCallerSession) DBVERSION() (uint16, error)
DBVERSION is a free data retrieval call binding the contract method 0x15f53956.
Solidity: function DB_VERSION() pure returns(uint16)
func (*IInterchainDBCallerSession) GetBatch ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetBatch(dbNonce *big.Int) (InterchainBatch, error)
GetBatch is a free data retrieval call binding the contract method 0x5ac44282.
Solidity: function getBatch(uint256 dbNonce) view returns((uint256,uint256,bytes32))
func (*IInterchainDBCallerSession) GetBatchLeafs ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)
GetBatchLeafs is a free data retrieval call binding the contract method 0xd63020bb.
Solidity: function getBatchLeafs(uint256 dbNonce) view returns(bytes32[])
func (*IInterchainDBCallerSession) GetBatchLeafsPaginated ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetBatchLeafsPaginated(dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x25a1641d.
Solidity: function getBatchLeafsPaginated(uint256 dbNonce, uint64 start, uint64 end) view returns(bytes32[])
func (*IInterchainDBCallerSession) GetBatchSize ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetBatchSize(dbNonce *big.Int) (uint64, error)
GetBatchSize is a free data retrieval call binding the contract method 0xb955e9b9.
Solidity: function getBatchSize(uint256 dbNonce) view returns(uint64)
func (*IInterchainDBCallerSession) GetDBNonce ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetDBNonce() (*big.Int, error)
GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.
Solidity: function getDBNonce() view returns(uint256)
func (*IInterchainDBCallerSession) GetEntryProof ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetEntryProof(dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
GetEntryProof is a free data retrieval call binding the contract method 0x4f84d040.
Solidity: function getEntryProof(uint256 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)
func (*IInterchainDBCallerSession) GetEntryValue ¶ added in v0.0.4
func (_IInterchainDB *IInterchainDBCallerSession) GetEntryValue(dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xafa25005.
Solidity: function getEntryValue(uint256 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*IInterchainDBCallerSession) GetInterchainFee ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetInterchainFee(dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xfc7686ec.
Solidity: function getInterchainFee(uint256 dstChainId, address[] srcModules) view returns(uint256)
func (*IInterchainDBCallerSession) GetNextEntryIndex ¶
func (_IInterchainDB *IInterchainDBCallerSession) GetNextEntryIndex() (struct { DbNonce *big.Int EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint256 dbNonce, uint64 entryIndex)
type IInterchainDBFilterer ¶
type IInterchainDBFilterer struct {
// contains filtered or unexported fields
}
IInterchainDBFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIInterchainDBFilterer ¶
func NewIInterchainDBFilterer(address common.Address, filterer bind.ContractFilterer) (*IInterchainDBFilterer, error)
NewIInterchainDBFilterer creates a new log filterer instance of IInterchainDB, bound to a specific deployed contract.
type IInterchainDBRaw ¶
type IInterchainDBRaw struct {
Contract *IInterchainDB // Generic contract binding to access the raw methods on
}
IInterchainDBRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IInterchainDBRaw) Call ¶
func (_IInterchainDB *IInterchainDBRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*IInterchainDBRaw) Transact ¶
func (_IInterchainDB *IInterchainDBRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IInterchainDBRaw) Transfer ¶
func (_IInterchainDB *IInterchainDBRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IInterchainDBSession ¶
type IInterchainDBSession struct { Contract *IInterchainDB // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IInterchainDBSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IInterchainDBSession) CheckVerification ¶
func (_IInterchainDB *IInterchainDBSession) CheckVerification(dstModule common.Address, entry InterchainEntry, proof [][32]byte) (*big.Int, error)
CheckVerification is a free data retrieval call binding the contract method 0x67b1f42e.
Solidity: function checkVerification(address dstModule, (uint256,uint256,uint64,bytes32,bytes32) entry, bytes32[] proof) view returns(uint256 moduleVerifiedAt)
func (*IInterchainDBSession) DBVERSION ¶ added in v0.4.0
func (_IInterchainDB *IInterchainDBSession) DBVERSION() (uint16, error)
DBVERSION is a free data retrieval call binding the contract method 0x15f53956.
Solidity: function DB_VERSION() pure returns(uint16)
func (*IInterchainDBSession) GetBatch ¶
func (_IInterchainDB *IInterchainDBSession) GetBatch(dbNonce *big.Int) (InterchainBatch, error)
GetBatch is a free data retrieval call binding the contract method 0x5ac44282.
Solidity: function getBatch(uint256 dbNonce) view returns((uint256,uint256,bytes32))
func (*IInterchainDBSession) GetBatchLeafs ¶
func (_IInterchainDB *IInterchainDBSession) GetBatchLeafs(dbNonce *big.Int) ([][32]byte, error)
GetBatchLeafs is a free data retrieval call binding the contract method 0xd63020bb.
Solidity: function getBatchLeafs(uint256 dbNonce) view returns(bytes32[])
func (*IInterchainDBSession) GetBatchLeafsPaginated ¶
func (_IInterchainDB *IInterchainDBSession) GetBatchLeafsPaginated(dbNonce *big.Int, start uint64, end uint64) ([][32]byte, error)
GetBatchLeafsPaginated is a free data retrieval call binding the contract method 0x25a1641d.
Solidity: function getBatchLeafsPaginated(uint256 dbNonce, uint64 start, uint64 end) view returns(bytes32[])
func (*IInterchainDBSession) GetBatchSize ¶
func (_IInterchainDB *IInterchainDBSession) GetBatchSize(dbNonce *big.Int) (uint64, error)
GetBatchSize is a free data retrieval call binding the contract method 0xb955e9b9.
Solidity: function getBatchSize(uint256 dbNonce) view returns(uint64)
func (*IInterchainDBSession) GetDBNonce ¶
func (_IInterchainDB *IInterchainDBSession) GetDBNonce() (*big.Int, error)
GetDBNonce is a free data retrieval call binding the contract method 0xf338140e.
Solidity: function getDBNonce() view returns(uint256)
func (*IInterchainDBSession) GetEntryProof ¶
func (_IInterchainDB *IInterchainDBSession) GetEntryProof(dbNonce *big.Int, entryIndex uint64) ([][32]byte, error)
GetEntryProof is a free data retrieval call binding the contract method 0x4f84d040.
Solidity: function getEntryProof(uint256 dbNonce, uint64 entryIndex) view returns(bytes32[] proof)
func (*IInterchainDBSession) GetEntryValue ¶ added in v0.0.4
func (_IInterchainDB *IInterchainDBSession) GetEntryValue(dbNonce *big.Int, entryIndex uint64) ([32]byte, error)
GetEntryValue is a free data retrieval call binding the contract method 0xafa25005.
Solidity: function getEntryValue(uint256 dbNonce, uint64 entryIndex) view returns(bytes32)
func (*IInterchainDBSession) GetInterchainFee ¶
func (_IInterchainDB *IInterchainDBSession) GetInterchainFee(dstChainId *big.Int, srcModules []common.Address) (*big.Int, error)
GetInterchainFee is a free data retrieval call binding the contract method 0xfc7686ec.
Solidity: function getInterchainFee(uint256 dstChainId, address[] srcModules) view returns(uint256)
func (*IInterchainDBSession) GetNextEntryIndex ¶
func (_IInterchainDB *IInterchainDBSession) GetNextEntryIndex() (struct { DbNonce *big.Int EntryIndex uint64 }, error)
GetNextEntryIndex is a free data retrieval call binding the contract method 0xaa2f06ae.
Solidity: function getNextEntryIndex() view returns(uint256 dbNonce, uint64 entryIndex)
func (*IInterchainDBSession) RequestBatchVerification ¶
func (_IInterchainDB *IInterchainDBSession) RequestBatchVerification(dstChainId *big.Int, dbNonce *big.Int, srcModules []common.Address) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x84b1c8b8.
Solidity: function requestBatchVerification(uint256 dstChainId, uint256 dbNonce, address[] srcModules) payable returns()
func (*IInterchainDBSession) VerifyRemoteBatch ¶
func (_IInterchainDB *IInterchainDBSession) VerifyRemoteBatch(versionedBatch []byte) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.
Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()
func (*IInterchainDBSession) WriteEntry ¶
func (_IInterchainDB *IInterchainDBSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(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, versionedBatch []byte) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.
Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()
func (*IInterchainDBTransactor) WriteEntry ¶
func (_IInterchainDB *IInterchainDBTransactor) WriteEntry(opts *bind.TransactOpts, dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(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(versionedBatch []byte) (*types.Transaction, error)
VerifyRemoteBatch is a paid mutator transaction binding the contract method 0xd961a48e.
Solidity: function verifyRemoteBatch(bytes versionedBatch) returns()
func (*IInterchainDBTransactorSession) WriteEntry ¶
func (_IInterchainDB *IInterchainDBTransactorSession) WriteEntry(dataHash [32]byte) (*types.Transaction, error)
WriteEntry is a paid mutator transaction binding the contract method 0x2ad8c706.
Solidity: function writeEntry(bytes32 dataHash) returns(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, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x4bd7e4dd.
Solidity: function requestBatchVerification(uint256 dstChainId, bytes versionedBatch) payable returns()
type IInterchainModuleTransactor ¶
type IInterchainModuleTransactor struct {
// contains filtered or unexported fields
}
IInterchainModuleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIInterchainModuleTransactor ¶
func NewIInterchainModuleTransactor(address common.Address, transactor bind.ContractTransactor) (*IInterchainModuleTransactor, error)
NewIInterchainModuleTransactor creates a new write-only instance of IInterchainModule, bound to a specific deployed contract.
func (*IInterchainModuleTransactor) RequestBatchVerification ¶
func (_IInterchainModule *IInterchainModuleTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId *big.Int, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x4bd7e4dd.
Solidity: function requestBatchVerification(uint256 dstChainId, bytes versionedBatch) payable returns()
type IInterchainModuleTransactorRaw ¶
type IInterchainModuleTransactorRaw struct {
Contract *IInterchainModuleTransactor // Generic write-only contract binding to access the raw methods on
}
IInterchainModuleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IInterchainModuleTransactorRaw) Transact ¶
func (_IInterchainModule *IInterchainModuleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IInterchainModuleTransactorRaw) Transfer ¶
func (_IInterchainModule *IInterchainModuleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IInterchainModuleTransactorSession ¶
type IInterchainModuleTransactorSession struct { Contract *IInterchainModuleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IInterchainModuleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IInterchainModuleTransactorSession) RequestBatchVerification ¶
func (_IInterchainModule *IInterchainModuleTransactorSession) RequestBatchVerification(dstChainId *big.Int, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x4bd7e4dd.
Solidity: function requestBatchVerification(uint256 dstChainId, bytes versionedBatch) payable returns()
type InterchainBatch ¶
InterchainBatch is an auto generated low-level Go binding around an user-defined struct.
type InterchainBatchLib ¶
type InterchainBatchLib struct { InterchainBatchLibCaller // Read-only binding to the contract InterchainBatchLibTransactor // Write-only binding to the contract InterchainBatchLibFilterer // Log filterer for contract events }
InterchainBatchLib is an auto generated Go binding around an Ethereum contract.
func DeployInterchainBatchLib ¶
func DeployInterchainBatchLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *InterchainBatchLib, error)
DeployInterchainBatchLib deploys a new Ethereum contract, binding an instance of InterchainBatchLib to it.
func NewInterchainBatchLib ¶
func NewInterchainBatchLib(address common.Address, backend bind.ContractBackend) (*InterchainBatchLib, error)
NewInterchainBatchLib creates a new instance of InterchainBatchLib, bound to a specific deployed contract.
type InterchainBatchLibCaller ¶
type InterchainBatchLibCaller struct {
// contains filtered or unexported fields
}
InterchainBatchLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterchainBatchLibCaller ¶
func NewInterchainBatchLibCaller(address common.Address, caller bind.ContractCaller) (*InterchainBatchLibCaller, error)
NewInterchainBatchLibCaller creates a new read-only instance of InterchainBatchLib, bound to a specific deployed contract.
type InterchainBatchLibCallerRaw ¶
type InterchainBatchLibCallerRaw struct {
Contract *InterchainBatchLibCaller // Generic read-only contract binding to access the raw methods on
}
InterchainBatchLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterchainBatchLibCallerRaw) Call ¶
func (_InterchainBatchLib *InterchainBatchLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterchainBatchLibCallerSession ¶
type InterchainBatchLibCallerSession struct { Contract *InterchainBatchLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterchainBatchLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type InterchainBatchLibFilterer ¶
type InterchainBatchLibFilterer struct {
// contains filtered or unexported fields
}
InterchainBatchLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterchainBatchLibFilterer ¶
func NewInterchainBatchLibFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainBatchLibFilterer, error)
NewInterchainBatchLibFilterer creates a new log filterer instance of InterchainBatchLib, bound to a specific deployed contract.
type InterchainBatchLibRaw ¶
type InterchainBatchLibRaw struct {
Contract *InterchainBatchLib // Generic contract binding to access the raw methods on
}
InterchainBatchLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterchainBatchLibRaw) Call ¶
func (_InterchainBatchLib *InterchainBatchLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterchainBatchLibRaw) Transact ¶
func (_InterchainBatchLib *InterchainBatchLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainBatchLibRaw) Transfer ¶
func (_InterchainBatchLib *InterchainBatchLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainBatchLibSession ¶
type InterchainBatchLibSession struct { Contract *InterchainBatchLib // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainBatchLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type InterchainBatchLibTransactor ¶
type InterchainBatchLibTransactor struct {
// contains filtered or unexported fields
}
InterchainBatchLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterchainBatchLibTransactor ¶
func NewInterchainBatchLibTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainBatchLibTransactor, error)
NewInterchainBatchLibTransactor creates a new write-only instance of InterchainBatchLib, bound to a specific deployed contract.
type InterchainBatchLibTransactorRaw ¶
type InterchainBatchLibTransactorRaw struct {
Contract *InterchainBatchLibTransactor // Generic write-only contract binding to access the raw methods on
}
InterchainBatchLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterchainBatchLibTransactorRaw) Transact ¶
func (_InterchainBatchLib *InterchainBatchLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainBatchLibTransactorRaw) Transfer ¶
func (_InterchainBatchLib *InterchainBatchLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainBatchLibTransactorSession ¶
type InterchainBatchLibTransactorSession struct { Contract *InterchainBatchLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainBatchLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type InterchainEntry ¶
type InterchainEntry struct { SrcChainId *big.Int DbNonce *big.Int EntryIndex uint64 SrcWriter [32]byte DataHash [32]byte }
InterchainEntry is an auto generated low-level Go binding around an user-defined struct.
type InterchainEntryLib ¶
type InterchainEntryLib struct { InterchainEntryLibCaller // Read-only binding to the contract InterchainEntryLibTransactor // Write-only binding to the contract InterchainEntryLibFilterer // Log filterer for contract events }
InterchainEntryLib is an auto generated Go binding around an Ethereum contract.
func DeployInterchainEntryLib ¶
func DeployInterchainEntryLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *InterchainEntryLib, error)
DeployInterchainEntryLib deploys a new Ethereum contract, binding an instance of InterchainEntryLib to it.
func NewInterchainEntryLib ¶
func NewInterchainEntryLib(address common.Address, backend bind.ContractBackend) (*InterchainEntryLib, error)
NewInterchainEntryLib creates a new instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibCaller ¶
type InterchainEntryLibCaller struct {
// contains filtered or unexported fields
}
InterchainEntryLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterchainEntryLibCaller ¶
func NewInterchainEntryLibCaller(address common.Address, caller bind.ContractCaller) (*InterchainEntryLibCaller, error)
NewInterchainEntryLibCaller creates a new read-only instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibCallerRaw ¶
type InterchainEntryLibCallerRaw struct {
Contract *InterchainEntryLibCaller // Generic read-only contract binding to access the raw methods on
}
InterchainEntryLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterchainEntryLibCallerRaw) Call ¶
func (_InterchainEntryLib *InterchainEntryLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterchainEntryLibCallerSession ¶
type InterchainEntryLibCallerSession struct { Contract *InterchainEntryLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterchainEntryLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type InterchainEntryLibFilterer ¶
type InterchainEntryLibFilterer struct {
// contains filtered or unexported fields
}
InterchainEntryLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterchainEntryLibFilterer ¶
func NewInterchainEntryLibFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainEntryLibFilterer, error)
NewInterchainEntryLibFilterer creates a new log filterer instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibRaw ¶
type InterchainEntryLibRaw struct {
Contract *InterchainEntryLib // Generic contract binding to access the raw methods on
}
InterchainEntryLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterchainEntryLibRaw) Call ¶
func (_InterchainEntryLib *InterchainEntryLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterchainEntryLibRaw) Transact ¶
func (_InterchainEntryLib *InterchainEntryLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainEntryLibRaw) Transfer ¶
func (_InterchainEntryLib *InterchainEntryLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainEntryLibSession ¶
type InterchainEntryLibSession struct { Contract *InterchainEntryLib // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainEntryLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type InterchainEntryLibTransactor ¶
type InterchainEntryLibTransactor struct {
// contains filtered or unexported fields
}
InterchainEntryLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterchainEntryLibTransactor ¶
func NewInterchainEntryLibTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainEntryLibTransactor, error)
NewInterchainEntryLibTransactor creates a new write-only instance of InterchainEntryLib, bound to a specific deployed contract.
type InterchainEntryLibTransactorRaw ¶
type InterchainEntryLibTransactorRaw struct {
Contract *InterchainEntryLibTransactor // Generic write-only contract binding to access the raw methods on
}
InterchainEntryLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterchainEntryLibTransactorRaw) Transact ¶
func (_InterchainEntryLib *InterchainEntryLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainEntryLibTransactorRaw) Transfer ¶
func (_InterchainEntryLib *InterchainEntryLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainEntryLibTransactorSession ¶
type InterchainEntryLibTransactorSession struct { Contract *InterchainEntryLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainEntryLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type InterchainModuleMock ¶
type InterchainModuleMock struct { InterchainModuleMockCaller // Read-only binding to the contract InterchainModuleMockTransactor // Write-only binding to the contract InterchainModuleMockFilterer // Log filterer for contract events }
InterchainModuleMock is an auto generated Go binding around an Ethereum contract.
func DeployInterchainModuleMock ¶
func DeployInterchainModuleMock(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *InterchainModuleMock, error)
DeployInterchainModuleMock deploys a new Ethereum contract, binding an instance of InterchainModuleMock to it.
func NewInterchainModuleMock ¶
func NewInterchainModuleMock(address common.Address, backend bind.ContractBackend) (*InterchainModuleMock, error)
NewInterchainModuleMock creates a new instance of InterchainModuleMock, bound to a specific deployed contract.
type InterchainModuleMockCaller ¶
type InterchainModuleMockCaller struct {
// contains filtered or unexported fields
}
InterchainModuleMockCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterchainModuleMockCaller ¶
func NewInterchainModuleMockCaller(address common.Address, caller bind.ContractCaller) (*InterchainModuleMockCaller, error)
NewInterchainModuleMockCaller creates a new read-only instance of InterchainModuleMock, bound to a specific deployed contract.
func (*InterchainModuleMockCaller) GetModuleFee ¶
func (_InterchainModuleMock *InterchainModuleMockCaller) GetModuleFee(opts *bind.CallOpts, dstChainId *big.Int, dbNonce *big.Int) (*big.Int, error)
GetModuleFee is a free data retrieval call binding the contract method 0x4a114f72.
Solidity: function getModuleFee(uint256 dstChainId, uint256 dbNonce) view returns(uint256)
type InterchainModuleMockCallerRaw ¶
type InterchainModuleMockCallerRaw struct {
Contract *InterchainModuleMockCaller // Generic read-only contract binding to access the raw methods on
}
InterchainModuleMockCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterchainModuleMockCallerRaw) Call ¶
func (_InterchainModuleMock *InterchainModuleMockCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterchainModuleMockCallerSession ¶
type InterchainModuleMockCallerSession struct { Contract *InterchainModuleMockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterchainModuleMockCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*InterchainModuleMockCallerSession) GetModuleFee ¶
func (_InterchainModuleMock *InterchainModuleMockCallerSession) GetModuleFee(dstChainId *big.Int, dbNonce *big.Int) (*big.Int, error)
GetModuleFee is a free data retrieval call binding the contract method 0x4a114f72.
Solidity: function getModuleFee(uint256 dstChainId, uint256 dbNonce) view returns(uint256)
type InterchainModuleMockFilterer ¶
type InterchainModuleMockFilterer struct {
// contains filtered or unexported fields
}
InterchainModuleMockFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterchainModuleMockFilterer ¶
func NewInterchainModuleMockFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainModuleMockFilterer, error)
NewInterchainModuleMockFilterer creates a new log filterer instance of InterchainModuleMock, bound to a specific deployed contract.
type InterchainModuleMockRaw ¶
type InterchainModuleMockRaw struct {
Contract *InterchainModuleMock // Generic contract binding to access the raw methods on
}
InterchainModuleMockRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterchainModuleMockRaw) Call ¶
func (_InterchainModuleMock *InterchainModuleMockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterchainModuleMockRaw) Transact ¶
func (_InterchainModuleMock *InterchainModuleMockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainModuleMockRaw) Transfer ¶
func (_InterchainModuleMock *InterchainModuleMockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainModuleMockRef ¶
type InterchainModuleMockRef struct { *InterchainModuleMock // contains filtered or unexported fields }
InterchainModuleMockRef is a reference to an interchain db. nolint: golint
func NewInterchainModuleMockRef ¶
func NewInterchainModuleMockRef(address common.Address, backend bind.ContractBackend) (*InterchainModuleMockRef, error)
NewInterchainModuleMockRef creates a new interchain client with a contract ref.
func (*InterchainModuleMockRef) Address ¶
func (i *InterchainModuleMockRef) Address() common.Address
Address is the contract address.
type InterchainModuleMockSession ¶
type InterchainModuleMockSession struct { Contract *InterchainModuleMock // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainModuleMockSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InterchainModuleMockSession) GetModuleFee ¶
func (_InterchainModuleMock *InterchainModuleMockSession) GetModuleFee(dstChainId *big.Int, dbNonce *big.Int) (*big.Int, error)
GetModuleFee is a free data retrieval call binding the contract method 0x4a114f72.
Solidity: function getModuleFee(uint256 dstChainId, uint256 dbNonce) view returns(uint256)
func (*InterchainModuleMockSession) MockVerifyRemoteBatch ¶
func (_InterchainModuleMock *InterchainModuleMockSession) MockVerifyRemoteBatch(interchainDB common.Address, versionedBatch []byte) (*types.Transaction, error)
MockVerifyRemoteBatch is a paid mutator transaction binding the contract method 0xe3d3f57c.
Solidity: function mockVerifyRemoteBatch(address interchainDB, bytes versionedBatch) returns()
func (*InterchainModuleMockSession) MockVerifyRemoteBatchStruct ¶ added in v0.4.0
func (_InterchainModuleMock *InterchainModuleMockSession) MockVerifyRemoteBatchStruct(interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)
MockVerifyRemoteBatchStruct is a paid mutator transaction binding the contract method 0x442eb3b5.
Solidity: function mockVerifyRemoteBatchStruct(address interchainDB, (uint256,uint256,bytes32) batch) returns()
func (*InterchainModuleMockSession) RequestBatchVerification ¶
func (_InterchainModuleMock *InterchainModuleMockSession) RequestBatchVerification(dstChainId *big.Int, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x4bd7e4dd.
Solidity: function requestBatchVerification(uint256 dstChainId, bytes versionedBatch) payable returns()
type InterchainModuleMockTransactor ¶
type InterchainModuleMockTransactor struct {
// contains filtered or unexported fields
}
InterchainModuleMockTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterchainModuleMockTransactor ¶
func NewInterchainModuleMockTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainModuleMockTransactor, error)
NewInterchainModuleMockTransactor creates a new write-only instance of InterchainModuleMock, bound to a specific deployed contract.
func (*InterchainModuleMockTransactor) MockVerifyRemoteBatch ¶
func (_InterchainModuleMock *InterchainModuleMockTransactor) MockVerifyRemoteBatch(opts *bind.TransactOpts, interchainDB common.Address, versionedBatch []byte) (*types.Transaction, error)
MockVerifyRemoteBatch is a paid mutator transaction binding the contract method 0xe3d3f57c.
Solidity: function mockVerifyRemoteBatch(address interchainDB, bytes versionedBatch) returns()
func (*InterchainModuleMockTransactor) MockVerifyRemoteBatchStruct ¶ added in v0.4.0
func (_InterchainModuleMock *InterchainModuleMockTransactor) MockVerifyRemoteBatchStruct(opts *bind.TransactOpts, interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)
MockVerifyRemoteBatchStruct is a paid mutator transaction binding the contract method 0x442eb3b5.
Solidity: function mockVerifyRemoteBatchStruct(address interchainDB, (uint256,uint256,bytes32) batch) returns()
func (*InterchainModuleMockTransactor) RequestBatchVerification ¶
func (_InterchainModuleMock *InterchainModuleMockTransactor) RequestBatchVerification(opts *bind.TransactOpts, dstChainId *big.Int, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x4bd7e4dd.
Solidity: function requestBatchVerification(uint256 dstChainId, bytes versionedBatch) payable returns()
type InterchainModuleMockTransactorRaw ¶
type InterchainModuleMockTransactorRaw struct {
Contract *InterchainModuleMockTransactor // Generic write-only contract binding to access the raw methods on
}
InterchainModuleMockTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterchainModuleMockTransactorRaw) Transact ¶
func (_InterchainModuleMock *InterchainModuleMockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterchainModuleMockTransactorRaw) Transfer ¶
func (_InterchainModuleMock *InterchainModuleMockTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterchainModuleMockTransactorSession ¶
type InterchainModuleMockTransactorSession struct { Contract *InterchainModuleMockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterchainModuleMockTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InterchainModuleMockTransactorSession) MockVerifyRemoteBatch ¶
func (_InterchainModuleMock *InterchainModuleMockTransactorSession) MockVerifyRemoteBatch(interchainDB common.Address, versionedBatch []byte) (*types.Transaction, error)
MockVerifyRemoteBatch is a paid mutator transaction binding the contract method 0xe3d3f57c.
Solidity: function mockVerifyRemoteBatch(address interchainDB, bytes versionedBatch) returns()
func (*InterchainModuleMockTransactorSession) MockVerifyRemoteBatchStruct ¶ added in v0.4.0
func (_InterchainModuleMock *InterchainModuleMockTransactorSession) MockVerifyRemoteBatchStruct(interchainDB common.Address, batch InterchainBatch) (*types.Transaction, error)
MockVerifyRemoteBatchStruct is a paid mutator transaction binding the contract method 0x442eb3b5.
Solidity: function mockVerifyRemoteBatchStruct(address interchainDB, (uint256,uint256,bytes32) batch) returns()
func (*InterchainModuleMockTransactorSession) RequestBatchVerification ¶
func (_InterchainModuleMock *InterchainModuleMockTransactorSession) RequestBatchVerification(dstChainId *big.Int, versionedBatch []byte) (*types.Transaction, error)
RequestBatchVerification is a paid mutator transaction binding the contract method 0x4bd7e4dd.
Solidity: function requestBatchVerification(uint256 dstChainId, bytes versionedBatch) payable returns()
type TypeCasts ¶
type TypeCasts struct { TypeCastsCaller // Read-only binding to the contract TypeCastsTransactor // Write-only binding to the contract TypeCastsFilterer // Log filterer for contract events }
TypeCasts is an auto generated Go binding around an Ethereum contract.
func DeployTypeCasts ¶
func DeployTypeCasts(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TypeCasts, error)
DeployTypeCasts deploys a new Ethereum contract, binding an instance of TypeCasts to it.
func NewTypeCasts ¶
NewTypeCasts creates a new instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsCaller ¶
type TypeCastsCaller struct {
// contains filtered or unexported fields
}
TypeCastsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTypeCastsCaller ¶
func NewTypeCastsCaller(address common.Address, caller bind.ContractCaller) (*TypeCastsCaller, error)
NewTypeCastsCaller creates a new read-only instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsCallerRaw ¶
type TypeCastsCallerRaw struct {
Contract *TypeCastsCaller // Generic read-only contract binding to access the raw methods on
}
TypeCastsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TypeCastsCallerRaw) Call ¶
func (_TypeCasts *TypeCastsCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type TypeCastsCallerSession ¶
type TypeCastsCallerSession struct { Contract *TypeCastsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TypeCastsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type TypeCastsFilterer ¶
type TypeCastsFilterer struct {
// contains filtered or unexported fields
}
TypeCastsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTypeCastsFilterer ¶
func NewTypeCastsFilterer(address common.Address, filterer bind.ContractFilterer) (*TypeCastsFilterer, error)
NewTypeCastsFilterer creates a new log filterer instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsRaw ¶
type TypeCastsRaw struct {
Contract *TypeCasts // Generic contract binding to access the raw methods on
}
TypeCastsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TypeCastsRaw) Call ¶
func (_TypeCasts *TypeCastsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*TypeCastsRaw) Transact ¶
func (_TypeCasts *TypeCastsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TypeCastsRaw) Transfer ¶
func (_TypeCasts *TypeCastsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type TypeCastsSession ¶
type TypeCastsSession struct { Contract *TypeCasts // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TypeCastsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type TypeCastsTransactor ¶
type TypeCastsTransactor struct {
// contains filtered or unexported fields
}
TypeCastsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTypeCastsTransactor ¶
func NewTypeCastsTransactor(address common.Address, transactor bind.ContractTransactor) (*TypeCastsTransactor, error)
NewTypeCastsTransactor creates a new write-only instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsTransactorRaw ¶
type TypeCastsTransactorRaw struct {
Contract *TypeCastsTransactor // Generic write-only contract binding to access the raw methods on
}
TypeCastsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TypeCastsTransactorRaw) Transact ¶
func (_TypeCasts *TypeCastsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TypeCastsTransactorRaw) Transfer ¶
func (_TypeCasts *TypeCastsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type TypeCastsTransactorSession ¶
type TypeCastsTransactorSession struct { Contract *TypeCastsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TypeCastsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type VersionedPayloadLib ¶ added in v0.4.0
type VersionedPayloadLib struct { VersionedPayloadLibCaller // Read-only binding to the contract VersionedPayloadLibTransactor // Write-only binding to the contract VersionedPayloadLibFilterer // Log filterer for contract events }
VersionedPayloadLib is an auto generated Go binding around an Ethereum contract.
func DeployVersionedPayloadLib ¶ added in v0.4.0
func DeployVersionedPayloadLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *VersionedPayloadLib, error)
DeployVersionedPayloadLib deploys a new Ethereum contract, binding an instance of VersionedPayloadLib to it.
func NewVersionedPayloadLib ¶ added in v0.4.0
func NewVersionedPayloadLib(address common.Address, backend bind.ContractBackend) (*VersionedPayloadLib, error)
NewVersionedPayloadLib creates a new instance of VersionedPayloadLib, bound to a specific deployed contract.
type VersionedPayloadLibCaller ¶ added in v0.4.0
type VersionedPayloadLibCaller struct {
// contains filtered or unexported fields
}
VersionedPayloadLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVersionedPayloadLibCaller ¶ added in v0.4.0
func NewVersionedPayloadLibCaller(address common.Address, caller bind.ContractCaller) (*VersionedPayloadLibCaller, error)
NewVersionedPayloadLibCaller creates a new read-only instance of VersionedPayloadLib, bound to a specific deployed contract.
type VersionedPayloadLibCallerRaw ¶ added in v0.4.0
type VersionedPayloadLibCallerRaw struct {
Contract *VersionedPayloadLibCaller // Generic read-only contract binding to access the raw methods on
}
VersionedPayloadLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VersionedPayloadLibCallerRaw) Call ¶ added in v0.4.0
func (_VersionedPayloadLib *VersionedPayloadLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type VersionedPayloadLibCallerSession ¶ added in v0.4.0
type VersionedPayloadLibCallerSession struct { Contract *VersionedPayloadLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VersionedPayloadLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type VersionedPayloadLibFilterer ¶ added in v0.4.0
type VersionedPayloadLibFilterer struct {
// contains filtered or unexported fields
}
VersionedPayloadLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVersionedPayloadLibFilterer ¶ added in v0.4.0
func NewVersionedPayloadLibFilterer(address common.Address, filterer bind.ContractFilterer) (*VersionedPayloadLibFilterer, error)
NewVersionedPayloadLibFilterer creates a new log filterer instance of VersionedPayloadLib, bound to a specific deployed contract.
type VersionedPayloadLibRaw ¶ added in v0.4.0
type VersionedPayloadLibRaw struct {
Contract *VersionedPayloadLib // Generic contract binding to access the raw methods on
}
VersionedPayloadLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VersionedPayloadLibRaw) Call ¶ added in v0.4.0
func (_VersionedPayloadLib *VersionedPayloadLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*VersionedPayloadLibRaw) Transact ¶ added in v0.4.0
func (_VersionedPayloadLib *VersionedPayloadLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VersionedPayloadLibRaw) Transfer ¶ added in v0.4.0
func (_VersionedPayloadLib *VersionedPayloadLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type VersionedPayloadLibSession ¶ added in v0.4.0
type VersionedPayloadLibSession struct { Contract *VersionedPayloadLib // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VersionedPayloadLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type VersionedPayloadLibTransactor ¶ added in v0.4.0
type VersionedPayloadLibTransactor struct {
// contains filtered or unexported fields
}
VersionedPayloadLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVersionedPayloadLibTransactor ¶ added in v0.4.0
func NewVersionedPayloadLibTransactor(address common.Address, transactor bind.ContractTransactor) (*VersionedPayloadLibTransactor, error)
NewVersionedPayloadLibTransactor creates a new write-only instance of VersionedPayloadLib, bound to a specific deployed contract.
type VersionedPayloadLibTransactorRaw ¶ added in v0.4.0
type VersionedPayloadLibTransactorRaw struct {
Contract *VersionedPayloadLibTransactor // Generic write-only contract binding to access the raw methods on
}
VersionedPayloadLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VersionedPayloadLibTransactorRaw) Transact ¶ added in v0.4.0
func (_VersionedPayloadLib *VersionedPayloadLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VersionedPayloadLibTransactorRaw) Transfer ¶ added in v0.4.0
func (_VersionedPayloadLib *VersionedPayloadLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type VersionedPayloadLibTransactorSession ¶ added in v0.4.0
type VersionedPayloadLibTransactorSession struct { Contract *VersionedPayloadLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VersionedPayloadLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.