TestContractOne

package
v1.50.9 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UniqueEventOneABI = UniqueEventOneMetaData.ABI

UniqueEventOneABI is the input ABI used to generate the binding from. Deprecated: Use UniqueEventOneMetaData.ABI instead.

View Source
var UniqueEventOneBin = UniqueEventOneMetaData.Bin

UniqueEventOneBin is the compiled bytecode used for deploying new contracts. Deprecated: Use UniqueEventOneMetaData.Bin instead.

View Source
var UniqueEventOneMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"int256\",\"name\":\"a\",\"type\":\"int256\"},{\"indexed\":true,\"internalType\":\"int256\",\"name\":\"b\",\"type\":\"int256\"}],\"name\":\"NonUniqueEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"x\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"y\",\"type\":\"int256\"}],\"name\":\"executeFirstOperation\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b506101f2806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806312a27a5e14610030575b600080fd5b61004a600480360381019061004591906100df565b610060565b604051610057919061012e565b60405180910390f35b600081837f192aedde7837c0cbfb2275e082ba2391de36cf5a893681e9dac2cced6947614e60405160405180910390a3818361009c9190610178565b905092915050565b600080fd5b6000819050919050565b6100bc816100a9565b81146100c757600080fd5b50565b6000813590506100d9816100b3565b92915050565b600080604083850312156100f6576100f56100a4565b5b6000610104858286016100ca565b9250506020610115858286016100ca565b9150509250929050565b610128816100a9565b82525050565b6000602082019050610143600083018461011f565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610183826100a9565b915061018e836100a9565b9250828201905082811215600083121683821260008412151617156101b6576101b5610149565b5b9291505056fea26469706673582212203a9131e072ba50bd7aedd7d16ac86eb26a9e83acd9a8736e900ad00a4b689ae664736f6c63430008130033",
}

UniqueEventOneMetaData contains all meta data concerning the UniqueEventOne contract.

Functions

This section is empty.

Types

type UniqueEventOne

type UniqueEventOne struct {
	UniqueEventOneCaller     // Read-only binding to the contract
	UniqueEventOneTransactor // Write-only binding to the contract
	UniqueEventOneFilterer   // Log filterer for contract events
}

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

func DeployUniqueEventOne

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

DeployUniqueEventOne deploys a new Ethereum contract, binding an instance of UniqueEventOne to it.

func NewUniqueEventOne

func NewUniqueEventOne(address common.Address, backend bind.ContractBackend) (*UniqueEventOne, error)

NewUniqueEventOne creates a new instance of UniqueEventOne, bound to a specific deployed contract.

type UniqueEventOneCaller

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

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

func NewUniqueEventOneCaller

func NewUniqueEventOneCaller(address common.Address, caller bind.ContractCaller) (*UniqueEventOneCaller, error)

NewUniqueEventOneCaller creates a new read-only instance of UniqueEventOne, bound to a specific deployed contract.

type UniqueEventOneCallerRaw

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

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

func (*UniqueEventOneCallerRaw) Call

func (_UniqueEventOne *UniqueEventOneCallerRaw) 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 UniqueEventOneCallerSession

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

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

type UniqueEventOneFilterer

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

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

func NewUniqueEventOneFilterer

func NewUniqueEventOneFilterer(address common.Address, filterer bind.ContractFilterer) (*UniqueEventOneFilterer, error)

NewUniqueEventOneFilterer creates a new log filterer instance of UniqueEventOne, bound to a specific deployed contract.

func (*UniqueEventOneFilterer) FilterNonUniqueEvent

func (_UniqueEventOne *UniqueEventOneFilterer) FilterNonUniqueEvent(opts *bind.FilterOpts, a []*big.Int, b []*big.Int) (*UniqueEventOneNonUniqueEventIterator, error)

FilterNonUniqueEvent is a free log retrieval operation binding the contract event 0x192aedde7837c0cbfb2275e082ba2391de36cf5a893681e9dac2cced6947614e.

Solidity: event NonUniqueEvent(int256 indexed a, int256 indexed b)

func (*UniqueEventOneFilterer) ParseNonUniqueEvent

