pingpongclient

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package pingpongclient implements the pingpongclient contract.

Package pingpongclient generates abi data for contract PingPongClient.t.sol

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 IMessageRecipientABI = IMessageRecipientMetaData.ABI

IMessageRecipientABI is the input ABI used to generate the binding from. Deprecated: Use IMessageRecipientMetaData.ABI instead.

View Source
var IMessageRecipientFuncSigs = IMessageRecipientMetaData.Sigs

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

View Source
var IMessageRecipientMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"origin\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"sender\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"version\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"content\",\"type\":\"bytes\"}],\"name\":\"receiveBaseMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"032f287e": "receiveBaseMessage(uint32,uint32,bytes32,uint256,uint32,bytes)",
	},
}

IMessageRecipientMetaData contains all meta data concerning the IMessageRecipient contract.

View Source
var InterfaceOriginABI = InterfaceOriginMetaData.ABI

InterfaceOriginABI is the input ABI used to generate the binding from. Deprecated: Use InterfaceOriginMetaData.ABI instead.

View Source
var InterfaceOriginFuncSigs = InterfaceOriginMetaData.Sigs

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

View Source
var InterfaceOriginMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destination\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"paddedRequest\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"contentLength\",\"type\":\"uint256\"}],\"name\":\"getMinimumTipsValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tipsValue\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destination\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"recipient\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"optimisticPeriod\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"paddedRequest\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"content\",\"type\":\"bytes\"}],\"name\":\"sendBaseMessage\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"messageNonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"messageHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destination\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"optimisticPeriod\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"sendManagerMessage\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"messageNonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"messageHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTips\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"4fc6ad85": "getMinimumTipsValue(uint32,uint256,uint256)",
		"873661bd": "sendBaseMessage(uint32,bytes32,uint32,uint256,bytes)",
		"a1c702a7": "sendManagerMessage(uint32,uint32,bytes)",
		"4e04e7a7": "withdrawTips(address,uint256)",
	},
}

InterfaceOriginMetaData contains all meta data concerning the InterfaceOrigin contract.

View Source
var MessageRecipientABI = MessageRecipientMetaData.ABI

MessageRecipientABI is the input ABI used to generate the binding from. Deprecated: Use MessageRecipientMetaData.ABI instead.

View Source
var MessageRecipientFuncSigs = MessageRecipientMetaData.Sigs

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

View Source
var MessageRecipientMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"CallerNotDestination\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectSender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroProofMaturity\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"origin_\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"sender\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"version\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"content\",\"type\":\"bytes\"}],\"name\":\"receiveBaseMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"b269681d": "destination()",
		"938b5f32": "origin()",
		"032f287e": "receiveBaseMessage(uint32,uint32,bytes32,uint256,uint32,bytes)",
	},
}

MessageRecipientMetaData contains all meta data concerning the MessageRecipient contract.

View Source
var PingPongClientABI = PingPongClientMetaData.ABI

PingPongClientABI is the input ABI used to generate the binding from. Deprecated: Use PingPongClientMetaData.ABI instead.

View Source
var PingPongClientBin = PingPongClientMetaData.Bin

PingPongClientBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PingPongClientMetaData.Bin instead.

View Source
var PingPongClientFuncSigs = PingPongClientMetaData.Sigs

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

