Documentation ¶
Index ¶
- Variables
- type Dataavailabilityprotocol
- type DataavailabilityprotocolCaller
- type DataavailabilityprotocolCallerRaw
- type DataavailabilityprotocolCallerSession
- type DataavailabilityprotocolFilterer
- type DataavailabilityprotocolRaw
- func (_Dataavailabilityprotocol *DataavailabilityprotocolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Dataavailabilityprotocol *DataavailabilityprotocolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Dataavailabilityprotocol *DataavailabilityprotocolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DataavailabilityprotocolSession
- type DataavailabilityprotocolTransactor
- type DataavailabilityprotocolTransactorRaw
- func (_Dataavailabilityprotocol *DataavailabilityprotocolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Dataavailabilityprotocol *DataavailabilityprotocolTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DataavailabilityprotocolTransactorSession
Constants ¶
This section is empty.
Variables ¶
var DataavailabilityprotocolABI = DataavailabilityprotocolMetaData.ABI
DataavailabilityprotocolABI is the input ABI used to generate the binding from. Deprecated: Use DataavailabilityprotocolMetaData.ABI instead.
var DataavailabilityprotocolMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"getProcotolName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"dataAvailabilityMessage\",\"type\":\"bytes\"}],\"name\":\"verifyMessage\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
DataavailabilityprotocolMetaData contains all meta data concerning the Dataavailabilityprotocol contract.
Functions ¶
This section is empty.
Types ¶
type Dataavailabilityprotocol ¶
type Dataavailabilityprotocol struct { DataavailabilityprotocolCaller // Read-only binding to the contract DataavailabilityprotocolTransactor // Write-only binding to the contract DataavailabilityprotocolFilterer // Log filterer for contract events }
Dataavailabilityprotocol is an auto generated Go binding around an Ethereum contract.
func NewDataavailabilityprotocol ¶
func NewDataavailabilityprotocol(address common.Address, backend bind.ContractBackend) (*Dataavailabilityprotocol, error)
NewDataavailabilityprotocol creates a new instance of Dataavailabilityprotocol, bound to a specific deployed contract.
type DataavailabilityprotocolCaller ¶
type DataavailabilityprotocolCaller struct {
// contains filtered or unexported fields
}
DataavailabilityprotocolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDataavailabilityprotocolCaller ¶
func NewDataavailabilityprotocolCaller(address common.Address, caller bind.ContractCaller) (*DataavailabilityprotocolCaller, error)
NewDataavailabilityprotocolCaller creates a new read-only instance of Dataavailabilityprotocol, bound to a specific deployed contract.
func (*DataavailabilityprotocolCaller) GetProcotolName ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolCaller) GetProcotolName(opts *bind.CallOpts) (string, error)
GetProcotolName is a free data retrieval call binding the contract method 0xe4f17120.
Solidity: function getProcotolName() pure returns(string)
func (*DataavailabilityprotocolCaller) VerifyMessage ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolCaller) VerifyMessage(opts *bind.CallOpts, hash [32]byte, dataAvailabilityMessage []byte) error
VerifyMessage is a free data retrieval call binding the contract method 0x3b51be4b.
Solidity: function verifyMessage(bytes32 hash, bytes dataAvailabilityMessage) view returns()
type DataavailabilityprotocolCallerRaw ¶
type DataavailabilityprotocolCallerRaw struct {
Contract *DataavailabilityprotocolCaller // Generic read-only contract binding to access the raw methods on
}
DataavailabilityprotocolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DataavailabilityprotocolCallerRaw) Call ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolCallerRaw) 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 DataavailabilityprotocolCallerSession ¶
type DataavailabilityprotocolCallerSession struct { Contract *DataavailabilityprotocolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DataavailabilityprotocolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DataavailabilityprotocolCallerSession) GetProcotolName ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolCallerSession) GetProcotolName() (string, error)
GetProcotolName is a free data retrieval call binding the contract method 0xe4f17120.
Solidity: function getProcotolName() pure returns(string)
func (*DataavailabilityprotocolCallerSession) VerifyMessage ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolCallerSession) VerifyMessage(hash [32]byte, dataAvailabilityMessage []byte) error
VerifyMessage is a free data retrieval call binding the contract method 0x3b51be4b.
Solidity: function verifyMessage(bytes32 hash, bytes dataAvailabilityMessage) view returns()
type DataavailabilityprotocolFilterer ¶
type DataavailabilityprotocolFilterer struct {
// contains filtered or unexported fields
}
DataavailabilityprotocolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDataavailabilityprotocolFilterer ¶
func NewDataavailabilityprotocolFilterer(address common.Address, filterer bind.ContractFilterer) (*DataavailabilityprotocolFilterer, error)
NewDataavailabilityprotocolFilterer creates a new log filterer instance of Dataavailabilityprotocol, bound to a specific deployed contract.
type DataavailabilityprotocolRaw ¶
type DataavailabilityprotocolRaw struct {
Contract *Dataavailabilityprotocol // Generic contract binding to access the raw methods on
}
DataavailabilityprotocolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DataavailabilityprotocolRaw) Call ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolRaw) 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 (*DataavailabilityprotocolRaw) Transact ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DataavailabilityprotocolRaw) Transfer ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolRaw) 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 DataavailabilityprotocolSession ¶
type DataavailabilityprotocolSession struct { Contract *Dataavailabilityprotocol // 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 }
DataavailabilityprotocolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DataavailabilityprotocolSession) GetProcotolName ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolSession) GetProcotolName() (string, error)
GetProcotolName is a free data retrieval call binding the contract method 0xe4f17120.
Solidity: function getProcotolName() pure returns(string)
func (*DataavailabilityprotocolSession) VerifyMessage ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolSession) VerifyMessage(hash [32]byte, dataAvailabilityMessage []byte) error
VerifyMessage is a free data retrieval call binding the contract method 0x3b51be4b.
Solidity: function verifyMessage(bytes32 hash, bytes dataAvailabilityMessage) view returns()
type DataavailabilityprotocolTransactor ¶
type DataavailabilityprotocolTransactor struct {
// contains filtered or unexported fields
}
DataavailabilityprotocolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDataavailabilityprotocolTransactor ¶
func NewDataavailabilityprotocolTransactor(address common.Address, transactor bind.ContractTransactor) (*DataavailabilityprotocolTransactor, error)
NewDataavailabilityprotocolTransactor creates a new write-only instance of Dataavailabilityprotocol, bound to a specific deployed contract.
type DataavailabilityprotocolTransactorRaw ¶
type DataavailabilityprotocolTransactorRaw struct {
Contract *DataavailabilityprotocolTransactor // Generic write-only contract binding to access the raw methods on
}
DataavailabilityprotocolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DataavailabilityprotocolTransactorRaw) Transact ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DataavailabilityprotocolTransactorRaw) Transfer ¶
func (_Dataavailabilityprotocol *DataavailabilityprotocolTransactorRaw) 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 DataavailabilityprotocolTransactorSession ¶
type DataavailabilityprotocolTransactorSession struct { Contract *DataavailabilityprotocolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DataavailabilityprotocolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.