GasConsumerBalance

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GasConsumerBalanceABI = GasConsumerBalanceMetaData.ABI

GasConsumerBalanceABI is the input ABI used to generate the binding from. Deprecated: Use GasConsumerBalanceMetaData.ABI instead.

View Source
var GasConsumerBalanceBin = GasConsumerBalanceMetaData.Bin

GasConsumerBalanceBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GasConsumerBalanceMetaData.Bin instead.

View Source
var GasConsumerBalanceMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"destroy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"get_balance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50600080546001600160a01b03191633179055610157806100326000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806383197ef0146100465780638da5cb5b14610050578063c1cfb99a1461004e575b600080fd5b61004e610099565b005b6000546100709073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60005473ffffffffffffffffffffffffffffffffffffffff16331461011e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f596f7520617265206e6f7420746865206f776e65720000000000000000000000604482015260640160405180910390fd5b30fffea26469706673582212205d989c8df853591d61707dd349944634844c4a7cbbae383852bd046ba70f7ab464736f6c63430008140033",
}

GasConsumerBalanceMetaData contains all meta data concerning the GasConsumerBalance contract.

Functions

This section is empty.

Types

type GasConsumerBalance

type GasConsumerBalance struct {
	GasConsumerBalanceCaller     // Read-only binding to the contract
	GasConsumerBalanceTransactor // Write-only binding to the contract
	GasConsumerBalanceFilterer   // Log filterer for contract events
}

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

func DeployGasConsumerBalance

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

DeployGasConsumerBalance deploys a new Ethereum contract, binding an instance of GasConsumerBalance to it.

func NewGasConsumerBalance

func NewGasConsumerBalance(address common.Address, backend bind.ContractBackend) (*GasConsumerBalance, error)

NewGasConsumerBalance creates a new instance of GasConsumerBalance, bound to a specific deployed contract.

type GasConsumerBalanceCaller

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

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

func NewGasConsumerBalanceCaller

func NewGasConsumerBalanceCaller(address common.Address, caller bind.ContractCaller) (*GasConsumerBalanceCaller, error)

NewGasConsumerBalanceCaller creates a new read-only instance of GasConsumerBalance, bound to a specific deployed contract.

func (*GasConsumerBalanceCaller) Owner

func (_GasConsumerBalance *GasConsumerBalanceCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type GasConsumerBalanceCallerRaw

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

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

func (*GasConsumerBalanceCallerRaw) Call

func (_GasConsumerBalance *GasConsumerBalanceCallerRaw) 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 GasConsumerBalanceCallerSession

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

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

func (*GasConsumerBalanceCallerSession) Owner

func (_GasConsumerBalance *GasConsumerBalanceCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type GasConsumerBalanceFilterer

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

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

func NewGasConsumerBalanceFilterer

func NewGasConsumerBalanceFilterer(address common.Address, filterer bind.ContractFilterer) (*GasConsumerBalanceFilterer, error)

NewGasConsumerBalanceFilterer creates a new log filterer instance of GasConsumerBalance, bound to a specific deployed contract.

type GasConsumerBalanceRaw

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

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

func (*GasConsumerBalanceRaw) Call

func (_GasConsumerBalance *GasConsumerBalanceRaw) 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 (*GasConsumerBalanceRaw) Transact

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

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

func (*GasConsumerBalanceRaw) Transfer

func (_GasConsumerBalance *GasConsumerBalanceRaw) 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 GasConsumerBalanceSession

type GasConsumerBalanceSession struct {
	Contract     *GasConsumerBalance // 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
}

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

func (*GasConsumerBalanceSession) Destroy

func (_GasConsumerBalance *GasConsumerBalanceSession) Destroy() (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x83197ef0.

Solidity: function destroy() returns()

func (*GasConsumerBalanceSession) GetBalance

func (_GasConsumerBalance *GasConsumerBalanceSession) GetBalance() (*types.Transaction, error)

GetBalance is a paid mutator transaction binding the contract method 0xc1cfb99a.

Solidity: function get_balance() returns()

func (*GasConsumerBalanceSession) Owner

func (_GasConsumerBalance *GasConsumerBalanceSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type GasConsumerBalanceTransactor

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

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

func NewGasConsumerBalanceTransactor

func NewGasConsumerBalanceTransactor(address common.Address, transactor bind.ContractTransactor) (*GasConsumerBalanceTransactor, error)

NewGasConsumerBalanceTransactor creates a new write-only instance of GasConsumerBalance, bound to a specific deployed contract.

func (*GasConsumerBalanceTransactor) Destroy

func (_GasConsumerBalance *GasConsumerBalanceTransactor) Destroy(opts *bind.TransactOpts) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x83197ef0.

Solidity: function destroy() returns()

func (*GasConsumerBalanceTransactor) GetBalance

func (_GasConsumerBalance *GasConsumerBalanceTransactor) GetBalance(opts *bind.TransactOpts) (*types.Transaction, error)

GetBalance is a paid mutator transaction binding the contract method 0xc1cfb99a.

Solidity: function get_balance() returns()

type GasConsumerBalanceTransactorRaw

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

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

func (*GasConsumerBalanceTransactorRaw) Transact

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

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

func (*GasConsumerBalanceTransactorRaw) Transfer

func (_GasConsumerBalance *GasConsumerBalanceTransactorRaw) 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 GasConsumerBalanceTransactorSession

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

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

func (*GasConsumerBalanceTransactorSession) Destroy

func (_GasConsumerBalance *GasConsumerBalanceTransactorSession) Destroy() (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x83197ef0.

Solidity: function destroy() returns()

func (*GasConsumerBalanceTransactorSession) GetBalance

func (_GasConsumerBalance *GasConsumerBalanceTransactorSession) GetBalance() (*types.Transaction, error)

GetBalance is a paid mutator transaction binding the contract method 0xc1cfb99a.

Solidity: function get_balance() returns()

Jump to

Keyboard shortcuts

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