messageharness

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Code generated by synapse abigen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var Contracts map[string]*compiler.Contract

Contracts are unmarshalled on start

View Source
var HeaderABI = HeaderMetaData.ABI

HeaderABI is the input ABI used to generate the binding from. Deprecated: Use HeaderMetaData.ABI instead.

View Source
var HeaderBin = HeaderMetaData.Bin

HeaderBin is the compiled bytecode used for deploying new contracts. Deprecated: Use HeaderMetaData.Bin instead.

View Source
var HeaderMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e1c81b8435e95f7a692d97accbbeab4451277ae15639630b871ccfcd680a605b64736f6c634300080d0033",
}

HeaderMetaData contains all meta data concerning the Header contract.

View Source
var MessageABI = MessageMetaData.ABI

MessageABI is the input ABI used to generate the binding from. Deprecated: Use MessageMetaData.ABI instead.

View Source
var MessageBin = MessageMetaData.Bin

MessageBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MessageMetaData.Bin instead.

View Source
var MessageHarnessABI = MessageHarnessMetaData.ABI

MessageHarnessABI is the input ABI used to generate the binding from. Deprecated: Use MessageHarnessMetaData.ABI instead.

View Source
var MessageHarnessBin = MessageHarnessMetaData.Bin

MessageHarnessBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MessageHarnessMetaData.Bin instead.

View Source
var MessageHarnessFuncSigs = MessageHarnessMetaData.Sigs

Deprecated: Use MessageHarnessMetaData.Sigs instead. MessageHarnessFuncSigs maps the 4-byte function signature to its string representation.

View Source
var MessageHarnessMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_header\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_tips\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_messageBody\",\"type\":\"bytes\"}],\"name\":\"formatMessage\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_origin\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"_sender\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_destination\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"_recipient\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"_optimisticSeconds\",\"type\":\"uint32\"},{\"internalType\":\"uint96\",\"name\":\"_notaryTip\",\"type\":\"uint96\"},{\"internalType\":\"uint96\",\"name\":\"_broadcasterTip\",\"type\":\"uint96\"},{\"internalType\":\"uint96\",\"name\":\"_proverTip\",\"type\":\"uint96\"},{\"internalType\":\"uint96\",\"name\":\"_executorTip\",\"type\":\"uint96\"},{\"internalType\":\"bytes\",\"name\":\"_messageBody\",\"type\":\"bytes\"}],\"name\":\"formatMessage\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messageVersion\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"offsetHeader\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"offsetVersion\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"0b9255e9": "formatMessage(bytes,bytes,bytes)",
		"81d030ef": "formatMessage(uint32,bytes32,uint32,uint32,bytes32,uint32,uint96,uint96,uint96,uint96,bytes)",
		"52617f3c": "messageVersion()",
		"1515f90c": "offsetHeader()",
		"0c096e8d": "offsetVersion()",
	},
	Bin: "0x608060405234801561001057600080fd5b50610688806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80631515f90c116100505780631515f90c146100a657806352617f3c146100ae57806381d030ef146100bd57600080fd5b80630b9255e91461006c5780630c096e8d14610095575b600080fd5b61007f61007a366004610359565b6100d0565b60405161008c9190610411565b60405180910390f35b60005b60405190815260200161008c565b6100986100e5565b6040516001815260200161008c565b61007f6100cb366004610497565b6100fb565b60606100dd848484610248565b949350505050565b60006100f360036002610570565b60ff16919050565b604080517e0100000000000000000000000000000000000000000000000000000000000060208201527fffffffffffffffffffffffff000000000000000000000000000000000000000060a088811b8216602284015287811b8216602e84015286811b8216603a84015285901b16604682015281518082036032018152605290910190915260609060006102298e8e8e8e8e8e604080517e01000000000000000000000000000000000000000000000000000000000000602082015260e097881b7fffffffff000000000000000000000000000000000000000000000000000000009081166022830152602682019790975294871b8616604686015292861b8516604a850152604e84019190915290931b909116606e82015281516052818303018152607290910190915290565b90506102368183866100d0565b9e9d5050505050505050505050505050565b82518251604051606092610267926001928890889088906020016105c0565b60405160208183030381529060405290509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126102bf57600080fd5b813567ffffffffffffffff808211156102da576102da61027f565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156103205761032061027f565b8160405283815286602085880101111561033957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561036e57600080fd5b833567ffffffffffffffff8082111561038657600080fd5b610392878388016102ae565b945060208601359150808211156103a857600080fd5b6103b4878388016102ae565b935060408601359150808211156103ca57600080fd5b506103d7868287016102ae565b9150509250925092565b60005b838110156103fc5781810151838201526020016103e4565b8381111561040b576000848401525b50505050565b60208152600082518060208401526104308160408501602087016103e1565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b803563ffffffff8116811461047657600080fd5b919050565b80356bffffffffffffffffffffffff8116811461047657600080fd5b60008060008060008060008060008060006101608c8e0312156104b957600080fd5b6104c28c610462565b9a5060208c013599506104d760408d01610462565b98506104e560608d01610462565b975060808c013596506104fa60a08d01610462565b955061050860c08d0161047b565b945061051660e08d0161047b565b93506105256101008d0161047b565b92506105346101208d0161047b565b91506101408c013567ffffffffffffffff81111561055157600080fd5b61055d8e828f016102ae565b9150509295989b509295989b9093969950565b600060ff821660ff84168160ff04811182151516156105b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b029392505050565b60007fffff000000000000000000000000000000000000000000000000000000000000808960f01b168352808860f01b166002840152808760f01b1660048401525084516106158160068501602089016103e1565b84519083019061062c8160068401602089016103e1565b84519101906106428160068401602088016103e1565b016006019897505050505050505056fea2646970667358221220d07dd67351ea91c70d963f8f492ea513e7b0b000dc320d0e36442ba41d6a12ac64736f6c634300080d0033",
}