func (_UniqueEventOne *UniqueEventOneFilterer) ParseNonUniqueEvent(log types.Log) (*UniqueEventOneNonUniqueEvent, error)

ParseNonUniqueEvent is a log parse operation binding the contract event 0x192aedde7837c0cbfb2275e082ba2391de36cf5a893681e9dac2cced6947614e.

Solidity: event NonUniqueEvent(int256 indexed a, int256 indexed b)

func (*UniqueEventOneFilterer) WatchNonUniqueEvent

func (_UniqueEventOne *UniqueEventOneFilterer) WatchNonUniqueEvent(opts *bind.WatchOpts, sink chan<- *UniqueEventOneNonUniqueEvent, a []*big.Int, b []*big.Int) (event.Subscription, error)

WatchNonUniqueEvent is a free log subscription operation binding the contract event 0x192aedde7837c0cbfb2275e082ba2391de36cf5a893681e9dac2cced6947614e.

Solidity: event NonUniqueEvent(int256 indexed a, int256 indexed b)

type UniqueEventOneNonUniqueEvent

type UniqueEventOneNonUniqueEvent struct {
	A   *big.Int
	B   *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

UniqueEventOneNonUniqueEvent represents a NonUniqueEvent event raised by the UniqueEventOne contract.

type UniqueEventOneNonUniqueEventIterator

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

UniqueEventOneNonUniqueEventIterator is returned from FilterNonUniqueEvent and is used to iterate over the raw logs and unpacked data for NonUniqueEvent events raised by the UniqueEventOne contract.

func (*UniqueEventOneNonUniqueEventIterator) Close

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

func (*UniqueEventOneNonUniqueEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniqueEventOneNonUniqueEventIterator) 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 UniqueEventOneRaw

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

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

func (*UniqueEventOneRaw) Call

func (_UniqueEventOne *UniqueEventOneRaw) 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 (*UniqueEventOneRaw) Transact

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

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

func (*UniqueEventOneRaw) Transfer

func (_UniqueEventOne *UniqueEventOneRaw) 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 UniqueEventOneSession

type UniqueEventOneSession struct {
	Contract     *UniqueEventOne   // 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
}

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

func (*UniqueEventOneSession) ExecuteFirstOperation

func (_UniqueEventOne *UniqueEventOneSession) ExecuteFirstOperation(x *big.Int, y *big.Int) (*types.Transaction, error)

ExecuteFirstOperation is a paid mutator transaction binding the contract method 0x12a27a5e.

Solidity: function executeFirstOperation(int256 x, int256 y) returns(int256)

type UniqueEventOneTransactor

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

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

func NewUniqueEventOneTransactor

func NewUniqueEventOneTransactor(address common.Address, transactor bind.ContractTransactor) (*UniqueEventOneTransactor, error)

NewUniqueEventOneTransactor creates a new write-only instance of UniqueEventOne, bound to a specific deployed contract.

func (*UniqueEventOneTransactor) ExecuteFirstOperation

func (_UniqueEventOne *UniqueEventOneTransactor) ExecuteFirstOperation(opts *bind.TransactOpts, x *big.Int, y *big.Int) (*types.Transaction, error)

ExecuteFirstOperation is a paid mutator transaction binding the contract method 0x12a27a5e.

Solidity: function executeFirstOperation(int256 x, int256 y) returns(int256)

type UniqueEventOneTransactorRaw

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

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

func (*UniqueEventOneTransactorRaw) Transact

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

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

func (*UniqueEventOneTransactorRaw) Transfer

func (_UniqueEventOne *UniqueEventOneTransactorRaw) 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 UniqueEventOneTransactorSession

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

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

func (*UniqueEventOneTransactorSession) ExecuteFirstOperation

func (_UniqueEventOne *UniqueEventOneTransactorSession) ExecuteFirstOperation(x *big.Int, y *big.Int) (*types.Transaction, error)

ExecuteFirstOperation is a paid mutator transaction binding the contract method 0x12a27a5e.

Solidity: function executeFirstOperation(int256 x, int256 y) returns(int256)

Jump to

Keyboard shortcuts

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