Documentation
¶
Index ¶
- Variables
- type GlobalCounter
- type GlobalCounterCaller
- type GlobalCounterCallerRaw
- type GlobalCounterCallerSession
- type GlobalCounterFilterer
- type GlobalCounterRaw
- func (_GlobalCounter *GlobalCounterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GlobalCounter *GlobalCounterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GlobalCounter *GlobalCounterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GlobalCounterSession
- type GlobalCounterTransactor
- type GlobalCounterTransactorRaw
- type GlobalCounterTransactorSession
Constants ¶
This section is empty.
Variables ¶
var GlobalCounterABI = GlobalCounterMetaData.ABI
GlobalCounterABI is the input ABI used to generate the binding from. Deprecated: Use GlobalCounterMetaData.ABI instead.
var GlobalCounterBin = GlobalCounterMetaData.Bin
GlobalCounterBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GlobalCounterMetaData.Bin instead.
var GlobalCounterMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"currentCount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"increment\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"}]",
Bin: "0x608060405234801561001057600080fd5b506000805560cc806100236000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c8063c732d201146037578063d09de08a146051575b600080fd5b603f60005481565b60405190815260200160405180910390f35b60576059565b005b6001600080828254606991906070565b9091555050565b80820180821115609057634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220dcb66b3ab7c6b03ef3de6b73ba07c12208d29b28aed9ff419717bf1a4fab160f64736f6c63430008170033",
}
GlobalCounterMetaData contains all meta data concerning the GlobalCounter contract.
Functions ¶
This section is empty.
Types ¶
type GlobalCounter ¶
type GlobalCounter struct { GlobalCounterCaller // Read-only binding to the contract GlobalCounterTransactor // Write-only binding to the contract GlobalCounterFilterer // Log filterer for contract events }
GlobalCounter is an auto generated Go binding around an Ethereum contract.
func DeployGlobalCounter ¶
func DeployGlobalCounter(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *GlobalCounter, error)
DeployGlobalCounter deploys a new Ethereum contract, binding an instance of GlobalCounter to it.
func NewGlobalCounter ¶
func NewGlobalCounter(address common.Address, backend bind.ContractBackend) (*GlobalCounter, error)
NewGlobalCounter creates a new instance of GlobalCounter, bound to a specific deployed contract.
type GlobalCounterCaller ¶
type GlobalCounterCaller struct {
// contains filtered or unexported fields
}
GlobalCounterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGlobalCounterCaller ¶
func NewGlobalCounterCaller(address common.Address, caller bind.ContractCaller) (*GlobalCounterCaller, error)
NewGlobalCounterCaller creates a new read-only instance of GlobalCounter, bound to a specific deployed contract.
func (*GlobalCounterCaller) CurrentCount ¶
CurrentCount is a free data retrieval call binding the contract method 0xc732d201.
Solidity: function currentCount() view returns(uint256)
type GlobalCounterCallerRaw ¶
type GlobalCounterCallerRaw struct {
Contract *GlobalCounterCaller // Generic read-only contract binding to access the raw methods on
}
GlobalCounterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GlobalCounterCallerRaw) Call ¶
func (_GlobalCounter *GlobalCounterCallerRaw) 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 GlobalCounterCallerSession ¶
type GlobalCounterCallerSession struct { Contract *GlobalCounterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GlobalCounterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GlobalCounterCallerSession) CurrentCount ¶
func (_GlobalCounter *GlobalCounterCallerSession) CurrentCount() (*big.Int, error)
CurrentCount is a free data retrieval call binding the contract method 0xc732d201.
Solidity: function currentCount() view returns(uint256)
type GlobalCounterFilterer ¶
type GlobalCounterFilterer struct {
// contains filtered or unexported fields
}
GlobalCounterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGlobalCounterFilterer ¶
func NewGlobalCounterFilterer(address common.Address, filterer bind.ContractFilterer) (*GlobalCounterFilterer, error)
NewGlobalCounterFilterer creates a new log filterer instance of GlobalCounter, bound to a specific deployed contract.
type GlobalCounterRaw ¶
type GlobalCounterRaw struct {
Contract *GlobalCounter // Generic contract binding to access the raw methods on
}
GlobalCounterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GlobalCounterRaw) Call ¶
func (_GlobalCounter *GlobalCounterRaw) 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 (*GlobalCounterRaw) Transact ¶
func (_GlobalCounter *GlobalCounterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GlobalCounterRaw) Transfer ¶
func (_GlobalCounter *GlobalCounterRaw) 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 GlobalCounterSession ¶
type GlobalCounterSession struct { Contract *GlobalCounter // 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 }
GlobalCounterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GlobalCounterSession) CurrentCount ¶
func (_GlobalCounter *GlobalCounterSession) CurrentCount() (*big.Int, error)
CurrentCount is a free data retrieval call binding the contract method 0xc732d201.
Solidity: function currentCount() view returns(uint256)
func (*GlobalCounterSession) Increment ¶
func (_GlobalCounter *GlobalCounterSession) Increment() (*types.Transaction, error)
Increment is a paid mutator transaction binding the contract method 0xd09de08a.
Solidity: function increment() returns()
type GlobalCounterTransactor ¶
type GlobalCounterTransactor struct {
// contains filtered or unexported fields
}
GlobalCounterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGlobalCounterTransactor ¶
func NewGlobalCounterTransactor(address common.Address, transactor bind.ContractTransactor) (*GlobalCounterTransactor, error)
NewGlobalCounterTransactor creates a new write-only instance of GlobalCounter, bound to a specific deployed contract.
func (*GlobalCounterTransactor) Increment ¶
func (_GlobalCounter *GlobalCounterTransactor) Increment(opts *bind.TransactOpts) (*types.Transaction, error)
Increment is a paid mutator transaction binding the contract method 0xd09de08a.
Solidity: function increment() returns()
type GlobalCounterTransactorRaw ¶
type GlobalCounterTransactorRaw struct {
Contract *GlobalCounterTransactor // Generic write-only contract binding to access the raw methods on
}
GlobalCounterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GlobalCounterTransactorRaw) Transact ¶
func (_GlobalCounter *GlobalCounterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GlobalCounterTransactorRaw) Transfer ¶
func (_GlobalCounter *GlobalCounterTransactorRaw) 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 GlobalCounterTransactorSession ¶
type GlobalCounterTransactorSession struct { Contract *GlobalCounterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GlobalCounterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GlobalCounterTransactorSession) Increment ¶
func (_GlobalCounter *GlobalCounterTransactorSession) Increment() (*types.Transaction, error)
Increment is a paid mutator transaction binding the contract method 0xd09de08a.
Solidity: function increment() returns()