MessageHarnessMetaData contains all meta data concerning the MessageHarness contract.

View Source
var MessageMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220abe90f6cc1c635201b5281a749ed8c44943c7e4bd2473f22099d40a9ddb3470d64736f6c634300080d0033",
}

MessageMetaData contains all meta data concerning the Message contract.

View Source
var SynapseTypesABI = SynapseTypesMetaData.ABI

SynapseTypesABI is the input ABI used to generate the binding from. Deprecated: Use SynapseTypesMetaData.ABI instead.

View Source
var SynapseTypesBin = SynapseTypesMetaData.Bin

SynapseTypesBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SynapseTypesMetaData.Bin instead.

View Source
var SynapseTypesMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207fda0b0c23f4a8e32db44a544c122b32459192dd0f32a5ab7c2799fef732755b64736f6c634300080d0033",
}

SynapseTypesMetaData contains all meta data concerning the SynapseTypes contract.

View Source
var TipsABI = TipsMetaData.ABI

TipsABI is the input ABI used to generate the binding from. Deprecated: Use TipsMetaData.ABI instead.

View Source
var TipsBin = TipsMetaData.Bin

TipsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TipsMetaData.Bin instead.

View Source
var TipsMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220be199082f3b5abacab9f3d30535a9c130e764188faf53e8b236dc5531befff4b64736f6c634300080d0033",
}

TipsMetaData contains all meta data concerning the Tips contract.

View Source
var TypeCastsABI = TypeCastsMetaData.ABI

TypeCastsABI is the input ABI used to generate the binding from. Deprecated: Use TypeCastsMetaData.ABI instead.

View Source
var TypeCastsBin = TypeCastsMetaData.Bin

TypeCastsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TypeCastsMetaData.Bin instead.

View Source
var TypeCastsMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122035f62531b5f912ac18fd85bd04acd3299908fa1ee3661630ed19ceda114d47be64736f6c634300080d0033",
}

TypeCastsMetaData contains all meta data concerning the TypeCasts contract.

View Source
var TypedMemViewABI = TypedMemViewMetaData.ABI

TypedMemViewABI is the input ABI used to generate the binding from. Deprecated: Use TypedMemViewMetaData.ABI instead.

View Source
var TypedMemViewBin = TypedMemViewMetaData.Bin

TypedMemViewBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TypedMemViewMetaData.Bin instead.

View Source
var TypedMemViewFuncSigs = TypedMemViewMetaData.Sigs

Deprecated: Use TypedMemViewMetaData.Sigs instead. TypedMemViewFuncSigs maps the 4-byte function signature to its string representation.

View Source
var TypedMemViewMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"NULL\",\"outputs\":[{\"internalType\":\"bytes29\",\"name\":\"\",\"type\":\"bytes29\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"f26be3fc": "NULL()",
	},
	Bin: "0x60c9610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063f26be3fc146038575b600080fd5b605e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000081565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000909116815260200160405180910390f3fea264697066735822122012bf92a0212221734497cf853350822eb3b6a48157b4e56df24b8d91bc9ad82664736f6c634300080d0033",
}

