agentstestcontract

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 13 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
var AgentsTestContractABI = AgentsTestContractMetaData.ABI

AgentsTestContractABI is the input ABI used to generate the binding from. Deprecated: Use AgentsTestContractMetaData.ABI instead.

View Source
var AgentsTestContractBin = AgentsTestContractMetaData.Bin

AgentsTestContractBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AgentsTestContractMetaData.Bin instead.

View Source
var AgentsTestContractFuncSigs = AgentsTestContractMetaData.Sigs

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

View Source
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\":[],\"name\":\"decrementCounter\",\"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\":\"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\":[],\"name\":\"getCount\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"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\":\"_rootSubmittedAt\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"handle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"incrementCounter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"f5c5ad83": "decrementCounter()",
		"9bfa08a0": "emitAgentsEventA(uint256,uint256,uint256)",
		"7a8f94ca": "emitAgentsEventAandB(uint256,uint256,uint256)",
		"9033a74b": "emitAgentsEventB(bytes,uint256,uint256)",
		"a87d942c": "getCount()",
		"e4d16d62": "handle(uint32,uint32,bytes32,uint256,bytes)",
		"5b34b966": "incrementCounter()",
	},
	Bin: "0x60806040526000805534801561001457600080fd5b5061059e806100246000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80639bfa08a01161005b5780639bfa08a0146100b2578063a87d942c146100c5578063e4d16d62146100da578063f5c5ad83146100ed57600080fd5b80635b34b966146100825780637a8f94ca1461008c5780639033a74b1461009f575b600080fd5b61008a6100f5565b005b61008a61009a36600461025a565b61010e565b61008a6100ad366004610360565b61014a565b61008a6100c036600461025a565b6101a1565b60005460405190815260200160405180910390f35b61008a6100e83660046103c7565b6101f8565b61008a610248565b60016000808282546101079190610468565b9091555050565b6101198383836101a1565b6101458360405160200161012f91815260200190565b604051602081830303815290604052838361014a565b505050565b3373ffffffffffffffffffffffffffffffffffffffff167f6035db97cdd53d64e2d649d14852dd02182d8df440dc9e9ec01734debbae43ed848484604051610194939291906104f4565b60405180910390a2505050565b81833373ffffffffffffffffffffffffffffffffffffffff167f8304c3213cbf0d9583777ae3722ed0a3f56cf936c28af4984586b61735f28492846040516101eb91815260200190565b60405180910390a4505050565b8363ffffffff168563ffffffff167f08add9b76c46d1f24d8316c1a0ac8d055490d07289f5ed084ef5022cd81cec8185858560405161023993929190610519565b60405180910390a35050505050565b60016000808282546101079190610541565b60008060006060848603121561026f57600080fd5b505081359360208301359350604090920135919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126102c657600080fd5b813567ffffffffffffffff808211156102e1576102e1610286565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561032757610327610286565b8160405283815286602085880101111561034057600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561037557600080fd5b833567ffffffffffffffff81111561038c57600080fd5b610398868287016102b5565b9660208601359650604090950135949350505050565b803563ffffffff811681146103c257600080fd5b919050565b600080600080600060a086880312156103df57600080fd5b6103e8866103ae565b94506103f6602087016103ae565b93506040860135925060608601359150608086013567ffffffffffffffff81111561042057600080fd5b61042c888289016102b5565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201828112600083128015821682158216171561048857610488610439565b505092915050565b6000815180845260005b818110156104b65760208185018101518683018201520161049a565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b6060815260006105076060830186610490565b60208301949094525060400152919050565b8381528260208201526060604082015260006105386060830184610490565b95945050505050565b818103600083128015838313168383128216171561056157610561610439565b509291505056fea2646970667358221220e12ea28fac342a78b1a72277b7233f13f301ce96ea06b1075e229359e3a8a70564736f6c63430008110033",
}

AgentsTestContractMetaData contains all meta data concerning the AgentsTestContract contract.

View Source
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

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

func (*AgentsTestContractAgentsEventAIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentsTestContractAgentsEventAIterator) Next

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

type 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

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

func (*AgentsTestContractAgentsEventBIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentsTestContractAgentsEventBIterator) Next

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

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

func (*AgentsTestContractCaller) GetCount added in v0.0.79

func (_AgentsTestContract *AgentsTestContractCaller) GetCount(opts *bind.CallOpts) (*big.Int, error)

GetCount is a free data retrieval call binding the contract method 0xa87d942c.

Solidity: function getCount() view returns(int256)

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.

func (*AgentsTestContractCallerSession) GetCount added in v0.0.79

func (_AgentsTestContract *AgentsTestContractCallerSession) GetCount() (*big.Int, error)

GetCount is a free data retrieval call binding the contract method 0xa87d942c.

Solidity: function getCount() view returns(int256)

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

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

func (*AgentsTestContractIMessageReceipientHandleEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentsTestContractIMessageReceipientHandleEventIterator) Next

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

type 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) DecrementCounter added in v0.0.79

func (_AgentsTestContract *AgentsTestContractSession) DecrementCounter() (*types.Transaction, error)

DecrementCounter is a paid mutator transaction binding the contract method 0xf5c5ad83.

Solidity: function decrementCounter() returns()

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) GetCount added in v0.0.79

func (_AgentsTestContract *AgentsTestContractSession) GetCount() (*big.Int, error)

GetCount is a free data retrieval call binding the contract method 0xa87d942c.

Solidity: function getCount() view returns(int256)

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()

func (*AgentsTestContractSession) IncrementCounter added in v0.0.79

func (_AgentsTestContract *AgentsTestContractSession) IncrementCounter() (*types.Transaction, error)

IncrementCounter is a paid mutator transaction binding the contract method 0x5b34b966.

Solidity: function incrementCounter() 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) DecrementCounter added in v0.0.79

func (_AgentsTestContract *AgentsTestContractTransactor) DecrementCounter(opts *bind.TransactOpts) (*types.Transaction, error)

DecrementCounter is a paid mutator transaction binding the contract method 0xf5c5ad83.

Solidity: function decrementCounter() returns()

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()

func (*AgentsTestContractTransactor) IncrementCounter added in v0.0.79

func (_AgentsTestContract *AgentsTestContractTransactor) IncrementCounter(opts *bind.TransactOpts) (*types.Transaction, error)

IncrementCounter is a paid mutator transaction binding the contract method 0x5b34b966.

Solidity: function incrementCounter() 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) DecrementCounter added in v0.0.79

func (_AgentsTestContract *AgentsTestContractTransactorSession) DecrementCounter() (*types.Transaction, error)

DecrementCounter is a paid mutator transaction binding the contract method 0xf5c5ad83.

Solidity: function decrementCounter() returns()

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()

func (*AgentsTestContractTransactorSession) IncrementCounter added in v0.0.79

func (_AgentsTestContract *AgentsTestContractTransactorSession) IncrementCounter() (*types.Transaction, error)

IncrementCounter is a paid mutator transaction binding the contract method 0x5b34b966.

Solidity: function incrementCounter() returns()

Jump to

Keyboard shortcuts

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