View Source
var PingPongClientMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"origin_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destination_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"CallerNotDestination\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectRecipient\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectSender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroProofMaturity\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pingId\",\"type\":\"uint256\"}],\"name\":\"PingReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pingId\",\"type\":\"uint256\"}],\"name\":\"PingSent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pingId\",\"type\":\"uint256\"}],\"name\":\"PongReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pingId\",\"type\":\"uint256\"}],\"name\":\"PongSent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destination_\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"counter\",\"type\":\"uint16\"}],\"name\":\"doPing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"pingCount\",\"type\":\"uint16\"},{\"internalType\":\"uint32\",\"name\":\"destination_\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"counter\",\"type\":\"uint16\"}],\"name\":\"doPings\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextOptimisticPeriod\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"period\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pingsReceived\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pingsSent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pongsReceived\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"random\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"origin_\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"sender\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"version\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"content\",\"type\":\"bytes\"}],\"name\":\"receiveBaseMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"b269681d": "destination()",
		"08fe5e4e": "doPing(uint32,address,uint16)",
		"aa402039": "doPings(uint16,uint32,address,uint16)",
		"2bd56025": "nextOptimisticPeriod()",
		"938b5f32": "origin()",
		"e3ac3ca0": "pingsReceived()",
		"b475cba3": "pingsSent()",
		"45a8b8ed": "pongsReceived()",
		"5ec01e4d": "random()",
		"032f287e": "receiveBaseMessage(uint32,uint32,bytes32,uint256,uint32,bytes)",
	},
	Bin: "0x60c060405234801561001057600080fd5b50604051610d4b380380610d4b83398101604081905261002f91610087565b6001600160a01b039182166080521660a052604080514360208083019190915282518083038201815291830190925280519101206000556100ba565b80516001600160a01b038116811461008257600080fd5b919050565b6000806040838503121561009a57600080fd5b6100a38361006b565b91506100b16020840161006b565b90509250929050565b60805160a051610c5e6100ed600039600081816101df015261024501526000818161016601526106cc0152610c5e6000f3fe6080604052600436106100b15760003560e01c8063938b5f3211610069578063b269681d1161004e578063b269681d146101cd578063b475cba314610201578063e3ac3ca01461021757600080fd5b8063938b5f3214610154578063aa402039146101ad57600080fd5b80632bd560251161009a5780632bd56025146100eb57806345a8b8ed1461011a5780635ec01e4d1461013e57600080fd5b8063032f287e146100b657806308fe5e4e146100cb575b600080fd5b6100c96100c436600461083f565b61022d565b005b3480156100d757600080fd5b506100c96100e6366004610991565b610367565b3480156100f757600080fd5b5061010061038d565b60405163ffffffff90911681526020015b60405180910390f35b34801561012657600080fd5b5061013060035481565b604051908152602001610111565b34801561014a57600080fd5b5061013060005481565b34801561016057600080fd5b506101887f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610111565b3480156101b957600080fd5b506100c96101c83660046109da565b6103a3565b3480156101d957600080fd5b506101887f000000000000000000000000000000000000000000000000000000000000000081565b34801561020d57600080fd5b5061013060015481565b34801561022357600080fd5b5061013060025481565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461029c576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8463ffffffff166000036102dc576040517f674d8d8800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000849003610317576040517f7d1c29f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600003610351576040517fdce28ace00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61035f8686868686866103ea565b505050505050565b6103888373ffffffffffffffffffffffffffffffffffffffff8416836104de565b505050565b6000603c60005461039e9190610a34565b905090565b60005b8461ffff168110156103e3576103d38473ffffffffffffffffffffffffffffffffffffffff8516846104de565b6103dc81610a9e565b90506103a6565b5050505050565b6000818060200190518101906104009190610ad6565b90508060200151156104645760026000815461041b90610a9e565b9091555080516040519081527f51c4f05cea43f3d4604f77fd5a656743088090aa726deb5e3a9f670d8da75d659060200160405180910390a161045f87868361055a565b6104d5565b60036000815461047390610a9e565b9091555080516040519081527f08d46b5262cb13a84b9421fef5cfd01017e1cb48c879e3fc89acaadf34f2106e9060200160405180910390a1604081015161ffff16156104d5576104d58786600184604001516104d09190610b44565b6104de565b50505050505050565b60018054600091826104ef83610a9e565b919050559050610521848460405180606001604052808581526020016001151581526020018661ffff168152506105c8565b6040518181527f14089a5f67ef0667796ead5223612a15d24422be4bdaa19abc32fb26d4c8b3db9060200160405180910390a150505050565b61058e8383604051806060016040528085600001518152602001600015158152602001856040015161ffff168152506105c8565b80516040519081527f0a72872b9cfe43d6c13b13553f28d4879e427f3b456545649fd0761fdcbe03119060200160405180910390a1505050565b604080516060808201835260008083526207a120602080850191909152838501919091528351855181830152908501511515818501528484015161ffff168183015283518082039092018252608001909252906104d58585610628610631565b6000868661068e565b600061063b61038d565b905060005460405160200161065291815260200190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052805160209091012060005590565b6000808681036106ca576040517f519bdea700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663873661bd868a8a8a6107138a610785565b896040518763ffffffff1660e01b8152600401610734959493929190610b66565b604080518083038185885af1158015610751573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906107769190610bfa565b91509150965096945050505050565b60006107db82600001518360200151846040015177ffffffffffffffffffffffff000000000000000000000000606084901b166bffffffffffffffff00000000602084901b161763ffffffff8216179392505050565b77ffffffffffffffffffffffffffffffffffffffffffffffff1692915050565b63ffffffff8116811461080d57600080fd5b50565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060008060c0878903121561085857600080fd5b8635610863816107fb565b95506020870135610873816107fb565b945060408701359350606087013592506080870135610891816107fb565b915060a087013567ffffffffffffffff808211156108ae57600080fd5b818901915089601f8301126108c257600080fd5b8135818111156108d4576108d4610810565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561091a5761091a610810565b816040528281528c602084870101111561093357600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b803573ffffffffffffffffffffffffffffffffffffffff8116811461097c57600080fd5b919050565b61ffff8116811461080d57600080fd5b6000806000606084860312156109a657600080fd5b83356109b1816107fb565b92506109bf60208501610958565b915060408401356109cf81610981565b809150509250925092565b600080600080608085870312156109f057600080fd5b84356109fb81610981565b93506020850135610a0b816107fb565b9250610a1960408601610958565b91506060850135610a2981610981565b939692955090935050565b600082610a6a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610acf57610acf610a6f565b5060010190565b600060608284031215610ae857600080fd5b6040516060810181811067ffffffffffffffff82111715610b0b57610b0b610810565b6040528251815260208301518015158114610b2557600080fd5b60208201526040830151610b3881610981565b60408201529392505050565b61ffff828116828216039080821115610b5f57610b5f610a6f565b5092915050565b600063ffffffff808816835260208781850152818716604085015285606085015260a06080850152845191508160a085015260005b82811015610bb75785810182015185820160c001528101610b9b565b5050600060c0828501015260c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168401019150509695505050505050565b60008060408385031215610c0d57600080fd5b8251610c18816107fb565b602093909301519294929350505056fea2646970667358221220d709bb7f0e7a1333a848628dfa392f85b5131eb4b64c71457370746c8a4da58b64736f6c63430008110033",
}

PingPongClientMetaData contains all meta data concerning the PingPongClient contract.

View Source
var RequestLibABI = RequestLibMetaData.ABI

RequestLibABI is the input ABI used to generate the binding from. Deprecated: Use RequestLibMetaData.ABI instead.

View Source
var RequestLibBin = RequestLibMetaData.Bin

RequestLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use RequestLibMetaData.Bin instead.

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

RequestLibMetaData contains all meta data concerning the RequestLib 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a70e5c7fe26bfed7aa178c90dc0ad3f454b336c91590c44e804b947ab7747adc64736f6c63430008110033",
}

TypeCastsMetaData contains all meta data concerning the TypeCasts contract.

Functions

This section is empty.

Types

type IMessageRecipient

type IMessageRecipient struct {
	IMessageRecipientCaller     // Read-only binding to the contract
	IMessageRecipientTransactor // Write-only binding to the contract
	IMessageRecipientFilterer   // Log filterer for contract events
}

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

func NewIMessageRecipient

func NewIMessageRecipient(address common.Address, backend bind.ContractBackend) (*IMessageRecipient, error)

NewIMessageRecipient creates a new instance of IMessageRecipient, bound to a specific deployed contract.

type IMessageRecipientCaller

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

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

func NewIMessageRecipientCaller

func NewIMessageRecipientCaller(address common.Address, caller bind.ContractCaller) (*IMessageRecipientCaller, error)

NewIMessageRecipientCaller creates a new read-only instance of IMessageRecipient, bound to a specific deployed contract.

