Documentation ¶
Overview ¶
Package testclient implements the testclient contract.
Package testclient generates abi data for contract TestClient.t.sol ¶
Code generated by synapse abigen DO NOT EDIT.
Index ¶
- Variables
- type IMessageRecipient
- type IMessageRecipientCaller
- type IMessageRecipientCallerRaw
- type IMessageRecipientCallerSession
- type IMessageRecipientFilterer
- type IMessageRecipientRaw
- func (_IMessageRecipient *IMessageRecipientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IMessageRecipient *IMessageRecipientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IMessageRecipient *IMessageRecipientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IMessageRecipientSession
- type IMessageRecipientTransactor
- type IMessageRecipientTransactorRaw
- type IMessageRecipientTransactorSession
- type InterfaceOrigin
- type InterfaceOriginCaller
- type InterfaceOriginCallerRaw
- type InterfaceOriginCallerSession
- type InterfaceOriginFilterer
- type InterfaceOriginRaw
- func (_InterfaceOrigin *InterfaceOriginRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterfaceOrigin *InterfaceOriginRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterfaceOriginSession
- func (_InterfaceOrigin *InterfaceOriginSession) GetMinimumTipsValue(destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)
- func (_InterfaceOrigin *InterfaceOriginSession) SendBaseMessage(destination uint32, recipient [32]byte, optimisticPeriod uint32, ...) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginSession) SendManagerMessage(destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginSession) WithdrawTips(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type InterfaceOriginTransactor
- func (_InterfaceOrigin *InterfaceOriginTransactor) SendBaseMessage(opts *bind.TransactOpts, destination uint32, recipient [32]byte, ...) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginTransactor) SendManagerMessage(opts *bind.TransactOpts, destination uint32, optimisticPeriod uint32, ...) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginTransactor) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type InterfaceOriginTransactorRaw
- type InterfaceOriginTransactorSession
- func (_InterfaceOrigin *InterfaceOriginTransactorSession) SendBaseMessage(destination uint32, recipient [32]byte, optimisticPeriod uint32, ...) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginTransactorSession) SendManagerMessage(destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginTransactorSession) WithdrawTips(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type MessageRecipient
- type MessageRecipientCaller
- type MessageRecipientCallerRaw
- type MessageRecipientCallerSession
- type MessageRecipientFilterer
- type MessageRecipientRaw
- func (_MessageRecipient *MessageRecipientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MessageRecipient *MessageRecipientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MessageRecipient *MessageRecipientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MessageRecipientSession
- func (_MessageRecipient *MessageRecipientSession) Destination() (common.Address, error)
- func (_MessageRecipient *MessageRecipientSession) Origin() (common.Address, error)
- func (_MessageRecipient *MessageRecipientSession) ReceiveBaseMessage(origin_ uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, ...) (*types.Transaction, error)
- type MessageRecipientTransactor
- type MessageRecipientTransactorRaw
- type MessageRecipientTransactorSession
- type RequestLib
- type RequestLibCaller
- type RequestLibCallerRaw
- type RequestLibCallerSession
- type RequestLibFilterer
- type RequestLibRaw
- func (_RequestLib *RequestLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_RequestLib *RequestLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RequestLib *RequestLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RequestLibSession
- type RequestLibTransactor
- type RequestLibTransactorRaw
- type RequestLibTransactorSession
- type TestClient
- type TestClientCaller
- type TestClientCallerRaw
- type TestClientCallerSession
- type TestClientFilterer
- func (_TestClient *TestClientFilterer) FilterMessageReceived(opts *bind.FilterOpts) (*TestClientMessageReceivedIterator, error)
- func (_TestClient *TestClientFilterer) FilterMessageSent(opts *bind.FilterOpts) (*TestClientMessageSentIterator, error)
- func (_TestClient *TestClientFilterer) ParseMessageReceived(log types.Log) (*TestClientMessageReceived, error)
- func (_TestClient *TestClientFilterer) ParseMessageSent(log types.Log) (*TestClientMessageSent, error)
- func (_TestClient *TestClientFilterer) WatchMessageReceived(opts *bind.WatchOpts, sink chan<- *TestClientMessageReceived) (event.Subscription, error)
- func (_TestClient *TestClientFilterer) WatchMessageSent(opts *bind.WatchOpts, sink chan<- *TestClientMessageSent) (event.Subscription, error)
- type TestClientMessageReceived
- type TestClientMessageReceivedIterator
- type TestClientMessageSent
- type TestClientMessageSentIterator
- type TestClientRaw
- func (_TestClient *TestClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TestClient *TestClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TestClient *TestClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TestClientRef
- type TestClientSession
- func (_TestClient *TestClientSession) Destination() (common.Address, error)
- func (_TestClient *TestClientSession) Origin() (common.Address, error)
- func (_TestClient *TestClientSession) ReceiveBaseMessage(origin_ uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, ...) (*types.Transaction, error)
- func (_TestClient *TestClientSession) SendMessage(destination_ uint32, recipientAddress common.Address, optimisticPeriod uint32, ...) (*types.Transaction, error)
- type TestClientTransactor
- func (_TestClient *TestClientTransactor) ReceiveBaseMessage(opts *bind.TransactOpts, origin_ uint32, nonce uint32, sender [32]byte, ...) (*types.Transaction, error)
- func (_TestClient *TestClientTransactor) SendMessage(opts *bind.TransactOpts, destination_ uint32, recipientAddress common.Address, ...) (*types.Transaction, error)
- type TestClientTransactorRaw
- type TestClientTransactorSession
- func (_TestClient *TestClientTransactorSession) ReceiveBaseMessage(origin_ uint32, nonce uint32, sender [32]byte, proofMaturity *big.Int, ...) (*types.Transaction, error)
- func (_TestClient *TestClientTransactorSession) SendMessage(destination_ uint32, recipientAddress common.Address, optimisticPeriod uint32, ...) (*types.Transaction, error)
- type TypeCasts
- type TypeCastsCaller
- type TypeCastsCallerRaw
- type TypeCastsCallerSession
- type TypeCastsFilterer
- type TypeCastsRaw
- func (_TypeCasts *TypeCastsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TypeCasts *TypeCastsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TypeCasts *TypeCastsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TypeCastsSession
- type TypeCastsTransactor
- type TypeCastsTransactorRaw
- type TypeCastsTransactorSession
Constants ¶
This section is empty.
Variables ¶
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var IMessageRecipientABI = IMessageRecipientMetaData.ABI
IMessageRecipientABI is the input ABI used to generate the binding from. Deprecated: Use IMessageRecipientMetaData.ABI instead.
var IMessageRecipientFuncSigs = IMessageRecipientMetaData.Sigs
Deprecated: Use IMessageRecipientMetaData.Sigs instead. IMessageRecipientFuncSigs maps the 4-byte function signature to its string representation.
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.
var InterfaceOriginABI = InterfaceOriginMetaData.ABI
InterfaceOriginABI is the input ABI used to generate the binding from. Deprecated: Use InterfaceOriginMetaData.ABI instead.
var InterfaceOriginFuncSigs = InterfaceOriginMetaData.Sigs
Deprecated: Use InterfaceOriginMetaData.Sigs instead. InterfaceOriginFuncSigs maps the 4-byte function signature to its string representation.
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.
var MessageRecipientABI = MessageRecipientMetaData.ABI
MessageRecipientABI is the input ABI used to generate the binding from. Deprecated: Use MessageRecipientMetaData.ABI instead.
var MessageRecipientFuncSigs = MessageRecipientMetaData.Sigs
Deprecated: Use MessageRecipientMetaData.Sigs instead. MessageRecipientFuncSigs maps the 4-byte function signature to its string representation.
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.
var RequestLibABI = RequestLibMetaData.ABI
RequestLibABI is the input ABI used to generate the binding from. Deprecated: Use RequestLibMetaData.ABI instead.
var RequestLibBin = RequestLibMetaData.Bin
RequestLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use RequestLibMetaData.Bin instead.
var RequestLibMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c60c8cd9ab756bce728a88c2f3934c224ceb8abce19e55989b63516a2d4e9f1964736f6c63430008110033",
}
RequestLibMetaData contains all meta data concerning the RequestLib contract.
var TestClientABI = TestClientMetaData.ABI
TestClientABI is the input ABI used to generate the binding from. Deprecated: Use TestClientMetaData.ABI instead.
var TestClientBin = TestClientMetaData.Bin
TestClientBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TestClientMetaData.Bin instead.
var TestClientFuncSigs = TestClientMetaData.Sigs
Deprecated: Use TestClientMetaData.Sigs instead. TestClientFuncSigs maps the 4-byte function signature to its string representation.
var TestClientMetaData = &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\":\"uint32\",\"name\":\"origin\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"sender\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"version\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"content\",\"type\":\"bytes\"}],\"name\":\"MessageReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"destination\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"sender\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"recipient\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"content\",\"type\":\"bytes\"}],\"name\":\"MessageSent\",\"type\":\"event\"},{\"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\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destination_\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"recipientAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"optimisticPeriod\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"version\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"content\",\"type\":\"bytes\"}],\"name\":\"sendMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]", Sigs: map[string]string{ "b269681d": "destination()", "938b5f32": "origin()", "032f287e": "receiveBaseMessage(uint32,uint32,bytes32,uint256,uint32,bytes)", "6d82c665": "sendMessage(uint32,address,uint32,uint64,uint32,bytes)", }, Bin: "0x60c060405234801561001057600080fd5b506040516108ff3803806108ff83398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516108396100c66000396000818160db0152610115015260008181607e015261035e01526108396000f3fe60806040526004361061003f5760003560e01c8063032f287e146100445780636d82c66514610059578063938b5f321461006c578063b269681d146100c9575b600080fd5b61005761005236600461057c565b6100fd565b005b610057610067366004610603565b610237565b34801561007857600080fd5b506100a07f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d557600080fd5b506100a07f000000000000000000000000000000000000000000000000000000000000000081565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461016c576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8463ffffffff166000036101ac576040517f674d8d8800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008490036101e7576040517f7d1c29f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600003610221576040517fdce28ace00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61022f8686868686866102d7565b505050505050565b60408051606081018252600080825267ffffffffffffffff8616602083015263ffffffff85169282019290925273ffffffffffffffffffffffffffffffffffffffff87169161028a898489348689610320565b5090507ff17c656698e3361e14b0a2402b83112a3d8ffcc011ce6bae5e8368685d14327689823086886040516102c4959493929190610717565b60405180910390a1505050505050505050565b7f3f9b1e40d9a4eda9d0f907e5149157e0ba489ee09f73d9c99a533462f3232ee386868686868660405161031096959493929190610757565b60405180910390a1505050505050565b60008086810361035c576040517f519bdea700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663873661bd868a8a8a6103a58a610417565b896040518763ffffffff1660e01b81526004016103c69594939291906107a0565b604080518083038185885af11580156103e3573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061040891906107d5565b91509150965096945050505050565b600061046d82600001518360200151846040015177ffffffffffffffffffffffff000000000000000000000000606084901b166bffffffffffffffff00000000602084901b161763ffffffff8216179392505050565b77ffffffffffffffffffffffffffffffffffffffffffffffff1692915050565b63ffffffff8116811461049f57600080fd5b50565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126104e257600080fd5b813567ffffffffffffffff808211156104fd576104fd6104a2565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610543576105436104a2565b8160405283815286602085880101111561055c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561059557600080fd5b86356105a08161048d565b955060208701356105b08161048d565b9450604087013593506060870135925060808701356105ce8161048d565b915060a087013567ffffffffffffffff8111156105ea57600080fd5b6105f689828a016104d1565b9150509295509295509295565b60008060008060008060c0878903121561061c57600080fd5b86356106278161048d565b9550602087013573ffffffffffffffffffffffffffffffffffffffff8116811461065057600080fd5b945060408701356106608161048d565b9350606087013567ffffffffffffffff808216821461067e57600080fd5b9093506080880135906106908261048d565b90925060a088013590808211156106a657600080fd5b506105f689828a016104d1565b6000815180845260005b818110156106d9576020818501810151868301820152016106bd565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b600063ffffffff808816835280871660208401525084604083015283606083015260a0608083015261074c60a08301846106b3565b979650505050505050565b600063ffffffff8089168352808816602084015286604084015285606084015280851660808401525060c060a083015261079460c08301846106b3565b98975050505050505050565b600063ffffffff808816835286602084015280861660408401525083606083015260a0608083015261074c60a08301846106b3565b600080604083850312156107e857600080fd5b82516107f38161048d565b602093909301519294929350505056fea26469706673582212202fcc1eedc27cc33c3ce313c53b6a387067a611455562feedacdad08ed0dce6d864736f6c63430008110033", }
TestClientMetaData contains all meta data concerning the TestClient contract.
var TypeCastsABI = TypeCastsMetaData.ABI
TypeCastsABI is the input ABI used to generate the binding from. Deprecated: Use TypeCastsMetaData.ABI instead.
var TypeCastsBin = TypeCastsMetaData.Bin
TypeCastsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TypeCastsMetaData.Bin instead.
var TypeCastsMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f262c6946df0f7c3aac362cb84a229938d3d049173ca72d0be653181895a457164736f6c63430008110033",
}
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)
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)
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 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 TestClient ¶
type TestClient struct { TestClientCaller // Read-only binding to the contract TestClientTransactor // Write-only binding to the contract TestClientFilterer // Log filterer for contract events }
TestClient is an auto generated Go binding around an Ethereum contract.
func DeployTestClient ¶
func DeployTestClient(auth *bind.TransactOpts, backend bind.ContractBackend, origin_ common.Address, destination_ common.Address) (common.Address, *types.Transaction, *TestClient, error)
DeployTestClient deploys a new Ethereum contract, binding an instance of TestClient to it.
func NewTestClient ¶
func NewTestClient(address common.Address, backend bind.ContractBackend) (*TestClient, error)
NewTestClient creates a new instance of TestClient, bound to a specific deployed contract.
type TestClientCaller ¶
type TestClientCaller struct {
// contains filtered or unexported fields
}
TestClientCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTestClientCaller ¶
func NewTestClientCaller(address common.Address, caller bind.ContractCaller) (*TestClientCaller, error)
NewTestClientCaller creates a new read-only instance of TestClient, bound to a specific deployed contract.
func (*TestClientCaller) Destination ¶
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
type TestClientCallerRaw ¶
type TestClientCallerRaw struct {
Contract *TestClientCaller // Generic read-only contract binding to access the raw methods on
}
TestClientCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TestClientCallerRaw) Call ¶
func (_TestClient *TestClientCallerRaw) 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 TestClientCallerSession ¶
type TestClientCallerSession struct { Contract *TestClientCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TestClientCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TestClientCallerSession) Destination ¶
func (_TestClient *TestClientCallerSession) Destination() (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
type TestClientFilterer ¶
type TestClientFilterer struct {
// contains filtered or unexported fields
}
TestClientFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTestClientFilterer ¶
func NewTestClientFilterer(address common.Address, filterer bind.ContractFilterer) (*TestClientFilterer, error)
NewTestClientFilterer creates a new log filterer instance of TestClient, bound to a specific deployed contract.
func (*TestClientFilterer) FilterMessageReceived ¶
func (_TestClient *TestClientFilterer) FilterMessageReceived(opts *bind.FilterOpts) (*TestClientMessageReceivedIterator, error)
FilterMessageReceived is a free log retrieval operation binding the contract event 0x3f9b1e40d9a4eda9d0f907e5149157e0ba489ee09f73d9c99a533462f3232ee3.
Solidity: event MessageReceived(uint32 origin, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content)
func (*TestClientFilterer) FilterMessageSent ¶
func (_TestClient *TestClientFilterer) FilterMessageSent(opts *bind.FilterOpts) (*TestClientMessageSentIterator, error)
FilterMessageSent is a free log retrieval operation binding the contract event 0xf17c656698e3361e14b0a2402b83112a3d8ffcc011ce6bae5e8368685d143276.
Solidity: event MessageSent(uint32 destination, uint32 nonce, bytes32 sender, bytes32 recipient, bytes content)
func (*TestClientFilterer) ParseMessageReceived ¶
func (_TestClient *TestClientFilterer) ParseMessageReceived(log types.Log) (*TestClientMessageReceived, error)
ParseMessageReceived is a log parse operation binding the contract event 0x3f9b1e40d9a4eda9d0f907e5149157e0ba489ee09f73d9c99a533462f3232ee3.
Solidity: event MessageReceived(uint32 origin, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content)
func (*TestClientFilterer) ParseMessageSent ¶
func (_TestClient *TestClientFilterer) ParseMessageSent(log types.Log) (*TestClientMessageSent, error)
ParseMessageSent is a log parse operation binding the contract event 0xf17c656698e3361e14b0a2402b83112a3d8ffcc011ce6bae5e8368685d143276.
Solidity: event MessageSent(uint32 destination, uint32 nonce, bytes32 sender, bytes32 recipient, bytes content)
func (*TestClientFilterer) WatchMessageReceived ¶
func (_TestClient *TestClientFilterer) WatchMessageReceived(opts *bind.WatchOpts, sink chan<- *TestClientMessageReceived) (event.Subscription, error)
WatchMessageReceived is a free log subscription operation binding the contract event 0x3f9b1e40d9a4eda9d0f907e5149157e0ba489ee09f73d9c99a533462f3232ee3.
Solidity: event MessageReceived(uint32 origin, uint32 nonce, bytes32 sender, uint256 proofMaturity, uint32 version, bytes content)
func (*TestClientFilterer) WatchMessageSent ¶
func (_TestClient *TestClientFilterer) WatchMessageSent(opts *bind.WatchOpts, sink chan<- *TestClientMessageSent) (event.Subscription, error)
WatchMessageSent is a free log subscription operation binding the contract event 0xf17c656698e3361e14b0a2402b83112a3d8ffcc011ce6bae5e8368685d143276.
Solidity: event MessageSent(uint32 destination, uint32 nonce, bytes32 sender, bytes32 recipient, bytes content)
type TestClientMessageReceived ¶
type TestClientMessageReceived struct { Origin uint32 Nonce uint32 Sender [32]byte ProofMaturity *big.Int Version uint32 Content []byte Raw types.Log // Blockchain specific contextual infos }
TestClientMessageReceived represents a MessageReceived event raised by the TestClient contract.
type TestClientMessageReceivedIterator ¶
type TestClientMessageReceivedIterator struct { Event *TestClientMessageReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TestClientMessageReceivedIterator is returned from FilterMessageReceived and is used to iterate over the raw logs and unpacked data for MessageReceived events raised by the TestClient contract.
func (*TestClientMessageReceivedIterator) Close ¶
func (it *TestClientMessageReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TestClientMessageReceivedIterator) Error ¶
func (it *TestClientMessageReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TestClientMessageReceivedIterator) Next ¶
func (it *TestClientMessageReceivedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TestClientMessageSent ¶
type TestClientMessageSent struct { Destination uint32 Nonce uint32 Sender [32]byte Recipient [32]byte Content []byte Raw types.Log // Blockchain specific contextual infos }
TestClientMessageSent represents a MessageSent event raised by the TestClient contract.
type TestClientMessageSentIterator ¶
type TestClientMessageSentIterator struct { Event *TestClientMessageSent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TestClientMessageSentIterator is returned from FilterMessageSent and is used to iterate over the raw logs and unpacked data for MessageSent events raised by the TestClient contract.
func (*TestClientMessageSentIterator) Close ¶
func (it *TestClientMessageSentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TestClientMessageSentIterator) Error ¶
func (it *TestClientMessageSentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TestClientMessageSentIterator) Next ¶
func (it *TestClientMessageSentIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TestClientRaw ¶
type TestClientRaw struct {
Contract *TestClient // Generic contract binding to access the raw methods on
}
TestClientRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TestClientRaw) Call ¶
func (_TestClient *TestClientRaw) 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 (*TestClientRaw) Transact ¶
func (_TestClient *TestClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TestClientRaw) Transfer ¶
func (_TestClient *TestClientRaw) 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 TestClientRef ¶
type TestClientRef struct { *TestClient // contains filtered or unexported fields }
TestClientRef is a test client reference
func NewTestClientRef ¶
func NewTestClientRef(address common.Address, backend bind.ContractBackend) (*TestClientRef, error)
NewTestClientRef creates a new test client.
func (TestClientRef) Address ¶
func (a TestClientRef) Address() common.Address
Address gets the address of the contract.
type TestClientSession ¶
type TestClientSession struct { Contract *TestClient // 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 }
TestClientSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TestClientSession) Destination ¶
func (_TestClient *TestClientSession) Destination() (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*TestClientSession) Origin ¶
func (_TestClient *TestClientSession) Origin() (common.Address, error)
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
func (*TestClientSession) ReceiveBaseMessage ¶ added in v0.0.171
func (_TestClient *TestClientSession) 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()
func (*TestClientSession) SendMessage ¶
func (_TestClient *TestClientSession) SendMessage(destination_ uint32, recipientAddress common.Address, optimisticPeriod uint32, gasLimit uint64, version uint32, content []byte) (*types.Transaction, error)
SendMessage is a paid mutator transaction binding the contract method 0x6d82c665.
Solidity: function sendMessage(uint32 destination_, address recipientAddress, uint32 optimisticPeriod, uint64 gasLimit, uint32 version, bytes content) payable returns()
type TestClientTransactor ¶
type TestClientTransactor struct {
// contains filtered or unexported fields
}
TestClientTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTestClientTransactor ¶
func NewTestClientTransactor(address common.Address, transactor bind.ContractTransactor) (*TestClientTransactor, error)
NewTestClientTransactor creates a new write-only instance of TestClient, bound to a specific deployed contract.
func (*TestClientTransactor) ReceiveBaseMessage ¶ added in v0.0.171
func (_TestClient *TestClientTransactor) 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()
func (*TestClientTransactor) SendMessage ¶
func (_TestClient *TestClientTransactor) SendMessage(opts *bind.TransactOpts, destination_ uint32, recipientAddress common.Address, optimisticPeriod uint32, gasLimit uint64, version uint32, content []byte) (*types.Transaction, error)
SendMessage is a paid mutator transaction binding the contract method 0x6d82c665.
Solidity: function sendMessage(uint32 destination_, address recipientAddress, uint32 optimisticPeriod, uint64 gasLimit, uint32 version, bytes content) payable returns()
type TestClientTransactorRaw ¶
type TestClientTransactorRaw struct {
Contract *TestClientTransactor // Generic write-only contract binding to access the raw methods on
}
TestClientTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TestClientTransactorRaw) Transact ¶
func (_TestClient *TestClientTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TestClientTransactorRaw) Transfer ¶
func (_TestClient *TestClientTransactorRaw) 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 TestClientTransactorSession ¶
type TestClientTransactorSession struct { Contract *TestClientTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TestClientTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TestClientTransactorSession) ReceiveBaseMessage ¶ added in v0.0.171
func (_TestClient *TestClientTransactorSession) 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()
func (*TestClientTransactorSession) SendMessage ¶
func (_TestClient *TestClientTransactorSession) SendMessage(destination_ uint32, recipientAddress common.Address, optimisticPeriod uint32, gasLimit uint64, version uint32, content []byte) (*types.Transaction, error)
SendMessage is a paid mutator transaction binding the contract method 0x6d82c665.
Solidity: function sendMessage(uint32 destination_, address recipientAddress, uint32 optimisticPeriod, uint64 gasLimit, uint32 version, bytes content) payable returns()
type TypeCasts ¶
type TypeCasts struct { TypeCastsCaller // Read-only binding to the contract TypeCastsTransactor // Write-only binding to the contract TypeCastsFilterer // Log filterer for contract events }
TypeCasts is an auto generated Go binding around an Ethereum contract.
func DeployTypeCasts ¶
func DeployTypeCasts(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TypeCasts, error)
DeployTypeCasts deploys a new Ethereum contract, binding an instance of TypeCasts to it.
func NewTypeCasts ¶
NewTypeCasts creates a new instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsCaller ¶
type TypeCastsCaller struct {
// contains filtered or unexported fields
}
TypeCastsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTypeCastsCaller ¶
func NewTypeCastsCaller(address common.Address, caller bind.ContractCaller) (*TypeCastsCaller, error)
NewTypeCastsCaller creates a new read-only instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsCallerRaw ¶
type TypeCastsCallerRaw struct {
Contract *TypeCastsCaller // Generic read-only contract binding to access the raw methods on
}
TypeCastsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TypeCastsCallerRaw) Call ¶
func (_TypeCasts *TypeCastsCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type TypeCastsCallerSession ¶
type TypeCastsCallerSession struct { Contract *TypeCastsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TypeCastsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type TypeCastsFilterer ¶
type TypeCastsFilterer struct {
// contains filtered or unexported fields
}
TypeCastsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTypeCastsFilterer ¶
func NewTypeCastsFilterer(address common.Address, filterer bind.ContractFilterer) (*TypeCastsFilterer, error)
NewTypeCastsFilterer creates a new log filterer instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsRaw ¶
type TypeCastsRaw struct {
Contract *TypeCasts // Generic contract binding to access the raw methods on
}
TypeCastsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TypeCastsRaw) Call ¶
func (_TypeCasts *TypeCastsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*TypeCastsRaw) Transact ¶
func (_TypeCasts *TypeCastsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TypeCastsRaw) Transfer ¶
func (_TypeCasts *TypeCastsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type TypeCastsSession ¶
type TypeCastsSession struct { Contract *TypeCasts // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TypeCastsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type TypeCastsTransactor ¶
type TypeCastsTransactor struct {
// contains filtered or unexported fields
}
TypeCastsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTypeCastsTransactor ¶
func NewTypeCastsTransactor(address common.Address, transactor bind.ContractTransactor) (*TypeCastsTransactor, error)
NewTypeCastsTransactor creates a new write-only instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsTransactorRaw ¶
type TypeCastsTransactorRaw struct {
Contract *TypeCastsTransactor // Generic write-only contract binding to access the raw methods on
}
TypeCastsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TypeCastsTransactorRaw) Transact ¶
func (_TypeCasts *TypeCastsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TypeCastsTransactorRaw) Transfer ¶
func (_TypeCasts *TypeCastsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type TypeCastsTransactorSession ¶
type TypeCastsTransactorSession struct { Contract *TypeCastsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TypeCastsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.