TypedMemViewMetaData contains all meta data concerning the TypedMemView contract.

Functions

This section is empty.

Types

type Header struct {
	HeaderCaller     // Read-only binding to the contract
	HeaderTransactor // Write-only binding to the contract
	HeaderFilterer   // Log filterer for contract events
}

Header is an auto generated Go binding around an Ethereum contract.

func DeployHeader

func DeployHeader(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Header, error)

DeployHeader deploys a new Ethereum contract, binding an instance of Header to it.

func NewHeader

func NewHeader(address common.Address, backend bind.ContractBackend) (*Header, error)

NewHeader creates a new instance of Header, bound to a specific deployed contract.

type HeaderCaller

type HeaderCaller struct {
	// contains filtered or unexported fields
}

HeaderCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewHeaderCaller

func NewHeaderCaller(address common.Address, caller bind.ContractCaller) (*HeaderCaller, error)

NewHeaderCaller creates a new read-only instance of Header, bound to a specific deployed contract.

type HeaderCallerRaw

type HeaderCallerRaw struct {
	Contract *HeaderCaller // Generic read-only contract binding to access the raw methods on
}

HeaderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*HeaderCallerRaw) Call

func (_Header *HeaderCallerRaw) 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 HeaderCallerSession

type HeaderCallerSession struct {
	Contract *HeaderCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

HeaderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type HeaderFilterer

type HeaderFilterer struct {
	// contains filtered or unexported fields
}

HeaderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewHeaderFilterer

func NewHeaderFilterer(address common.Address, filterer bind.ContractFilterer) (*HeaderFilterer, error)

NewHeaderFilterer creates a new log filterer instance of Header, bound to a specific deployed contract.

type HeaderRaw

type HeaderRaw struct {
	Contract *Header // Generic contract binding to access the raw methods on
}

HeaderRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*HeaderRaw) Call

func (_Header *HeaderRaw) 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 (*HeaderRaw) Transact

func (_Header *HeaderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HeaderRaw) Transfer

func (_Header *HeaderRaw) 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 HeaderSession

type HeaderSession struct {
	Contract     *Header           // 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
}

HeaderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type HeaderTransactor

type HeaderTransactor struct {
	// contains filtered or unexported fields
}

HeaderTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewHeaderTransactor

func NewHeaderTransactor(address common.Address, transactor bind.ContractTransactor) (*HeaderTransactor, error)

NewHeaderTransactor creates a new write-only instance of Header, bound to a specific deployed contract.

type HeaderTransactorRaw

type HeaderTransactorRaw struct {
	Contract *HeaderTransactor // Generic write-only contract binding to access the raw methods on
}

HeaderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*HeaderTransactorRaw) Transact

func (_Header *HeaderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HeaderTransactorRaw) Transfer

func (_Header *HeaderTransactorRaw) 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 HeaderTransactorSession

type HeaderTransactorSession struct {
	Contract     *HeaderTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

HeaderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type Message

type Message struct {
	MessageCaller     // Read-only binding to the contract
	MessageTransactor // Write-only binding to the contract
	MessageFilterer   // Log filterer for contract events
}

Message is an auto generated Go binding around an Ethereum contract.

func DeployMessage

func DeployMessage(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Message, error)

DeployMessage deploys a new Ethereum contract, binding an instance of Message to it.

func NewMessage

func NewMessage(address common.Address, backend bind.ContractBackend) (*Message, error)

NewMessage creates a new instance of Message, bound to a specific deployed contract.

type MessageCaller

type MessageCaller struct {
	// contains filtered or unexported fields
}

MessageCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewMessageCaller

func NewMessageCaller(address common.Address, caller bind.ContractCaller) (*MessageCaller, error)

NewMessageCaller creates a new read-only instance of Message, bound to a specific deployed contract.

type MessageCallerRaw

type MessageCallerRaw struct {
	Contract *MessageCaller // Generic read-only contract binding to access the raw methods on
}

MessageCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*MessageCallerRaw) Call

func (_Message *MessageCallerRaw) 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 MessageCallerSession

