CounterAndBlock

package
v0.6.9-RC2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CounterAndBlockABI = CounterAndBlockMetaData.ABI

CounterAndBlockABI is the input ABI used to generate the binding from. Deprecated: Use CounterAndBlockMetaData.ABI instead.

View Source
var CounterAndBlockBin = CounterAndBlockMetaData.Bin

CounterAndBlockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use CounterAndBlockMetaData.Bin instead.

View Source
var CounterAndBlockMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"count\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"increment\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5060eb8061001f6000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c806306661abd146041578063a87d942c14605c578063d09de08a146071575b600080fd5b604960005481565b6040519081526020015b60405180910390f35b60005460408051918252426020830152016053565b60776079565b005b6001600080828254608991906090565b9091555050565b6000821982111560b057634e487b7160e01b600052601160045260246000fd5b50019056fea26469706673582212205aa9aebefdfb857d27d7bdc8475c08138617cc37e78c2e6bd98acb9a1484994964736f6c634300080c0033",
}

CounterAndBlockMetaData contains all meta data concerning the CounterAndBlock contract.

Functions

This section is empty.

Types

type CounterAndBlock

type CounterAndBlock struct {
	CounterAndBlockCaller     // Read-only binding to the contract
	CounterAndBlockTransactor // Write-only binding to the contract
	CounterAndBlockFilterer   // Log filterer for contract events
}

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

func DeployCounterAndBlock

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

DeployCounterAndBlock deploys a new Ethereum contract, binding an instance of CounterAndBlock to it.

func NewCounterAndBlock

func NewCounterAndBlock(address common.Address, backend bind.ContractBackend) (*CounterAndBlock, error)

NewCounterAndBlock creates a new instance of CounterAndBlock, bound to a specific deployed contract.

type CounterAndBlockCaller

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

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

func NewCounterAndBlockCaller

func NewCounterAndBlockCaller(address common.Address, caller bind.ContractCaller) (*CounterAndBlockCaller, error)

NewCounterAndBlockCaller creates a new read-only instance of CounterAndBlock, bound to a specific deployed contract.

func (*CounterAndBlockCaller) Count

func (_CounterAndBlock *CounterAndBlockCaller) Count(opts *bind.CallOpts) (*big.Int, error)

Count is a free data retrieval call binding the contract method 0x06661abd.

Solidity: function count() view returns(uint256)

func (*CounterAndBlockCaller) GetCount

func (_CounterAndBlock *CounterAndBlockCaller) GetCount(opts *bind.CallOpts) (*big.Int, *big.Int, error)

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

Solidity: function getCount() view returns(uint256, uint256)

type CounterAndBlockCallerRaw

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

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

func (*CounterAndBlockCallerRaw) Call

func (_CounterAndBlock *CounterAndBlockCallerRaw) 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 CounterAndBlockCallerSession

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

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

func (*CounterAndBlockCallerSession) Count

func (_CounterAndBlock *CounterAndBlockCallerSession) Count() (*big.Int, error)

Count is a free data retrieval call binding the contract method 0x06661abd.

Solidity: function count() view returns(uint256)

func (*CounterAndBlockCallerSession) GetCount

func (_CounterAndBlock *CounterAndBlockCallerSession) GetCount() (*big.Int, *big.Int, error)

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

Solidity: function getCount() view returns(uint256, uint256)

type CounterAndBlockFilterer

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

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

func NewCounterAndBlockFilterer

func NewCounterAndBlockFilterer(address common.Address, filterer bind.ContractFilterer) (*CounterAndBlockFilterer, error)

NewCounterAndBlockFilterer creates a new log filterer instance of CounterAndBlock, bound to a specific deployed contract.

type CounterAndBlockRaw

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

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

func (*CounterAndBlockRaw) Call

func (_CounterAndBlock *CounterAndBlockRaw) 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 (*CounterAndBlockRaw) Transact

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

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

func (*CounterAndBlockRaw) Transfer

func (_CounterAndBlock *CounterAndBlockRaw) 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 CounterAndBlockSession

type CounterAndBlockSession struct {
	Contract     *CounterAndBlock  // 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
}

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

func (*CounterAndBlockSession) Count

func (_CounterAndBlock *CounterAndBlockSession) Count() (*big.Int, error)

Count is a free data retrieval call binding the contract method 0x06661abd.

Solidity: function count() view returns(uint256)

func (*CounterAndBlockSession) GetCount

func (_CounterAndBlock *CounterAndBlockSession) GetCount() (*big.Int, *big.Int, error)

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

Solidity: function getCount() view returns(uint256, uint256)

func (*CounterAndBlockSession) Increment

func (_CounterAndBlock *CounterAndBlockSession) Increment() (*types.Transaction, error)

Increment is a paid mutator transaction binding the contract method 0xd09de08a.

Solidity: function increment() returns()

type CounterAndBlockTransactor

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

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

func NewCounterAndBlockTransactor

func NewCounterAndBlockTransactor(address common.Address, transactor bind.ContractTransactor) (*CounterAndBlockTransactor, error)

NewCounterAndBlockTransactor creates a new write-only instance of CounterAndBlock, bound to a specific deployed contract.

func (*CounterAndBlockTransactor) Increment

func (_CounterAndBlock *CounterAndBlockTransactor) Increment(opts *bind.TransactOpts) (*types.Transaction, error)

Increment is a paid mutator transaction binding the contract method 0xd09de08a.

Solidity: function increment() returns()

type CounterAndBlockTransactorRaw

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

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

func (*CounterAndBlockTransactorRaw) Transact

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

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

func (*CounterAndBlockTransactorRaw) Transfer

func (_CounterAndBlock *CounterAndBlockTransactorRaw) 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 CounterAndBlockTransactorSession

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

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

func (*CounterAndBlockTransactorSession) Increment

func (_CounterAndBlock *CounterAndBlockTransactorSession) Increment() (*types.Transaction, error)

Increment is a paid mutator transaction binding the contract method 0xd09de08a.

Solidity: function increment() returns()

Jump to

Keyboard shortcuts

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