type IMessageRecipientCallerRaw

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

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

func (*IMessageRecipientCallerRaw) Call

func (_IMessageRecipient *IMessageRecipientCallerRaw) 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 IMessageRecipientCallerSession

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

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

type IMessageRecipientFilterer

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

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

func NewIMessageRecipientFilterer

func NewIMessageRecipientFilterer(address common.Address, filterer bind.ContractFilterer) (*IMessageRecipientFilterer, error)

NewIMessageRecipientFilterer creates a new log filterer instance of IMessageRecipient, bound to a specific deployed contract.

type IMessageRecipientRaw

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

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

func (*IMessageRecipientRaw) Call

func (_IMessageRecipient *IMessageRecipientRaw) 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 (*IMessageRecipientRaw) Transact

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

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

func (*IMessageRecipientRaw) Transfer

func (_IMessageRecipient *IMessageRecipientRaw) 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 IMessageRecipientSession

type IMessageRecipientSession struct {
	Contract     *IMessageRecipient // 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
}

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

func (*IMessageRecipientSession) ReceiveBaseMessage added in v0.0.171

func (_IMessageRecipient *IMessageRecipientSession) ReceiveBaseMessage(origin uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, version uint32, content []byte) (*types.Transaction, error)

ReceiveBaseMessage is a paid mutator transaction binding the contract method 0x032f287e.

Solidity: function receiveBaseMessage(uint32 origin, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content) payable returns()

type IMessageRecipientTransactor

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

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

func NewIMessageRecipientTransactor

func NewIMessageRecipientTransactor(address common.Address, transactor bind.ContractTransactor) (*IMessageRecipientTransactor, error)

NewIMessageRecipientTransactor creates a new write-only instance of IMessageRecipient, bound to a specific deployed contract.

func (*IMessageRecipientTransactor) ReceiveBaseMessage added in v0.0.171

func (_IMessageRecipient *IMessageRecipientTransactor) ReceiveBaseMessage(opts *bind.TransactOpts, origin uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, version uint32, content []byte) (*types.Transaction, error)

ReceiveBaseMessage is a paid mutator transaction binding the contract method 0x032f287e.

Solidity: function receiveBaseMessage(uint32 origin, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content) payable returns()

type IMessageRecipientTransactorRaw

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

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

func (*IMessageRecipientTransactorRaw) Transact

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

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

func (*IMessageRecipientTransactorRaw) Transfer

func (_IMessageRecipient *IMessageRecipientTransactorRaw) 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 IMessageRecipientTransactorSession

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

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

func (*IMessageRecipientTransactorSession) ReceiveBaseMessage added in v0.0.171

func (_IMessageRecipient *IMessageRecipientTransactorSession) ReceiveBaseMessage(origin uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, version uint32, content []byte) (*types.Transaction, error)

ReceiveBaseMessage is a paid mutator transaction binding the contract method 0x032f287e.

Solidity: function receiveBaseMessage(uint32 origin, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content) payable returns()

type InterfaceOrigin added in v0.0.130

type InterfaceOrigin struct {
	InterfaceOriginCaller     // Read-only binding to the contract
	InterfaceOriginTransactor // Write-only binding to the contract
	InterfaceOriginFilterer   // Log filterer for contract events
}

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

func NewInterfaceOrigin added in v0.0.130

func NewInterfaceOrigin(address common.Address, backend bind.ContractBackend) (*InterfaceOrigin, error)

NewInterfaceOrigin creates a new instance of InterfaceOrigin, bound to a specific deployed contract.

type InterfaceOriginCaller added in v0.0.130

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

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

func NewInterfaceOriginCaller added in v0.0.130

func NewInterfaceOriginCaller(address common.Address, caller bind.ContractCaller) (*InterfaceOriginCaller, error)

NewInterfaceOriginCaller creates a new read-only instance of InterfaceOrigin, bound to a specific deployed contract.

func (*InterfaceOriginCaller) GetMinimumTipsValue added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginCaller) GetMinimumTipsValue(opts *bind.CallOpts, destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)

GetMinimumTipsValue is a free data retrieval call binding the contract method 0x4fc6ad85.

Solidity: function getMinimumTipsValue(uint32 destination, uint256 paddedRequest, uint256 contentLength) view returns(uint256 tipsValue)

type InterfaceOriginCallerRaw added in v0.0.130

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

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

func (*InterfaceOriginCallerRaw) Call added in v0.0.130

func (_InterfaceOrigin *InterfaceOriginCallerRaw) 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 InterfaceOriginCallerSession added in v0.0.130

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

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

func (*InterfaceOriginCallerSession) GetMinimumTipsValue added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginCallerSession) GetMinimumTipsValue(destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)

GetMinimumTipsValue is a free data retrieval call binding the contract method 0x4fc6ad85.

Solidity: function getMinimumTipsValue(uint32 destination, uint256 paddedRequest, uint256 contentLength) view returns(uint256 tipsValue)

type InterfaceOriginFilterer added in v0.0.130

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

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

func NewInterfaceOriginFilterer added in v0.0.130

func NewInterfaceOriginFilterer(address common.Address, filterer bind.ContractFilterer) (*InterfaceOriginFilterer, error)

NewInterfaceOriginFilterer creates a new log filterer instance of InterfaceOrigin, bound to a specific deployed contract.

type InterfaceOriginRaw added in v0.0.130

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

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

func (*InterfaceOriginRaw) Call added in v0.0.130

func (_InterfaceOrigin *InterfaceOriginRaw) 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 (*InterfaceOriginRaw) Transact added in v0.0.130

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

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

func (*InterfaceOriginRaw) Transfer added in v0.0.130

func (_InterfaceOrigin *InterfaceOriginRaw) 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 InterfaceOriginSession added in v0.0.130

type InterfaceOriginSession struct {
	Contract     *InterfaceOrigin  // 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
}

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

func (*InterfaceOriginSession) GetMinimumTipsValue added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginSession) GetMinimumTipsValue(destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)

GetMinimumTipsValue is a free data retrieval call binding the contract method 0x4fc6ad85.