type MessageCallerSession struct {
	Contract *MessageCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

MessageCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type MessageFilterer

type MessageFilterer struct {
	// contains filtered or unexported fields
}

MessageFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewMessageFilterer

func NewMessageFilterer(address common.Address, filterer bind.ContractFilterer) (*MessageFilterer, error)

NewMessageFilterer creates a new log filterer instance of Message, bound to a specific deployed contract.

type MessageHarness

type MessageHarness struct {
	MessageHarnessCaller     // Read-only binding to the contract
	MessageHarnessTransactor // Write-only binding to the contract
	MessageHarnessFilterer   // Log filterer for contract events
}

MessageHarness is an auto generated Go binding around an Ethereum contract.

func DeployMessageHarness

func DeployMessageHarness(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MessageHarness, error)

DeployMessageHarness deploys a new Ethereum contract, binding an instance of MessageHarness to it.

func NewMessageHarness

func NewMessageHarness(address common.Address, backend bind.ContractBackend) (*MessageHarness, error)

NewMessageHarness creates a new instance of MessageHarness, bound to a specific deployed contract.

type MessageHarnessCaller

type MessageHarnessCaller struct {
	// contains filtered or unexported fields
}

MessageHarnessCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewMessageHarnessCaller

func NewMessageHarnessCaller(address common.Address, caller bind.ContractCaller) (*MessageHarnessCaller, error)

NewMessageHarnessCaller creates a new read-only instance of MessageHarness, bound to a specific deployed contract.

func (*MessageHarnessCaller) FormatMessage

func (_MessageHarness *MessageHarnessCaller) FormatMessage(opts *bind.CallOpts, _header []byte, _tips []byte, _messageBody []byte) ([]byte, error)

FormatMessage is a free data retrieval call binding the contract method 0x0b9255e9.

Solidity: function formatMessage(bytes _header, bytes _tips, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessCaller) FormatMessage0

func (_MessageHarness *MessageHarnessCaller) FormatMessage0(opts *bind.CallOpts, _origin uint32, _sender [32]byte, _nonce uint32, _destination uint32, _recipient [32]byte, _optimisticSeconds uint32, _notaryTip *big.Int, _broadcasterTip *big.Int, _proverTip *big.Int, _executorTip *big.Int, _messageBody []byte) ([]byte, error)

FormatMessage0 is a free data retrieval call binding the contract method 0x81d030ef.

Solidity: function formatMessage(uint32 _origin, bytes32 _sender, uint32 _nonce, uint32 _destination, bytes32 _recipient, uint32 _optimisticSeconds, uint96 _notaryTip, uint96 _broadcasterTip, uint96 _proverTip, uint96 _executorTip, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessCaller) MessageVersion

func (_MessageHarness *MessageHarnessCaller) MessageVersion(opts *bind.CallOpts) (uint16, error)

MessageVersion is a free data retrieval call binding the contract method 0x52617f3c.

Solidity: function messageVersion() pure returns(uint16)

func (*MessageHarnessCaller) OffsetHeader

func (_MessageHarness *MessageHarnessCaller) OffsetHeader(opts *bind.CallOpts) (*big.Int, error)

OffsetHeader is a free data retrieval call binding the contract method 0x1515f90c.

Solidity: function offsetHeader() pure returns(uint256)

func (*MessageHarnessCaller) OffsetVersion

func (_MessageHarness *MessageHarnessCaller) OffsetVersion(opts *bind.CallOpts) (*big.Int, error)

OffsetVersion is a free data retrieval call binding the contract method 0x0c096e8d.

Solidity: function offsetVersion() pure returns(uint256)

type MessageHarnessCallerRaw

type MessageHarnessCallerRaw struct {
	Contract *MessageHarnessCaller // Generic read-only contract binding to access the raw methods on
}

MessageHarnessCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*MessageHarnessCallerRaw) Call

func (_MessageHarness *MessageHarnessCallerRaw) 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 MessageHarnessCallerSession

type MessageHarnessCallerSession struct {
	Contract *MessageHarnessCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

MessageHarnessCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*MessageHarnessCallerSession) FormatMessage

func (_MessageHarness *MessageHarnessCallerSession) FormatMessage(_header []byte, _tips []byte, _messageBody []byte) ([]byte, error)

FormatMessage is a free data retrieval call binding the contract method 0x0b9255e9.

Solidity: function formatMessage(bytes _header, bytes _tips, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessCallerSession) FormatMessage0

func (_MessageHarness *MessageHarnessCallerSession) FormatMessage0(_origin uint32, _sender [32]byte, _nonce uint32, _destination uint32, _recipient [32]byte, _optimisticSeconds uint32, _notaryTip *big.Int, _broadcasterTip *big.Int, _proverTip *big.Int, _executorTip *big.Int, _messageBody []byte) ([]byte, error)

