contracts

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractsABI = "" /* 992-byte string literal not displayed */

ContractsABI is the input ABI used to generate the binding from.

Variables

View Source
var ContractsBin = "" /* 1762-byte string literal not displayed */

ContractsBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Contracts

type Contracts struct {
	ContractsCaller     // Read-only binding to the contract
	ContractsTransactor // Write-only binding to the contract
	ContractsFilterer   // Log filterer for contract events
}

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

func DeployContracts

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

DeployContracts deploys a new Ethereum contract, binding an instance of Contracts to it.

func NewContracts

func NewContracts(address common.Address, backend bind.ContractBackend) (*Contracts, error)

NewContracts creates a new instance of Contracts, bound to a specific deployed contract.

type ContractsCaller

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

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

func NewContractsCaller

func NewContractsCaller(address common.Address, caller bind.ContractCaller) (*ContractsCaller, error)

NewContractsCaller creates a new read-only instance of Contracts, bound to a specific deployed contract.

func (*ContractsCaller) Counter

func (_Contracts *ContractsCaller) Counter(opts *bind.CallOpts) (*big.Int, error)

Counter is a free data retrieval call binding the contract method 0x61bc221a.

Solidity: function counter() view returns(uint256)

type ContractsCallerRaw

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

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

func (*ContractsCallerRaw) Call

func (_Contracts *ContractsCallerRaw) 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 ContractsCallerSession

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

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

func (*ContractsCallerSession) Counter

func (_Contracts *ContractsCallerSession) Counter() (*big.Int, error)

Counter is a free data retrieval call binding the contract method 0x61bc221a.

Solidity: function counter() view returns(uint256)

type ContractsCounterUpdated

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

ContractsCounterUpdated represents a CounterUpdated event raised by the Contracts contract.

type ContractsCounterUpdatedIterator

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

ContractsCounterUpdatedIterator is returned from FilterCounterUpdated and is used to iterate over the raw logs and unpacked data for CounterUpdated events raised by the Contracts contract.

func (*ContractsCounterUpdatedIterator) Close

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

func (*ContractsCounterUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsCounterUpdatedIterator) 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 ContractsFilterer

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

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

func NewContractsFilterer

func NewContractsFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractsFilterer, error)

NewContractsFilterer creates a new log filterer instance of Contracts, bound to a specific deployed contract.

func (*ContractsFilterer) FilterCounterUpdated

func (_Contracts *ContractsFilterer) FilterCounterUpdated(opts *bind.FilterOpts) (*ContractsCounterUpdatedIterator, error)

FilterCounterUpdated is a free log retrieval operation binding the contract event 0x4785d80d2593e2cb7a3331d31eb5106408bdde2aab0db9e9b616b036a1b6039d.

Solidity: event CounterUpdated(uint256 counter)

func (*ContractsFilterer) FilterFuncEvent1

func (_Contracts *ContractsFilterer) FilterFuncEvent1(opts *bind.FilterOpts) (*ContractsFuncEvent1Iterator, error)

FilterFuncEvent1 is a free log retrieval operation binding the contract event 0xee7ebd5ac9177b3cfe282c440d0220335dc60bc4472338132f06af7b4b9432fc.

Solidity: event FuncEvent1(string arg1, uint256 arg2, bytes arg3)

func (*ContractsFilterer) ParseCounterUpdated

func (_Contracts *ContractsFilterer) ParseCounterUpdated(log types.Log) (*ContractsCounterUpdated, error)

ParseCounterUpdated is a log parse operation binding the contract event 0x4785d80d2593e2cb7a3331d31eb5106408bdde2aab0db9e9b616b036a1b6039d.

Solidity: event CounterUpdated(uint256 counter)

func (*ContractsFilterer) ParseFuncEvent1

func (_Contracts *ContractsFilterer) ParseFuncEvent1(log types.Log) (*ContractsFuncEvent1, error)

ParseFuncEvent1 is a log parse operation binding the contract event 0xee7ebd5ac9177b3cfe282c440d0220335dc60bc4472338132f06af7b4b9432fc.