Solidity: function getMinimumTipsValue(uint32 destination, uint256 paddedRequest, uint256 contentLength) view returns(uint256 tipsValue)

func (*InterfaceOriginSession) SendBaseMessage added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginSession) SendBaseMessage(destination uint32, recipient [32]byte, optimisticPeriod uint32, paddedRequest *big.Int, content []byte) (*types.Transaction, error)

SendBaseMessage is a paid mutator transaction binding the contract method 0x873661bd.

Solidity: function sendBaseMessage(uint32 destination, bytes32 recipient, uint32 optimisticPeriod, uint256 paddedRequest, bytes content) payable returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginSession) SendManagerMessage added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginSession) SendManagerMessage(destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)

SendManagerMessage is a paid mutator transaction binding the contract method 0xa1c702a7.

Solidity: function sendManagerMessage(uint32 destination, uint32 optimisticPeriod, bytes payload) returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginSession) WithdrawTips added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginSession) WithdrawTips(recipient common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0x4e04e7a7.

Solidity: function withdrawTips(address recipient, uint256 amount) returns()

type InterfaceOriginTransactor added in v0.0.130

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

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

func NewInterfaceOriginTransactor added in v0.0.130

func NewInterfaceOriginTransactor(address common.Address, transactor bind.ContractTransactor) (*InterfaceOriginTransactor, error)

NewInterfaceOriginTransactor creates a new write-only instance of InterfaceOrigin, bound to a specific deployed contract.

func (*InterfaceOriginTransactor) SendBaseMessage added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginTransactor) SendBaseMessage(opts *bind.TransactOpts, destination uint32, recipient [32]byte, optimisticPeriod uint32, paddedRequest *big.Int, content []byte) (*types.Transaction, error)

SendBaseMessage is a paid mutator transaction binding the contract method 0x873661bd.

Solidity: function sendBaseMessage(uint32 destination, bytes32 recipient, uint32 optimisticPeriod, uint256 paddedRequest, bytes content) payable returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginTransactor) SendManagerMessage added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginTransactor) SendManagerMessage(opts *bind.TransactOpts, destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)

SendManagerMessage is a paid mutator transaction binding the contract method 0xa1c702a7.

Solidity: function sendManagerMessage(uint32 destination, uint32 optimisticPeriod, bytes payload) returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginTransactor) WithdrawTips added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginTransactor) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0x4e04e7a7.

Solidity: function withdrawTips(address recipient, uint256 amount) returns()

type InterfaceOriginTransactorRaw added in v0.0.130

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

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

func (*InterfaceOriginTransactorRaw) Transact added in v0.0.130

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

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

func (*InterfaceOriginTransactorRaw) Transfer added in v0.0.130

func (_InterfaceOrigin *InterfaceOriginTransactorRaw) 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 InterfaceOriginTransactorSession added in v0.0.130

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

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

func (*InterfaceOriginTransactorSession) SendBaseMessage added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginTransactorSession) SendBaseMessage(destination uint32, recipient [32]byte, optimisticPeriod uint32, paddedRequest *big.Int, content []byte) (*types.Transaction, error)

SendBaseMessage is a paid mutator transaction binding the contract method 0x873661bd.

Solidity: function sendBaseMessage(uint32 destination, bytes32 recipient, uint32 optimisticPeriod, uint256 paddedRequest, bytes content) payable returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginTransactorSession) SendManagerMessage added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginTransactorSession) SendManagerMessage(destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)

SendManagerMessage is a paid mutator transaction binding the contract method 0xa1c702a7.

Solidity: function sendManagerMessage(uint32 destination, uint32 optimisticPeriod, bytes payload) returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginTransactorSession) WithdrawTips added in v0.0.171