FormatMessage0 is a free data retrieval call binding the contract method 0x81d030ef.

Solidity: function formatMessage(uint32 _origin, bytes32 _sender, uint32 _nonce, uint32 _destination, bytes32 _recipient, uint32 _optimisticSeconds, uint96 _notaryTip, uint96 _broadcasterTip, uint96 _proverTip, uint96 _executorTip, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessCallerSession) MessageVersion

func (_MessageHarness *MessageHarnessCallerSession) MessageVersion() (uint16, error)

MessageVersion is a free data retrieval call binding the contract method 0x52617f3c.

Solidity: function messageVersion() pure returns(uint16)

func (*MessageHarnessCallerSession) OffsetHeader

func (_MessageHarness *MessageHarnessCallerSession) OffsetHeader() (*big.Int, error)

OffsetHeader is a free data retrieval call binding the contract method 0x1515f90c.

Solidity: function offsetHeader() pure returns(uint256)

func (*MessageHarnessCallerSession) OffsetVersion

func (_MessageHarness *MessageHarnessCallerSession) OffsetVersion() (*big.Int, error)

OffsetVersion is a free data retrieval call binding the contract method 0x0c096e8d.

Solidity: function offsetVersion() pure returns(uint256)

type MessageHarnessFilterer

type MessageHarnessFilterer struct {
	// contains filtered or unexported fields
}

MessageHarnessFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewMessageHarnessFilterer

func NewMessageHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*MessageHarnessFilterer, error)

NewMessageHarnessFilterer creates a new log filterer instance of MessageHarness, bound to a specific deployed contract.

type MessageHarnessRaw

type MessageHarnessRaw struct {
	Contract *MessageHarness // Generic contract binding to access the raw methods on
}

MessageHarnessRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*MessageHarnessRaw) Call

func (_MessageHarness *MessageHarnessRaw) 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 (*MessageHarnessRaw) Transact

func (_MessageHarness *MessageHarnessRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MessageHarnessRaw) Transfer

func (_MessageHarness *MessageHarnessRaw) 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 MessageHarnessRef

type MessageHarnessRef struct {
	*MessageHarness
	// contains filtered or unexported fields
}

MessageHarnessRef is a message harness reference nolint: golint

func NewMessageHarnessRef

func NewMessageHarnessRef(address common.Address, backend bind.ContractBackend) (*MessageHarnessRef, error)

NewMessageHarnessRef creates a new message harness bound to a contract.

func (MessageHarnessRef) Address

func (m MessageHarnessRef) Address() common.Address

Address gets the address of the contract.

type MessageHarnessSession

type MessageHarnessSession struct {
	Contract     *MessageHarness   // 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
}

MessageHarnessSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*MessageHarnessSession) FormatMessage

func (_MessageHarness *MessageHarnessSession) FormatMessage(_header []byte, _tips []byte, _messageBody []byte) ([]byte, error)

FormatMessage is a free data retrieval call binding the contract method 0x0b9255e9.

Solidity: function formatMessage(bytes _header, bytes _tips, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessSession) FormatMessage0

func (_MessageHarness *MessageHarnessSession) FormatMessage0(_origin uint32, _sender [32]byte, _nonce uint32, _destination uint32, _recipient [32]byte, _optimisticSeconds uint32, _notaryTip *big.Int, _broadcasterTip *big.Int, _proverTip *big.Int, _executorTip *big.Int, _messageBody []byte) ([]byte, error)

FormatMessage0 is a free data retrieval call binding the contract method 0x81d030ef.

Solidity: function formatMessage(uint32 _origin, bytes32 _sender, uint32 _nonce, uint32 _destination, bytes32 _recipient, uint32 _optimisticSeconds, uint96 _notaryTip, uint96 _broadcasterTip, uint96 _proverTip, uint96 _executorTip, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessSession) MessageVersion

func (_MessageHarness *MessageHarnessSession) MessageVersion() (uint16, error)

MessageVersion is a free data retrieval call binding the contract method 0x52617f3c.

Solidity: function messageVersion() pure returns(uint16)

func (*MessageHarnessSession) OffsetHeader

func (_MessageHarness *MessageHarnessSession) OffsetHeader() (*big.Int, error)

OffsetHeader is a free data retrieval call binding the contract method 0x1515f90c.

Solidity: function offsetHeader() pure returns(uint256)

func (*MessageHarnessSession) OffsetVersion

func (_MessageHarness *MessageHarnessSession) OffsetVersion() (*big.Int, error)

