Documentation ¶
Overview ¶
Code generated by synapse abigen DO NOT EDIT.
Package agentstestcontract contains a contract used for testing event and transaction emission for testing the agents.
Index ¶
- Variables
- type AgentsTestContract
- type AgentsTestContractAgentsEventA
- type AgentsTestContractAgentsEventAIterator
- type AgentsTestContractAgentsEventB
- type AgentsTestContractAgentsEventBIterator
- type AgentsTestContractCaller
- type AgentsTestContractCallerRaw
- type AgentsTestContractCallerSession
- type AgentsTestContractFilterer
- func (_AgentsTestContract *AgentsTestContractFilterer) FilterAgentsEventA(opts *bind.FilterOpts, sender []common.Address, valueA []*big.Int, ...) (*AgentsTestContractAgentsEventAIterator, error)
- func (_AgentsTestContract *AgentsTestContractFilterer) FilterAgentsEventB(opts *bind.FilterOpts, sender []common.Address) (*AgentsTestContractAgentsEventBIterator, error)
- func (_AgentsTestContract *AgentsTestContractFilterer) FilterIMessageReceipientHandleEvent(opts *bind.FilterOpts, _origin []uint32, _nonce []uint32) (*AgentsTestContractIMessageReceipientHandleEventIterator, error)
- func (_AgentsTestContract *AgentsTestContractFilterer) ParseAgentsEventA(log types.Log) (*AgentsTestContractAgentsEventA, error)
- func (_AgentsTestContract *AgentsTestContractFilterer) ParseAgentsEventB(log types.Log) (*AgentsTestContractAgentsEventB, error)
- func (_AgentsTestContract *AgentsTestContractFilterer) ParseIMessageReceipientHandleEvent(log types.Log) (*AgentsTestContractIMessageReceipientHandleEvent, error)
- func (_AgentsTestContract *AgentsTestContractFilterer) WatchAgentsEventA(opts *bind.WatchOpts, sink chan<- *AgentsTestContractAgentsEventA, ...) (event.Subscription, error)
- func (_AgentsTestContract *AgentsTestContractFilterer) WatchAgentsEventB(opts *bind.WatchOpts, sink chan<- *AgentsTestContractAgentsEventB, ...) (event.Subscription, error)
- func (_AgentsTestContract *AgentsTestContractFilterer) WatchIMessageReceipientHandleEvent(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type AgentsTestContractIMessageReceipientHandleEvent
- type AgentsTestContractIMessageReceipientHandleEventIterator
- type AgentsTestContractRaw
- func (_AgentsTestContract *AgentsTestContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AgentsTestContract *AgentsTestContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AgentsTestContract *AgentsTestContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AgentsTestContractRef
- type AgentsTestContractSession
- func (_AgentsTestContract *AgentsTestContractSession) EmitAgentsEventA(valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
- func (_AgentsTestContract *AgentsTestContractSession) EmitAgentsEventAandB(valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
- func (_AgentsTestContract *AgentsTestContractSession) EmitAgentsEventB(valueA []byte, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
- func (_AgentsTestContract *AgentsTestContractSession) Handle(_origin uint32, _nonce uint32, _sender [32]byte, _rootSubmittedAt *big.Int, ...) (*types.Transaction, error)
- type AgentsTestContractTransactor
- func (_AgentsTestContract *AgentsTestContractTransactor) EmitAgentsEventA(opts *bind.TransactOpts, valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
- func (_AgentsTestContract *AgentsTestContractTransactor) EmitAgentsEventAandB(opts *bind.TransactOpts, valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
- func (_AgentsTestContract *AgentsTestContractTransactor) EmitAgentsEventB(opts *bind.TransactOpts, valueA []byte, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
- func (_AgentsTestContract *AgentsTestContractTransactor) Handle(opts *bind.TransactOpts, _origin uint32, _nonce uint32, _sender [32]byte, ...) (*types.Transaction, error)
- type AgentsTestContractTransactorRaw
- type AgentsTestContractTransactorSession
- func (_AgentsTestContract *AgentsTestContractTransactorSession) EmitAgentsEventA(valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
- func (_AgentsTestContract *AgentsTestContractTransactorSession) EmitAgentsEventAandB(valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
- func (_AgentsTestContract *AgentsTestContractTransactorSession) EmitAgentsEventB(valueA []byte, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
- func (_AgentsTestContract *AgentsTestContractTransactorSession) Handle(_origin uint32, _nonce uint32, _sender [32]byte, _rootSubmittedAt *big.Int, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var AgentsTestContractABI = AgentsTestContractMetaData.ABI
AgentsTestContractABI is the input ABI used to generate the binding from. Deprecated: Use AgentsTestContractMetaData.ABI instead.
var AgentsTestContractBin = AgentsTestContractMetaData.Bin
AgentsTestContractBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AgentsTestContractMetaData.Bin instead.
var AgentsTestContractFuncSigs = AgentsTestContractMetaData.Sigs
Deprecated: Use AgentsTestContractMetaData.Sigs instead. AgentsTestContractFuncSigs maps the 4-byte function signature to its string representation.
var AgentsTestContractMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"valueA\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"valueB\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"valueC\",\"type\":\"uint256\"}],\"name\":\"AgentsEventA\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"valueA\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"valueB\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"valueC\",\"type\":\"uint256\"}],\"name\":\"AgentsEventB\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"_origin\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_sender\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_rootSubmittedAt\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"IMessageReceipientHandleEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"valueA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"valueB\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"valueC\",\"type\":\"uint256\"}],\"name\":\"emitAgentsEventA\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"valueA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"valueB\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"valueC\",\"type\":\"uint256\"}],\"name\":\"emitAgentsEventAandB\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"valueA\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"valueB\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"valueC\",\"type\":\"uint256\"}],\"name\":\"emitAgentsEventB\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_origin\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"_sender\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_rootSubmittedAt\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"handle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "9bfa08a0": "emitAgentsEventA(uint256,uint256,uint256)", "7a8f94ca": "emitAgentsEventAandB(uint256,uint256,uint256)", "9033a74b": "emitAgentsEventB(bytes,uint256,uint256)", "e4d16d62": "handle(uint32,uint32,bytes32,uint256,bytes)", }, Bin: "0x608060405234801561001057600080fd5b5061049f806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80637a8f94ca146100515780639033a74b146100665780639bfa08a014610079578063e4d16d621461008c575b600080fd5b61006461005f3660046101d9565b61009f565b005b6100646100743660046102df565b6100db565b6100646100873660046101d9565b610132565b61006461009a366004610346565b610189565b6100aa838383610132565b6100d6836040516020016100c091815260200190565b60405160208183030381529060405283836100db565b505050565b3373ffffffffffffffffffffffffffffffffffffffff167f6035db97cdd53d64e2d649d14852dd02182d8df440dc9e9ec01734debbae43ed8484846040516101259392919061041c565b60405180910390a2505050565b81833373ffffffffffffffffffffffffffffffffffffffff167f8304c3213cbf0d9583777ae3722ed0a3f56cf936c28af4984586b61735f284928460405161017c91815260200190565b60405180910390a4505050565b8363ffffffff168563ffffffff167f08add9b76c46d1f24d8316c1a0ac8d055490d07289f5ed084ef5022cd81cec818585856040516101ca93929190610441565b60405180910390a35050505050565b6000806000606084860312156101ee57600080fd5b505081359360208301359350604090920135919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261024557600080fd5b813567ffffffffffffffff8082111561026057610260610205565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156102a6576102a6610205565b816040528381528660208588010111156102bf57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156102f457600080fd5b833567ffffffffffffffff81111561030b57600080fd5b61031786828701610234565b9660208601359650604090950135949350505050565b803563ffffffff8116811461034157600080fd5b919050565b600080600080600060a0868803121561035e57600080fd5b6103678661032d565b94506103756020870161032d565b93506040860135925060608601359150608086013567ffffffffffffffff81111561039f57600080fd5b6103ab88828901610234565b9150509295509295909350565b6000815180845260005b818110156103de576020818501810151868301820152016103c2565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b60608152600061042f60608301866103b8565b60208301949094525060400152919050565b83815282602082015260606040820152600061046060608301846103b8565b9594505050505056fea2646970667358221220199bfe8f8270b5d62e94ec584ec32dda7014c8a3a08f919d8d0cdbb59b48fe0264736f6c63430008110033", }
AgentsTestContractMetaData contains all meta data concerning the AgentsTestContract contract.
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
Functions ¶
This section is empty.
Types ¶
type AgentsTestContract ¶
type AgentsTestContract struct { AgentsTestContractCaller // Read-only binding to the contract AgentsTestContractTransactor // Write-only binding to the contract AgentsTestContractFilterer // Log filterer for contract events }
AgentsTestContract is an auto generated Go binding around an Ethereum contract.
func DeployAgentsTestContract ¶
func DeployAgentsTestContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AgentsTestContract, error)
DeployAgentsTestContract deploys a new Ethereum contract, binding an instance of AgentsTestContract to it.
func NewAgentsTestContract ¶
func NewAgentsTestContract(address common.Address, backend bind.ContractBackend) (*AgentsTestContract, error)
NewAgentsTestContract creates a new instance of AgentsTestContract, bound to a specific deployed contract.
type AgentsTestContractAgentsEventA ¶
type AgentsTestContractAgentsEventA struct { Sender common.Address ValueA *big.Int ValueB *big.Int ValueC *big.Int Raw types.Log // Blockchain specific contextual infos }
AgentsTestContractAgentsEventA represents a AgentsEventA event raised by the AgentsTestContract contract.
type AgentsTestContractAgentsEventAIterator ¶
type AgentsTestContractAgentsEventAIterator struct { Event *AgentsTestContractAgentsEventA // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentsTestContractAgentsEventAIterator is returned from FilterAgentsEventA and is used to iterate over the raw logs and unpacked data for AgentsEventA events raised by the AgentsTestContract contract.
func (*AgentsTestContractAgentsEventAIterator) Close ¶
func (it *AgentsTestContractAgentsEventAIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentsTestContractAgentsEventAIterator) Error ¶
func (it *AgentsTestContractAgentsEventAIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentsTestContractAgentsEventAIterator) Next ¶
func (it *AgentsTestContractAgentsEventAIterator) 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 AgentsTestContractAgentsEventB ¶
type AgentsTestContractAgentsEventB struct { Sender common.Address ValueA []byte ValueB *big.Int ValueC *big.Int Raw types.Log // Blockchain specific contextual infos }
AgentsTestContractAgentsEventB represents a AgentsEventB event raised by the AgentsTestContract contract.
type AgentsTestContractAgentsEventBIterator ¶
type AgentsTestContractAgentsEventBIterator struct { Event *AgentsTestContractAgentsEventB // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentsTestContractAgentsEventBIterator is returned from FilterAgentsEventB and is used to iterate over the raw logs and unpacked data for AgentsEventB events raised by the AgentsTestContract contract.
func (*AgentsTestContractAgentsEventBIterator) Close ¶
func (it *AgentsTestContractAgentsEventBIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentsTestContractAgentsEventBIterator) Error ¶
func (it *AgentsTestContractAgentsEventBIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentsTestContractAgentsEventBIterator) Next ¶
func (it *AgentsTestContractAgentsEventBIterator) 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 AgentsTestContractCaller ¶
type AgentsTestContractCaller struct {
// contains filtered or unexported fields
}
AgentsTestContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAgentsTestContractCaller ¶
func NewAgentsTestContractCaller(address common.Address, caller bind.ContractCaller) (*AgentsTestContractCaller, error)
NewAgentsTestContractCaller creates a new read-only instance of AgentsTestContract, bound to a specific deployed contract.
type AgentsTestContractCallerRaw ¶
type AgentsTestContractCallerRaw struct {
Contract *AgentsTestContractCaller // Generic read-only contract binding to access the raw methods on
}
AgentsTestContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AgentsTestContractCallerRaw) Call ¶
func (_AgentsTestContract *AgentsTestContractCallerRaw) 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 AgentsTestContractCallerSession ¶
type AgentsTestContractCallerSession struct { Contract *AgentsTestContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AgentsTestContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AgentsTestContractFilterer ¶
type AgentsTestContractFilterer struct {
// contains filtered or unexported fields
}
AgentsTestContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAgentsTestContractFilterer ¶
func NewAgentsTestContractFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentsTestContractFilterer, error)
NewAgentsTestContractFilterer creates a new log filterer instance of AgentsTestContract, bound to a specific deployed contract.
func (*AgentsTestContractFilterer) FilterAgentsEventA ¶
func (_AgentsTestContract *AgentsTestContractFilterer) FilterAgentsEventA(opts *bind.FilterOpts, sender []common.Address, valueA []*big.Int, valueB []*big.Int) (*AgentsTestContractAgentsEventAIterator, error)
FilterAgentsEventA is a free log retrieval operation binding the contract event 0x8304c3213cbf0d9583777ae3722ed0a3f56cf936c28af4984586b61735f28492.
Solidity: event AgentsEventA(address indexed sender, uint256 indexed valueA, uint256 indexed valueB, uint256 valueC)
func (*AgentsTestContractFilterer) FilterAgentsEventB ¶
func (_AgentsTestContract *AgentsTestContractFilterer) FilterAgentsEventB(opts *bind.FilterOpts, sender []common.Address) (*AgentsTestContractAgentsEventBIterator, error)
FilterAgentsEventB is a free log retrieval operation binding the contract event 0x6035db97cdd53d64e2d649d14852dd02182d8df440dc9e9ec01734debbae43ed.
Solidity: event AgentsEventB(address indexed sender, bytes valueA, uint256 valueB, uint256 valueC)
func (*AgentsTestContractFilterer) FilterIMessageReceipientHandleEvent ¶
func (_AgentsTestContract *AgentsTestContractFilterer) FilterIMessageReceipientHandleEvent(opts *bind.FilterOpts, _origin []uint32, _nonce []uint32) (*AgentsTestContractIMessageReceipientHandleEventIterator, error)
FilterIMessageReceipientHandleEvent is a free log retrieval operation binding the contract event 0x08add9b76c46d1f24d8316c1a0ac8d055490d07289f5ed084ef5022cd81cec81.
Solidity: event IMessageReceipientHandleEvent(uint32 indexed _origin, uint32 indexed _nonce, bytes32 _sender, uint256 _rootSubmittedAt, bytes _message)
func (*AgentsTestContractFilterer) ParseAgentsEventA ¶
func (_AgentsTestContract *AgentsTestContractFilterer) ParseAgentsEventA(log types.Log) (*AgentsTestContractAgentsEventA, error)
ParseAgentsEventA is a log parse operation binding the contract event 0x8304c3213cbf0d9583777ae3722ed0a3f56cf936c28af4984586b61735f28492.
Solidity: event AgentsEventA(address indexed sender, uint256 indexed valueA, uint256 indexed valueB, uint256 valueC)
func (*AgentsTestContractFilterer) ParseAgentsEventB ¶
func (_AgentsTestContract *AgentsTestContractFilterer) ParseAgentsEventB(log types.Log) (*AgentsTestContractAgentsEventB, error)
ParseAgentsEventB is a log parse operation binding the contract event 0x6035db97cdd53d64e2d649d14852dd02182d8df440dc9e9ec01734debbae43ed.
Solidity: event AgentsEventB(address indexed sender, bytes valueA, uint256 valueB, uint256 valueC)
func (*AgentsTestContractFilterer) ParseIMessageReceipientHandleEvent ¶
func (_AgentsTestContract *AgentsTestContractFilterer) ParseIMessageReceipientHandleEvent(log types.Log) (*AgentsTestContractIMessageReceipientHandleEvent, error)
ParseIMessageReceipientHandleEvent is a log parse operation binding the contract event 0x08add9b76c46d1f24d8316c1a0ac8d055490d07289f5ed084ef5022cd81cec81.
Solidity: event IMessageReceipientHandleEvent(uint32 indexed _origin, uint32 indexed _nonce, bytes32 _sender, uint256 _rootSubmittedAt, bytes _message)
func (*AgentsTestContractFilterer) WatchAgentsEventA ¶
func (_AgentsTestContract *AgentsTestContractFilterer) WatchAgentsEventA(opts *bind.WatchOpts, sink chan<- *AgentsTestContractAgentsEventA, sender []common.Address, valueA []*big.Int, valueB []*big.Int) (event.Subscription, error)
WatchAgentsEventA is a free log subscription operation binding the contract event 0x8304c3213cbf0d9583777ae3722ed0a3f56cf936c28af4984586b61735f28492.
Solidity: event AgentsEventA(address indexed sender, uint256 indexed valueA, uint256 indexed valueB, uint256 valueC)
func (*AgentsTestContractFilterer) WatchAgentsEventB ¶
func (_AgentsTestContract *AgentsTestContractFilterer) WatchAgentsEventB(opts *bind.WatchOpts, sink chan<- *AgentsTestContractAgentsEventB, sender []common.Address) (event.Subscription, error)
WatchAgentsEventB is a free log subscription operation binding the contract event 0x6035db97cdd53d64e2d649d14852dd02182d8df440dc9e9ec01734debbae43ed.
Solidity: event AgentsEventB(address indexed sender, bytes valueA, uint256 valueB, uint256 valueC)
func (*AgentsTestContractFilterer) WatchIMessageReceipientHandleEvent ¶
func (_AgentsTestContract *AgentsTestContractFilterer) WatchIMessageReceipientHandleEvent(opts *bind.WatchOpts, sink chan<- *AgentsTestContractIMessageReceipientHandleEvent, _origin []uint32, _nonce []uint32) (event.Subscription, error)
WatchIMessageReceipientHandleEvent is a free log subscription operation binding the contract event 0x08add9b76c46d1f24d8316c1a0ac8d055490d07289f5ed084ef5022cd81cec81.
Solidity: event IMessageReceipientHandleEvent(uint32 indexed _origin, uint32 indexed _nonce, bytes32 _sender, uint256 _rootSubmittedAt, bytes _message)
type AgentsTestContractIMessageReceipientHandleEvent ¶
type AgentsTestContractIMessageReceipientHandleEvent struct { Origin uint32 Nonce uint32 Sender [32]byte RootSubmittedAt *big.Int Message []byte Raw types.Log // Blockchain specific contextual infos }
AgentsTestContractIMessageReceipientHandleEvent represents a IMessageReceipientHandleEvent event raised by the AgentsTestContract contract.
type AgentsTestContractIMessageReceipientHandleEventIterator ¶
type AgentsTestContractIMessageReceipientHandleEventIterator struct { Event *AgentsTestContractIMessageReceipientHandleEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentsTestContractIMessageReceipientHandleEventIterator is returned from FilterIMessageReceipientHandleEvent and is used to iterate over the raw logs and unpacked data for IMessageReceipientHandleEvent events raised by the AgentsTestContract contract.
func (*AgentsTestContractIMessageReceipientHandleEventIterator) Close ¶
func (it *AgentsTestContractIMessageReceipientHandleEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentsTestContractIMessageReceipientHandleEventIterator) Error ¶
func (it *AgentsTestContractIMessageReceipientHandleEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentsTestContractIMessageReceipientHandleEventIterator) Next ¶
func (it *AgentsTestContractIMessageReceipientHandleEventIterator) 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 AgentsTestContractRaw ¶
type AgentsTestContractRaw struct {
Contract *AgentsTestContract // Generic contract binding to access the raw methods on
}
AgentsTestContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AgentsTestContractRaw) Call ¶
func (_AgentsTestContract *AgentsTestContractRaw) 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 (*AgentsTestContractRaw) Transact ¶
func (_AgentsTestContract *AgentsTestContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentsTestContractRaw) Transfer ¶
func (_AgentsTestContract *AgentsTestContractRaw) 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 AgentsTestContractRef ¶
type AgentsTestContractRef struct { *AgentsTestContract // contains filtered or unexported fields }
AgentsTestContractRef is a bound agents test contract that returns the address of the agents test contract.
func NewAgentsTestContractRef ¶
func NewAgentsTestContractRef(address common.Address, backend bind.ContractBackend) (*AgentsTestContractRef, error)
NewAgentsTestContractRef creates an agents test contract with a contract ref.
func (AgentsTestContractRef) Address ¶
func (r AgentsTestContractRef) Address() common.Address
Address gets the address of the agents test contract.
type AgentsTestContractSession ¶
type AgentsTestContractSession struct { Contract *AgentsTestContract // 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 }
AgentsTestContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AgentsTestContractSession) EmitAgentsEventA ¶
func (_AgentsTestContract *AgentsTestContractSession) EmitAgentsEventA(valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
EmitAgentsEventA is a paid mutator transaction binding the contract method 0x9bfa08a0.
Solidity: function emitAgentsEventA(uint256 valueA, uint256 valueB, uint256 valueC) returns()
func (*AgentsTestContractSession) EmitAgentsEventAandB ¶
func (_AgentsTestContract *AgentsTestContractSession) EmitAgentsEventAandB(valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
EmitAgentsEventAandB is a paid mutator transaction binding the contract method 0x7a8f94ca.
Solidity: function emitAgentsEventAandB(uint256 valueA, uint256 valueB, uint256 valueC) returns()
func (*AgentsTestContractSession) EmitAgentsEventB ¶
func (_AgentsTestContract *AgentsTestContractSession) EmitAgentsEventB(valueA []byte, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
EmitAgentsEventB is a paid mutator transaction binding the contract method 0x9033a74b.
Solidity: function emitAgentsEventB(bytes valueA, uint256 valueB, uint256 valueC) returns()
func (*AgentsTestContractSession) Handle ¶
func (_AgentsTestContract *AgentsTestContractSession) Handle(_origin uint32, _nonce uint32, _sender [32]byte, _rootSubmittedAt *big.Int, _message []byte) (*types.Transaction, error)
Handle is a paid mutator transaction binding the contract method 0xe4d16d62.
Solidity: function handle(uint32 _origin, uint32 _nonce, bytes32 _sender, uint256 _rootSubmittedAt, bytes _message) returns()
type AgentsTestContractTransactor ¶
type AgentsTestContractTransactor struct {
// contains filtered or unexported fields
}
AgentsTestContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAgentsTestContractTransactor ¶
func NewAgentsTestContractTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentsTestContractTransactor, error)
NewAgentsTestContractTransactor creates a new write-only instance of AgentsTestContract, bound to a specific deployed contract.
func (*AgentsTestContractTransactor) EmitAgentsEventA ¶
func (_AgentsTestContract *AgentsTestContractTransactor) EmitAgentsEventA(opts *bind.TransactOpts, valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
EmitAgentsEventA is a paid mutator transaction binding the contract method 0x9bfa08a0.
Solidity: function emitAgentsEventA(uint256 valueA, uint256 valueB, uint256 valueC) returns()
func (*AgentsTestContractTransactor) EmitAgentsEventAandB ¶
func (_AgentsTestContract *AgentsTestContractTransactor) EmitAgentsEventAandB(opts *bind.TransactOpts, valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
EmitAgentsEventAandB is a paid mutator transaction binding the contract method 0x7a8f94ca.
Solidity: function emitAgentsEventAandB(uint256 valueA, uint256 valueB, uint256 valueC) returns()
func (*AgentsTestContractTransactor) EmitAgentsEventB ¶
func (_AgentsTestContract *AgentsTestContractTransactor) EmitAgentsEventB(opts *bind.TransactOpts, valueA []byte, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
EmitAgentsEventB is a paid mutator transaction binding the contract method 0x9033a74b.
Solidity: function emitAgentsEventB(bytes valueA, uint256 valueB, uint256 valueC) returns()
func (*AgentsTestContractTransactor) Handle ¶
func (_AgentsTestContract *AgentsTestContractTransactor) Handle(opts *bind.TransactOpts, _origin uint32, _nonce uint32, _sender [32]byte, _rootSubmittedAt *big.Int, _message []byte) (*types.Transaction, error)
Handle is a paid mutator transaction binding the contract method 0xe4d16d62.
Solidity: function handle(uint32 _origin, uint32 _nonce, bytes32 _sender, uint256 _rootSubmittedAt, bytes _message) returns()
type AgentsTestContractTransactorRaw ¶
type AgentsTestContractTransactorRaw struct {
Contract *AgentsTestContractTransactor // Generic write-only contract binding to access the raw methods on
}
AgentsTestContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AgentsTestContractTransactorRaw) Transact ¶
func (_AgentsTestContract *AgentsTestContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentsTestContractTransactorRaw) Transfer ¶
func (_AgentsTestContract *AgentsTestContractTransactorRaw) 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 AgentsTestContractTransactorSession ¶
type AgentsTestContractTransactorSession struct { Contract *AgentsTestContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AgentsTestContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AgentsTestContractTransactorSession) EmitAgentsEventA ¶
func (_AgentsTestContract *AgentsTestContractTransactorSession) EmitAgentsEventA(valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
EmitAgentsEventA is a paid mutator transaction binding the contract method 0x9bfa08a0.
Solidity: function emitAgentsEventA(uint256 valueA, uint256 valueB, uint256 valueC) returns()
func (*AgentsTestContractTransactorSession) EmitAgentsEventAandB ¶
func (_AgentsTestContract *AgentsTestContractTransactorSession) EmitAgentsEventAandB(valueA *big.Int, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
EmitAgentsEventAandB is a paid mutator transaction binding the contract method 0x7a8f94ca.
Solidity: function emitAgentsEventAandB(uint256 valueA, uint256 valueB, uint256 valueC) returns()
func (*AgentsTestContractTransactorSession) EmitAgentsEventB ¶
func (_AgentsTestContract *AgentsTestContractTransactorSession) EmitAgentsEventB(valueA []byte, valueB *big.Int, valueC *big.Int) (*types.Transaction, error)
EmitAgentsEventB is a paid mutator transaction binding the contract method 0x9033a74b.
Solidity: function emitAgentsEventB(bytes valueA, uint256 valueB, uint256 valueC) returns()
func (*AgentsTestContractTransactorSession) Handle ¶
func (_AgentsTestContract *AgentsTestContractTransactorSession) Handle(_origin uint32, _nonce uint32, _sender [32]byte, _rootSubmittedAt *big.Int, _message []byte) (*types.Transaction, error)
Handle is a paid mutator transaction binding the contract method 0xe4d16d62.
Solidity: function handle(uint32 _origin, uint32 _nonce, bytes32 _sender, uint256 _rootSubmittedAt, bytes _message) returns()