Solidity: event FuncEvent1(string arg1, uint256 arg2, bytes arg3)

func (*ContractsFilterer) WatchCounterUpdated

func (_Contracts *ContractsFilterer) WatchCounterUpdated(opts *bind.WatchOpts, sink chan<- *ContractsCounterUpdated) (event.Subscription, error)

WatchCounterUpdated is a free log subscription operation binding the contract event 0x4785d80d2593e2cb7a3331d31eb5106408bdde2aab0db9e9b616b036a1b6039d.

Solidity: event CounterUpdated(uint256 counter)

func (*ContractsFilterer) WatchFuncEvent1

func (_Contracts *ContractsFilterer) WatchFuncEvent1(opts *bind.WatchOpts, sink chan<- *ContractsFuncEvent1) (event.Subscription, error)

WatchFuncEvent1 is a free log subscription operation binding the contract event 0xee7ebd5ac9177b3cfe282c440d0220335dc60bc4472338132f06af7b4b9432fc.

Solidity: event FuncEvent1(string arg1, uint256 arg2, bytes arg3)

type ContractsFuncEvent1

type ContractsFuncEvent1 struct {
	Arg1 string
	Arg2 *big.Int
	Arg3 []byte
	Raw  types.Log // Blockchain specific contextual infos
}

ContractsFuncEvent1 represents a FuncEvent1 event raised by the Contracts contract.

type ContractsFuncEvent1Iterator

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

ContractsFuncEvent1Iterator is returned from FilterFuncEvent1 and is used to iterate over the raw logs and unpacked data for FuncEvent1 events raised by the Contracts contract.

func (*ContractsFuncEvent1Iterator) Close

func (it *ContractsFuncEvent1Iterator) Close() error

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

func (*ContractsFuncEvent1Iterator) Error

func (it *ContractsFuncEvent1Iterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsFuncEvent1Iterator) Next

func (it *ContractsFuncEvent1Iterator) 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 ContractsRaw

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

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

func (*ContractsRaw) Call

func (_Contracts *ContractsRaw) 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 (*ContractsRaw) Transact

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

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

func (*ContractsRaw) Transfer

func (_Contracts *ContractsRaw) 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 ContractsSession

type ContractsSession struct {
	Contract     *Contracts        // 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
}

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

func (*ContractsSession) Counter

func (_Contracts *ContractsSession) Counter() (*big.Int, error)

Counter is a free data retrieval call binding the contract method 0x61bc221a.

Solidity: function counter() view returns(uint256)

func (*ContractsSession) TestFunc1

func (_Contracts *ContractsSession) TestFunc1(arg1 string, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

TestFunc1 is a paid mutator transaction binding the contract method 0x88655d98.

Solidity: function testFunc1(string arg1, uint256 arg2, bytes arg3) returns()

type ContractsTransactor

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

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

func NewContractsTransactor

func NewContractsTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractsTransactor, error)

NewContractsTransactor creates a new write-only instance of Contracts, bound to a specific deployed contract.

func (*ContractsTransactor) TestFunc1

func (_Contracts *ContractsTransactor) TestFunc1(opts *bind.TransactOpts, arg1 string, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

TestFunc1 is a paid mutator transaction binding the contract method 0x88655d98.

Solidity: function testFunc1(string arg1, uint256 arg2, bytes arg3) returns()

type ContractsTransactorRaw

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

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

func (*ContractsTransactorRaw) Transact

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

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

func (*ContractsTransactorRaw) Transfer

func (_Contracts *ContractsTransactorRaw) 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 ContractsTransactorSession

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

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

func (*ContractsTransactorSession) TestFunc1

func (_Contracts *ContractsTransactorSession) TestFunc1(arg1 string, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

TestFunc1 is a paid mutator transaction binding the contract method 0x88655d98.

Solidity: function testFunc1(string arg1, uint256 arg2, bytes arg3) returns()

Jump to

Keyboard shortcuts

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