OffsetVersion is a free data retrieval call binding the contract method 0x0c096e8d.

Solidity: function offsetVersion() pure returns(uint256)

type MessageHarnessTransactor

type MessageHarnessTransactor struct {
	// contains filtered or unexported fields
}

MessageHarnessTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewMessageHarnessTransactor

func NewMessageHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*MessageHarnessTransactor, error)

NewMessageHarnessTransactor creates a new write-only instance of MessageHarness, bound to a specific deployed contract.

type MessageHarnessTransactorRaw

type MessageHarnessTransactorRaw struct {
	Contract *MessageHarnessTransactor // Generic write-only contract binding to access the raw methods on
}

MessageHarnessTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*MessageHarnessTransactorRaw) Transact

func (_MessageHarness *MessageHarnessTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MessageHarnessTransactorRaw) Transfer

func (_MessageHarness *MessageHarnessTransactorRaw) 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 MessageHarnessTransactorSession

type MessageHarnessTransactorSession struct {
	Contract     *MessageHarnessTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

MessageHarnessTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type MessageRaw

type MessageRaw struct {
	Contract *Message // Generic contract binding to access the raw methods on
}

MessageRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*MessageRaw) Call

func (_Message *MessageRaw) 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 (*MessageRaw) Transact

func (_Message *MessageRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MessageRaw) Transfer

func (_Message *MessageRaw) 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 MessageSession

type MessageSession struct {
	Contract     *Message          // 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
}

MessageSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type MessageTransactor

type MessageTransactor struct {
	// contains filtered or unexported fields
}

MessageTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewMessageTransactor

func NewMessageTransactor(address common.Address, transactor bind.ContractTransactor) (*MessageTransactor, error)

NewMessageTransactor creates a new write-only instance of Message, bound to a specific deployed contract.

type MessageTransactorRaw

type MessageTransactorRaw struct {
	Contract *MessageTransactor // Generic write-only contract binding to access the raw methods on
}

MessageTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*MessageTransactorRaw) Transact

func (_Message *MessageTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MessageTransactorRaw) Transfer

func (_Message *MessageTransactorRaw) 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 MessageTransactorSession

type MessageTransactorSession struct {
	Contract     *MessageTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

MessageTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type SynapseTypes

type SynapseTypes struct {
	SynapseTypesCaller     // Read-only binding to the contract
	SynapseTypesTransactor // Write-only binding to the contract
	SynapseTypesFilterer   // Log filterer for contract events
}

SynapseTypes is an auto generated Go binding around an Ethereum contract.

func DeploySynapseTypes

func DeploySynapseTypes(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SynapseTypes, error)

DeploySynapseTypes deploys a new Ethereum contract, binding an instance of SynapseTypes to it.

func NewSynapseTypes

func NewSynapseTypes(address common.Address, backend bind.ContractBackend) (*SynapseTypes, error)

NewSynapseTypes creates a new instance of SynapseTypes, bound to a specific deployed contract.

type SynapseTypesCaller

type SynapseTypesCaller struct {
	// contains filtered or unexported fields
}

SynapseTypesCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSynapseTypesCaller

func NewSynapseTypesCaller(address common.Address, caller bind.ContractCaller) (*SynapseTypesCaller, error)

NewSynapseTypesCaller creates a new read-only instance of SynapseTypes, bound to a specific deployed contract.

type SynapseTypesCallerRaw

type SynapseTypesCallerRaw struct {
	Contract *SynapseTypesCaller // Generic read-only contract binding to access the raw methods on
}

SynapseTypesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SynapseTypesCallerRaw) Call

func (_SynapseTypes *SynapseTypesCallerRaw) 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 SynapseTypesCallerSession

type SynapseTypesCallerSession struct {
	Contract *SynapseTypesCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

SynapseTypesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type SynapseTypesFilterer

type SynapseTypesFilterer struct {
	// contains filtered or unexported fields
}

SynapseTypesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSynapseTypesFilterer

func NewSynapseTypesFilterer(address common.Address, filterer bind.ContractFilterer) (*SynapseTypesFilterer, error)

NewSynapseTypesFilterer creates a new log filterer instance of SynapseTypes, bound to a specific deployed contract.

type SynapseTypesRaw

type SynapseTypesRaw struct {
	Contract *SynapseTypes // Generic contract binding to access the raw methods on
}

SynapseTypesRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SynapseTypesRaw) Call