func (_InterfaceOrigin *InterfaceOriginTransactorSession) WithdrawTips(recipient common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0x4e04e7a7.

Solidity: function withdrawTips(address recipient, uint256 amount) returns()

type MessageRecipient added in v0.0.171

type MessageRecipient struct {
	MessageRecipientCaller     // Read-only binding to the contract
	MessageRecipientTransactor // Write-only binding to the contract
	MessageRecipientFilterer   // Log filterer for contract events
}

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

func NewMessageRecipient added in v0.0.171

func NewMessageRecipient(address common.Address, backend bind.ContractBackend) (*MessageRecipient, error)

NewMessageRecipient creates a new instance of MessageRecipient, bound to a specific deployed contract.

type MessageRecipientCaller added in v0.0.171

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

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

func NewMessageRecipientCaller added in v0.0.171

func NewMessageRecipientCaller(address common.Address, caller bind.ContractCaller) (*MessageRecipientCaller, error)

NewMessageRecipientCaller creates a new read-only instance of MessageRecipient, bound to a specific deployed contract.

func (*MessageRecipientCaller) Destination added in v0.0.171

func (_MessageRecipient *MessageRecipientCaller) Destination(opts *bind.CallOpts) (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*MessageRecipientCaller) Origin added in v0.0.171

func (_MessageRecipient *MessageRecipientCaller) Origin(opts *bind.CallOpts) (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

type MessageRecipientCallerRaw added in v0.0.171

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

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

func (*MessageRecipientCallerRaw) Call added in v0.0.171

func (_MessageRecipient *MessageRecipientCallerRaw) 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 MessageRecipientCallerSession added in v0.0.171

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

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

func (*MessageRecipientCallerSession) Destination added in v0.0.171

func (_MessageRecipient *MessageRecipientCallerSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*MessageRecipientCallerSession) Origin added in v0.0.171

func (_MessageRecipient *MessageRecipientCallerSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

type MessageRecipientFilterer added in v0.0.171

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

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

func NewMessageRecipientFilterer added in v0.0.171

func NewMessageRecipientFilterer(address common.Address, filterer bind.ContractFilterer) (*MessageRecipientFilterer, error)

NewMessageRecipientFilterer creates a new log filterer instance of MessageRecipient, bound to a specific deployed contract.

type MessageRecipientRaw added in v0.0.171

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

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

func (*MessageRecipientRaw) Call added in v0.0.171

func (_MessageRecipient *MessageRecipientRaw) 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 (*MessageRecipientRaw) Transact added in v0.0.171

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

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

func (*MessageRecipientRaw) Transfer added in v0.0.171

func (_MessageRecipient *MessageRecipientRaw) 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 MessageRecipientSession added in v0.0.171

type MessageRecipientSession struct {
	Contract     *MessageRecipient // 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
}

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

func (*MessageRecipientSession) Destination added in v0.0.171

func (_MessageRecipient *MessageRecipientSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*MessageRecipientSession) Origin added in v0.0.171

func (_MessageRecipient *MessageRecipientSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*MessageRecipientSession) ReceiveBaseMessage added in v0.0.171

func (_MessageRecipient *MessageRecipientSession) ReceiveBaseMessage(origin_ uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, version uint32, content []byte) (*types.Transaction, error)

ReceiveBaseMessage is a paid mutator transaction binding the contract method 0x032f287e.

Solidity: function receiveBaseMessage(uint32 origin_, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content) payable returns()

type MessageRecipientTransactor added in v0.0.171

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

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

func NewMessageRecipientTransactor added in v0.0.171

func NewMessageRecipientTransactor(address common.Address, transactor bind.ContractTransactor) (*MessageRecipientTransactor, error)

NewMessageRecipientTransactor creates a new write-only instance of MessageRecipient, bound to a specific deployed contract.

func (*MessageRecipientTransactor) ReceiveBaseMessage added in v0.0.171

func (_MessageRecipient *MessageRecipientTransactor) ReceiveBaseMessage(opts *bind.TransactOpts, origin_ uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, version uint32, content []byte) (*types.Transaction, error)

ReceiveBaseMessage is a paid mutator transaction binding the contract method 0x032f287e.

Solidity: function receiveBaseMessage(uint32 origin_, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content) payable returns()

type MessageRecipientTransactorRaw added in v0.0.171

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

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

func (*MessageRecipientTransactorRaw) Transact added in v0.0.171

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

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

func (*MessageRecipientTransactorRaw) Transfer added in v0.0.171

func (_MessageRecipient *MessageRecipientTransactorRaw) 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 MessageRecipientTransactorSession added in v0.0.171

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

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

func (*MessageRecipientTransactorSession) ReceiveBaseMessage added in v0.0.171

func (_MessageRecipient *MessageRecipientTransactorSession) ReceiveBaseMessage(origin_ uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, version uint32, content []byte) (*types.Transaction, error)

ReceiveBaseMessage is a paid mutator transaction binding the contract method 0x032f287e.

Solidity: function receiveBaseMessage(uint32 origin_, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content) payable returns()

type PingPongClient

type PingPongClient struct {
	PingPongClientCaller     // Read-only binding to the contract
	PingPongClientTransactor // Write-only binding to the contract
	PingPongClientFilterer   // Log filterer for contract events
}

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

func DeployPingPongClient

func DeployPingPongClient(auth *bind.TransactOpts, backend bind.ContractBackend, origin_ common.Address, destination_ common.Address) (common.Address, *types.Transaction, *PingPongClient, error)

DeployPingPongClient deploys a new Ethereum contract, binding an instance of PingPongClient to it.

func NewPingPongClient

func NewPingPongClient(address common.Address, backend bind.ContractBackend) (*PingPongClient, error)

NewPingPongClient creates a new instance of PingPongClient, bound to a specific deployed contract.

type PingPongClientCaller

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

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

func NewPingPongClientCaller

func NewPingPongClientCaller(address common.Address, caller bind.ContractCaller) (*PingPongClientCaller, error)

NewPingPongClientCaller creates a new read-only instance of PingPongClient, bound to a specific deployed contract.

func (*PingPongClientCaller) Destination

func (_PingPongClient *PingPongClientCaller) Destination(opts *bind.CallOpts) (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*PingPongClientCaller) NextOptimisticPeriod

func (_PingPongClient *PingPongClientCaller) NextOptimisticPeriod(opts *bind.CallOpts) (uint32, error)

NextOptimisticPeriod is a free data retrieval call binding the contract method 0x2bd56025.

Solidity: function nextOptimisticPeriod() view returns(uint32 period)

func (*PingPongClientCaller) Origin

func (_PingPongClient *PingPongClientCaller) Origin(opts *bind.CallOpts) (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*PingPongClientCaller) PingsReceived

func (_PingPongClient *PingPongClientCaller) PingsReceived(opts *bind.CallOpts) (*big.Int, error)

PingsReceived is a free data retrieval call binding the contract method 0xe3ac3ca0.

Solidity: function pingsReceived() view returns(uint256)

func (*PingPongClientCaller) PingsSent

func (_PingPongClient *PingPongClientCaller) PingsSent(opts *bind.CallOpts) (*big.Int, error)

PingsSent is a free data retrieval call binding the contract method 0xb475cba3.

Solidity: function pingsSent() view returns(uint256)

func (*PingPongClientCaller) PongsReceived

func (_PingPongClient *PingPongClientCaller) PongsReceived(opts *bind.CallOpts) (*big.Int, error)

PongsReceived is a free data retrieval call binding the contract method 0x45a8b8ed.

Solidity: function pongsReceived() view returns(uint256)

func (*PingPongClientCaller) Random

func (_PingPongClient *PingPongClientCaller) Random(opts *bind.CallOpts) (*big.Int, error)

Random is a free data retrieval call binding the contract method 0x5ec01e4d.

Solidity: function random() view returns(uint256)

type PingPongClientCallerRaw

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

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

func (*PingPongClientCallerRaw) Call

func (_PingPongClient *PingPongClientCallerRaw) 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 PingPongClientCallerSession

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

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

func (*PingPongClientCallerSession) Destination

func (_PingPongClient *PingPongClientCallerSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*PingPongClientCallerSession) NextOptimisticPeriod

func (_PingPongClient *PingPongClientCallerSession) NextOptimisticPeriod() (uint32, error)

NextOptimisticPeriod is a free data retrieval call binding the contract method 0x2bd56025.

Solidity: function nextOptimisticPeriod() view returns(uint32 period)

func (*PingPongClientCallerSession) Origin

func (_PingPongClient *PingPongClientCallerSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*PingPongClientCallerSession) PingsReceived

func (_PingPongClient *PingPongClientCallerSession) PingsReceived() (*big.Int, error)

PingsReceived is a free data retrieval call binding the contract method 0xe3ac3ca0.

Solidity: function pingsReceived() view returns(uint256)

func (*PingPongClientCallerSession) PingsSent

func (_PingPongClient *PingPongClientCallerSession) PingsSent() (*big.Int, error)

PingsSent is a free data retrieval call binding the contract method 0xb475cba3.

Solidity: function pingsSent() view returns(uint256)

func (*PingPongClientCallerSession) PongsReceived

func (_PingPongClient *PingPongClientCallerSession) PongsReceived() (*big.Int, error)

PongsReceived is a free data retrieval call binding the contract method 0x45a8b8ed.

Solidity: function pongsReceived() view returns(uint256)

func (*PingPongClientCallerSession) Random

func (_PingPongClient *PingPongClientCallerSession) Random() (*big.Int, error)

Random is a free data retrieval call binding the contract method 0x5ec01e4d.

Solidity: function random() view returns(uint256)

type PingPongClientFilterer

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

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

func NewPingPongClientFilterer

func NewPingPongClientFilterer(address common.Address, filterer bind.ContractFilterer) (*PingPongClientFilterer, error)

NewPingPongClientFilterer creates a new log filterer instance of PingPongClient, bound to a specific deployed contract.

func (*PingPongClientFilterer) FilterPingReceived

func (_PingPongClient *PingPongClientFilterer) FilterPingReceived(opts *bind.FilterOpts) (*PingPongClientPingReceivedIterator, error)

FilterPingReceived is a free log retrieval operation binding the contract event 0x51c4f05cea43f3d4604f77fd5a656743088090aa726deb5e3a9f670d8da75d65.

Solidity: event PingReceived(uint256 pingId)

func (*PingPongClientFilterer) FilterPingSent

func (_PingPongClient *PingPongClientFilterer) FilterPingSent(opts *bind.FilterOpts) (*PingPongClientPingSentIterator, error)

FilterPingSent is a free log retrieval operation binding the contract event 0x14089a5f67ef0667796ead5223612a15d24422be4bdaa19abc32fb26d4c8b3db.

Solidity: event PingSent(uint256 pingId)

func (*PingPongClientFilterer) FilterPongReceived

func (_PingPongClient *PingPongClientFilterer) FilterPongReceived(opts *bind.FilterOpts) (*PingPongClientPongReceivedIterator, error)

FilterPongReceived is a free log retrieval operation binding the contract event 0x08d46b5262cb13a84b9421fef5cfd01017e1cb48c879e3fc89acaadf34f2106e.

Solidity: event PongReceived(uint256 pingId)

func (*PingPongClientFilterer) FilterPongSent

func (_PingPongClient *PingPongClientFilterer) FilterPongSent(opts *bind.FilterOpts) (*PingPongClientPongSentIterator, error)

FilterPongSent is a free log retrieval operation binding the contract event 0x0a72872b9cfe43d6c13b13553f28d4879e427f3b456545649fd0761fdcbe0311.

Solidity: event PongSent(uint256 pingId)

func (*PingPongClientFilterer) ParsePingReceived

func (_PingPongClient *PingPongClientFilterer) ParsePingReceived(log types.Log) (*PingPongClientPingReceived, error)

ParsePingReceived is a log parse operation binding the contract event 0x51c4f05cea43f3d4604f77fd5a656743088090aa726deb5e3a9f670d8da75d65.

Solidity: event PingReceived(uint256 pingId)

func (*PingPongClientFilterer) ParsePingSent

func (_PingPongClient *PingPongClientFilterer) ParsePingSent(log types.Log) (*PingPongClientPingSent, error)

ParsePingSent is a log parse operation binding the contract event 0x14089a5f67ef0667796ead5223612a15d24422be4bdaa19abc32fb26d4c8b3db.

Solidity: event PingSent(uint256 pingId)

func (*PingPongClientFilterer) ParsePongReceived

func (_PingPongClient *PingPongClientFilterer) ParsePongReceived(log types.Log) (*PingPongClientPongReceived, error)

ParsePongReceived is a log parse operation binding the contract event 0x08d46b5262cb13a84b9421fef5cfd01017e1cb48c879e3fc89acaadf34f2106e.

Solidity: event PongReceived(uint256 pingId)

func (*PingPongClientFilterer) ParsePongSent

func (_PingPongClient *PingPongClientFilterer) ParsePongSent(log types.Log) (*PingPongClientPongSent, error)

ParsePongSent is a log parse operation binding the contract event 0x0a72872b9cfe43d6c13b13553f28d4879e427f3b456545649fd0761fdcbe0311.

Solidity: event PongSent(uint256 pingId)

func (*PingPongClientFilterer) WatchPingReceived

func (_PingPongClient *PingPongClientFilterer) WatchPingReceived(opts *bind.WatchOpts, sink chan<- *PingPongClientPingReceived) (event.Subscription, error)

WatchPingReceived is a free log subscription operation binding the contract event 0x51c4f05cea43f3d4604f77fd5a656743088090aa726deb5e3a9f670d8da75d65.

Solidity: event PingReceived(uint256 pingId)

func (*PingPongClientFilterer) WatchPingSent

func (_PingPongClient *PingPongClientFilterer) WatchPingSent(opts *bind.WatchOpts, sink chan<- *PingPongClientPingSent) (event.Subscription, error)

WatchPingSent is a free log subscription operation binding the contract event 0x14089a5f67ef0667796ead5223612a15d24422be4bdaa19abc32fb26d4c8b3db.

Solidity: event PingSent(uint256 pingId)

func (*PingPongClientFilterer) WatchPongReceived

func (_PingPongClient *PingPongClientFilterer) WatchPongReceived(opts *bind.WatchOpts, sink chan<- *PingPongClientPongReceived) (event.Subscription, error)

WatchPongReceived is a free log subscription operation binding the contract event 0x08d46b5262cb13a84b9421fef5cfd01017e1cb48c879e3fc89acaadf34f2106e.

Solidity: event PongReceived(uint256 pingId)

func (*PingPongClientFilterer) WatchPongSent

func (_PingPongClient *PingPongClientFilterer) WatchPongSent(opts *bind.WatchOpts, sink chan<- *PingPongClientPongSent) (event.Subscription, error)

WatchPongSent is a free log subscription operation binding the contract event 0x0a72872b9cfe43d6c13b13553f28d4879e427f3b456545649fd0761fdcbe0311.

Solidity: event PongSent(uint256 pingId)

type PingPongClientPingReceived

type PingPongClientPingReceived struct {
	PingId *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PingPongClientPingReceived represents a PingReceived event raised by the PingPongClient contract.

type PingPongClientPingReceivedIterator

type PingPongClientPingReceivedIterator struct {
	Event *PingPongClientPingReceived // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PingPongClientPingReceivedIterator is returned from FilterPingReceived and is used to iterate over the raw logs and unpacked data for PingReceived events raised by the PingPongClient contract.

func (*PingPongClientPingReceivedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PingPongClientPingReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PingPongClientPingReceivedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PingPongClientPingSent

type PingPongClientPingSent struct {
	PingId *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PingPongClientPingSent represents a PingSent event raised by the PingPongClient contract.

type PingPongClientPingSentIterator

type PingPongClientPingSentIterator struct {
	Event *PingPongClientPingSent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PingPongClientPingSentIterator is returned from FilterPingSent and is used to iterate over the raw logs and unpacked data for PingSent events raised by the PingPongClient contract.

func (*PingPongClientPingSentIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PingPongClientPingSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PingPongClientPingSentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PingPongClientPongReceived

type PingPongClientPongReceived struct {
	PingId *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PingPongClientPongReceived represents a PongReceived event raised by the PingPongClient contract.

type PingPongClientPongReceivedIterator

type PingPongClientPongReceivedIterator struct {
	Event *PingPongClientPongReceived // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PingPongClientPongReceivedIterator is returned from FilterPongReceived and is used to iterate over the raw logs and unpacked data for PongReceived events raised by the PingPongClient contract.

func (*PingPongClientPongReceivedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PingPongClientPongReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PingPongClientPongReceivedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PingPongClientPongSent

type PingPongClientPongSent struct {
	PingId *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PingPongClientPongSent represents a PongSent event raised by the PingPongClient contract.

type PingPongClientPongSentIterator

type PingPongClientPongSentIterator struct {
	Event *PingPongClientPongSent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PingPongClientPongSentIterator is returned from FilterPongSent and is used to iterate over the raw logs and unpacked data for PongSent events raised by the PingPongClient contract.

func (*PingPongClientPongSentIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PingPongClientPongSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PingPongClientPongSentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PingPongClientRaw

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

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

func (*PingPongClientRaw) Call

func (_PingPongClient *PingPongClientRaw) 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 (*PingPongClientRaw) Transact

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

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

func (*PingPongClientRaw) Transfer

func (_PingPongClient *PingPongClientRaw) 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 PingPongClientRef

type PingPongClientRef struct {
	*PingPongClient
	// contains filtered or unexported fields
}

PingPongClientRef is a ping pong test client reference

func NewPingPongClientRef

func NewPingPongClientRef(address common.Address, backend bind.ContractBackend) (*PingPongClientRef, error)

NewPingPongClientRef creates a new test client.

func (PingPongClientRef) Address

func (a PingPongClientRef) Address() common.Address

Address gets the address of the contract.

type PingPongClientSession

type PingPongClientSession struct {
	Contract     *PingPongClient   // 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
}

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

func (*PingPongClientSession) Destination

func (_PingPongClient *PingPongClientSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*PingPongClientSession) DoPing

func (_PingPongClient *PingPongClientSession) DoPing(destination_ uint32, recipient common.Address, counter uint16) (*types.Transaction, error)

DoPing is a paid mutator transaction binding the contract method 0x08fe5e4e.

Solidity: function doPing(uint32 destination_, address recipient, uint16 counter) returns()

func (*PingPongClientSession) DoPings

func (_PingPongClient *PingPongClientSession) DoPings(pingCount uint16, destination_ uint32, recipient common.Address, counter uint16) (*types.Transaction, error)

DoPings is a paid mutator transaction binding the contract method 0xaa402039.

Solidity: function doPings(uint16 pingCount, uint32 destination_, address recipient, uint16 counter) returns()

func (*PingPongClientSession) NextOptimisticPeriod

func (_PingPongClient *PingPongClientSession) NextOptimisticPeriod() (uint32, error)

NextOptimisticPeriod is a free data retrieval call binding the contract method 0x2bd56025.

Solidity: function nextOptimisticPeriod() view returns(uint32 period)

func (*PingPongClientSession) Origin

func (_PingPongClient *PingPongClientSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*PingPongClientSession) PingsReceived

func (_PingPongClient *PingPongClientSession) PingsReceived() (*big.Int, error)

PingsReceived is a free data retrieval call binding the contract method 0xe3ac3ca0.

Solidity: function pingsReceived() view returns(uint256)

func (*PingPongClientSession) PingsSent

func (_PingPongClient *PingPongClientSession) PingsSent() (*big.Int, error)

PingsSent is a free data retrieval call binding the contract method 0xb475cba3.

Solidity: function pingsSent() view returns(uint256)

func (*PingPongClientSession) PongsReceived

func (_PingPongClient *PingPongClientSession) PongsReceived() (*big.Int, error)

PongsReceived is a free data retrieval call binding the contract method 0x45a8b8ed.

Solidity: function pongsReceived() view returns(uint256)

func (*PingPongClientSession) Random

func (_PingPongClient *PingPongClientSession) Random() (*big.Int, error)

Random is a free data retrieval call binding the contract method 0x5ec01e4d.

Solidity: function random() view returns(uint256)

func (*PingPongClientSession) ReceiveBaseMessage added in v0.0.171

func (_PingPongClient *PingPongClientSession) ReceiveBaseMessage(origin_ uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, version uint32, content []byte) (*types.Transaction, error)

ReceiveBaseMessage is a paid mutator transaction binding the contract method 0x032f287e.

Solidity: function receiveBaseMessage(uint32 origin_, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content) payable returns()

type PingPongClientTransactor

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

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

func NewPingPongClientTransactor

func NewPingPongClientTransactor(address common.Address, transactor bind.ContractTransactor) (*PingPongClientTransactor, error)

NewPingPongClientTransactor creates a new write-only instance of PingPongClient, bound to a specific deployed contract.

func (*PingPongClientTransactor) DoPing

func (_PingPongClient *PingPongClientTransactor) DoPing(opts *bind.TransactOpts, destination_ uint32, recipient common.Address, counter uint16) (*types.Transaction, error)

DoPing is a paid mutator transaction binding the contract method 0x08fe5e4e.

Solidity: function doPing(uint32 destination_, address recipient, uint16 counter) returns()

func (*PingPongClientTransactor) DoPings

func (_PingPongClient *PingPongClientTransactor) DoPings(opts *bind.TransactOpts, pingCount uint16, destination_ uint32, recipient common.Address, counter uint16) (*types.Transaction, error)

DoPings is a paid mutator transaction binding the contract method 0xaa402039.

Solidity: function doPings(uint16 pingCount, uint32 destination_, address recipient, uint16 counter) returns()

func (*PingPongClientTransactor) ReceiveBaseMessage added in v0.0.171

func (_PingPongClient *PingPongClientTransactor) ReceiveBaseMessage(opts *bind.TransactOpts, origin_ uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, version uint32, content []byte) (*types.Transaction, error)

ReceiveBaseMessage is a paid mutator transaction binding the contract method 0x032f287e.

Solidity: function receiveBaseMessage(uint32 origin_, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content) payable returns()

type PingPongClientTransactorRaw

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

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

func (*PingPongClientTransactorRaw) Transact

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

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

func (*PingPongClientTransactorRaw) Transfer

func (_PingPongClient *PingPongClientTransactorRaw) 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 PingPongClientTransactorSession

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

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

func (*PingPongClientTransactorSession) DoPing

func (_PingPongClient *PingPongClientTransactorSession) DoPing(destination_ uint32, recipient common.Address, counter uint16) (*types.Transaction, error)

DoPing is a paid mutator transaction binding the contract method 0x08fe5e4e.

Solidity: function doPing(uint32 destination_, address recipient, uint16 counter) returns()

func (*PingPongClientTransactorSession) DoPings

func (_PingPongClient *PingPongClientTransactorSession) DoPings(pingCount uint16, destination_ uint32, recipient common.Address, counter uint16) (*types.Transaction, error)

DoPings is a paid mutator transaction binding the contract method 0xaa402039.

Solidity: function doPings(uint16 pingCount, uint32 destination_, address recipient, uint16 counter) returns()

func (*PingPongClientTransactorSession) ReceiveBaseMessage added in v0.0.171

func (_PingPongClient *PingPongClientTransactorSession) ReceiveBaseMessage(origin_ uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, version uint32, content []byte) (*types.Transaction, error)

ReceiveBaseMessage is a paid mutator transaction binding the contract method 0x032f287e.

Solidity: function receiveBaseMessage(uint32 origin_, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content) payable returns()

type RequestLib added in v0.0.171

type RequestLib struct {
	RequestLibCaller     // Read-only binding to the contract
	RequestLibTransactor // Write-only binding to the contract
	RequestLibFilterer   // Log filterer for contract events
}

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

func DeployRequestLib added in v0.0.171

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

DeployRequestLib deploys a new Ethereum contract, binding an instance of RequestLib to it.

func NewRequestLib added in v0.0.171

func NewRequestLib(address common.Address, backend bind.ContractBackend) (*RequestLib, error)

NewRequestLib creates a new instance of RequestLib, bound to a specific deployed contract.

type RequestLibCaller added in v0.0.171

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

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

func NewRequestLibCaller added in v0.0.171

func NewRequestLibCaller(address common.Address, caller bind.ContractCaller) (*RequestLibCaller, error)

NewRequestLibCaller creates a new read-only instance of RequestLib, bound to a specific deployed contract.

type RequestLibCallerRaw added in v0.0.171

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

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

func (*RequestLibCallerRaw) Call added in v0.0.171

func (_RequestLib *RequestLibCallerRaw) 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 RequestLibCallerSession added in v0.0.171

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

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

type RequestLibFilterer added in v0.0.171

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

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

func NewRequestLibFilterer added in v0.0.171

func NewRequestLibFilterer(address common.Address, filterer bind.ContractFilterer) (*RequestLibFilterer, error)

NewRequestLibFilterer creates a new log filterer instance of RequestLib, bound to a specific deployed contract.

type RequestLibRaw added in v0.0.171

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

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

func (*RequestLibRaw) Call added in v0.0.171

func (_RequestLib *RequestLibRaw) 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 (*RequestLibRaw) Transact added in v0.0.171

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

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

func (*RequestLibRaw) Transfer added in v0.0.171

func (_RequestLib *RequestLibRaw) 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 RequestLibSession added in v0.0.171

type RequestLibSession struct {
	Contract     *RequestLib       // 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
}

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

type RequestLibTransactor added in v0.0.171

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

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

func NewRequestLibTransactor added in v0.0.171

func NewRequestLibTransactor(address common.Address, transactor bind.ContractTransactor) (*RequestLibTransactor, error)

NewRequestLibTransactor creates a new write-only instance of RequestLib, bound to a specific deployed contract.

type RequestLibTransactorRaw added in v0.0.171

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

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

func (*RequestLibTransactorRaw) Transact added in v0.0.171

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

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

func (*RequestLibTransactorRaw) Transfer added in v0.0.171

func (_RequestLib *RequestLibTransactorRaw) 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 RequestLibTransactorSession added in v0.0.171

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

RequestLibTransactorSession 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.

Jump to

Keyboard shortcuts

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