func (_SynapseTypes *SynapseTypesRaw) 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 (*SynapseTypesRaw) Transact

func (_SynapseTypes *SynapseTypesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SynapseTypesRaw) Transfer

func (_SynapseTypes *SynapseTypesRaw) 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 SynapseTypesSession

type SynapseTypesSession struct {
	Contract     *SynapseTypes     // 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
}

SynapseTypesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type SynapseTypesTransactor

type SynapseTypesTransactor struct {
	// contains filtered or unexported fields
}

SynapseTypesTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSynapseTypesTransactor

func NewSynapseTypesTransactor(address common.Address, transactor bind.ContractTransactor) (*SynapseTypesTransactor, error)

NewSynapseTypesTransactor creates a new write-only instance of SynapseTypes, bound to a specific deployed contract.

type SynapseTypesTransactorRaw

type SynapseTypesTransactorRaw struct {
	Contract *SynapseTypesTransactor // Generic write-only contract binding to access the raw methods on
}

SynapseTypesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SynapseTypesTransactorRaw) Transact

func (_SynapseTypes *SynapseTypesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SynapseTypesTransactorRaw) Transfer

func (_SynapseTypes *SynapseTypesTransactorRaw) 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 SynapseTypesTransactorSession

type SynapseTypesTransactorSession struct {
	Contract     *SynapseTypesTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

SynapseTypesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type Tips

type Tips struct {
	TipsCaller     // Read-only binding to the contract
	TipsTransactor // Write-only binding to the contract
	TipsFilterer   // Log filterer for contract events
}

Tips is an auto generated Go binding around an Ethereum contract.

func DeployTips

func DeployTips(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Tips, error)

DeployTips deploys a new Ethereum contract, binding an instance of Tips to it.

func NewTips

func NewTips(address common.Address, backend bind.ContractBackend) (*Tips, error)

NewTips creates a new instance of Tips, bound to a specific deployed contract.

type TipsCaller

type TipsCaller struct {
	// contains filtered or unexported fields
}

TipsCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTipsCaller

func NewTipsCaller(address common.Address, caller bind.ContractCaller) (*TipsCaller, error)

NewTipsCaller creates a new read-only instance of Tips, bound to a specific deployed contract.

type TipsCallerRaw

type TipsCallerRaw struct {
	Contract *TipsCaller // Generic read-only contract binding to access the raw methods on
}

TipsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TipsCallerRaw) Call

func (_Tips *TipsCallerRaw) 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 TipsCallerSession

type TipsCallerSession struct {
	Contract *TipsCaller   // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

TipsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type TipsFilterer

type TipsFilterer struct {
	// contains filtered or unexported fields
}

TipsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTipsFilterer

func NewTipsFilterer(address common.Address, filterer bind.ContractFilterer) (*TipsFilterer, error)

NewTipsFilterer creates a new log filterer instance of Tips, bound to a specific deployed contract.

type TipsRaw

type TipsRaw struct {
	Contract *Tips // Generic contract binding to access the raw methods on
}

TipsRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TipsRaw) Call

func (_Tips *TipsRaw) 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 (*TipsRaw) Transact

func (_Tips *TipsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TipsRaw) Transfer

func (_Tips *TipsRaw) 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 TipsSession

type TipsSession struct {
	Contract     *Tips             // 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
}

TipsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type TipsTransactor

type TipsTransactor struct {
	// contains filtered or unexported fields
}

TipsTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTipsTransactor

func NewTipsTransactor(address common.Address, transactor bind.ContractTransactor) (*TipsTransactor, error)

NewTipsTransactor creates a new write-only instance of Tips, bound to a specific deployed contract.

type TipsTransactorRaw

type TipsTransactorRaw struct {
	Contract *TipsTransactor // Generic write-only contract binding to access the raw methods on
}

TipsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TipsTransactorRaw) Transact

func (_Tips *TipsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TipsTransactorRaw) Transfer

func (_Tips *TipsTransactorRaw) 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 TipsTransactorSession

type TipsTransactorSession struct {
	Contract     *TipsTransactor   // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

TipsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type TypeCasts

type TypeCasts struct {
	TypeCastsCaller     // Read-only binding to the contract
	TypeCastsTransactor // Write-only binding to the contract
	TypeCastsFilterer   // Log filterer for contract events
}

TypeCasts is an auto generated Go binding around an Ethereum contract.

func DeployTypeCasts

func DeployTypeCasts(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TypeCasts, error)

DeployTypeCasts deploys a new Ethereum contract, binding an instance of TypeCasts to it.

func NewTypeCasts

func NewTypeCasts(address common.Address, backend bind.ContractBackend) (*TypeCasts, error)

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 TypedMemView

type TypedMemView struct {
	TypedMemViewCaller     // Read-only binding to the contract
	TypedMemViewTransactor // Write-only binding to the contract
	TypedMemViewFilterer   // Log filterer for contract events
}

TypedMemView is an auto generated Go binding around an Ethereum contract.

func DeployTypedMemView

func DeployTypedMemView(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TypedMemView, error)

DeployTypedMemView deploys a new Ethereum contract, binding an instance of TypedMemView to it.

func NewTypedMemView

func NewTypedMemView(address common.Address, backend bind.ContractBackend) (*TypedMemView, error)

NewTypedMemView creates a new instance of TypedMemView, bound to a specific deployed contract.

type TypedMemViewCaller

type TypedMemViewCaller struct {
	// contains filtered or unexported fields
}

TypedMemViewCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTypedMemViewCaller

func NewTypedMemViewCaller(address common.Address, caller bind.ContractCaller) (*TypedMemViewCaller, error)

NewTypedMemViewCaller creates a new read-only instance of TypedMemView, bound to a specific deployed contract.

func (*TypedMemViewCaller) NULL

func (_TypedMemView *TypedMemViewCaller) NULL(opts *bind.CallOpts) ([29]byte, error)

NULL is a free data retrieval call binding the contract method 0xf26be3fc.

Solidity: function NULL() view returns(bytes29)

type TypedMemViewCallerRaw

type TypedMemViewCallerRaw struct {
	Contract *TypedMemViewCaller // Generic read-only contract binding to access the raw methods on
}

TypedMemViewCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TypedMemViewCallerRaw) Call

func (_TypedMemView *TypedMemViewCallerRaw) 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 TypedMemViewCallerSession

type TypedMemViewCallerSession struct {
	Contract *TypedMemViewCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

TypedMemViewCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*TypedMemViewCallerSession) NULL

func (_TypedMemView *TypedMemViewCallerSession) NULL() ([29]byte, error)

NULL is a free data retrieval call binding the contract method 0xf26be3fc.

Solidity: function NULL() view returns(bytes29)

type TypedMemViewFilterer

type TypedMemViewFilterer struct {
	// contains filtered or unexported fields
}

TypedMemViewFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTypedMemViewFilterer

func NewTypedMemViewFilterer(address common.Address, filterer bind.ContractFilterer) (*TypedMemViewFilterer, error)

NewTypedMemViewFilterer creates a new log filterer instance of TypedMemView, bound to a specific deployed contract.

type TypedMemViewRaw

type TypedMemViewRaw struct {
	Contract *TypedMemView // Generic contract binding to access the raw methods on
}

TypedMemViewRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TypedMemViewRaw) Call

func (_TypedMemView *TypedMemViewRaw) 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 (*TypedMemViewRaw) Transact

func (_TypedMemView *TypedMemViewRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TypedMemViewRaw) Transfer

func (_TypedMemView *TypedMemViewRaw) 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 TypedMemViewSession

type TypedMemViewSession struct {
	Contract     *TypedMemView     // 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
}

TypedMemViewSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TypedMemViewSession) NULL

func (_TypedMemView *TypedMemViewSession) NULL() ([29]byte, error)

NULL is a free data retrieval call binding the contract method 0xf26be3fc.

Solidity: function NULL() view returns(bytes29)

type TypedMemViewTransactor

type TypedMemViewTransactor struct {
	// contains filtered or unexported fields
}

TypedMemViewTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTypedMemViewTransactor

func NewTypedMemViewTransactor(address common.Address, transactor bind.ContractTransactor) (*TypedMemViewTransactor, error)

NewTypedMemViewTransactor creates a new write-only instance of TypedMemView, bound to a specific deployed contract.

type TypedMemViewTransactorRaw

type TypedMemViewTransactorRaw struct {
	Contract *TypedMemViewTransactor // Generic write-only contract binding to access the raw methods on
}

TypedMemViewTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TypedMemViewTransactorRaw) Transact

func (_TypedMemView *TypedMemViewTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TypedMemViewTransactorRaw) Transfer

func (_TypedMemView *TypedMemViewTransactorRaw) 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 TypedMemViewTransactorSession

type TypedMemViewTransactorSession struct {
	Contract     *TypedMemViewTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

TypedMemViewTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL