contract

package
v0.0.0-...-1d3cd56 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ValidatorContractInterfaceABI = "" /* 215-byte string literal not displayed */

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

Variables

View Source
var ValidatorContractInterfaceParsedABI, _ = abi.JSON(strings.NewReader(ValidatorContractInterfaceABI))

Functions

This section is empty.

Types

type ValidatorContractInterface

type ValidatorContractInterface struct {
	ValidatorContractInterfaceCaller     // Read-only binding to the contract
	ValidatorContractInterfaceTransactor // Write-only binding to the contract
	ValidatorContractInterfaceFilterer   // Log filterer for contract events
}

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

func NewValidatorContractInterface

func NewValidatorContractInterface(address common.Address, backend bind.ContractBackend) (*ValidatorContractInterface, error)

NewValidatorContractInterface creates a new instance of ValidatorContractInterface, bound to a specific deployed contract.

type ValidatorContractInterfaceCaller

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

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

func NewValidatorContractInterfaceCaller

func NewValidatorContractInterfaceCaller(address common.Address, caller bind.ContractCaller) (*ValidatorContractInterfaceCaller, error)

NewValidatorContractInterfaceCaller creates a new read-only instance of ValidatorContractInterface, bound to a specific deployed contract.

func (*ValidatorContractInterfaceCaller) GetValidators

func (_ValidatorContractInterface *ValidatorContractInterfaceCaller) GetValidators(opts *bind.CallOpts) ([]common.Address, error)

GetValidators is a free data retrieval call binding the contract method 0xb7ab4db5.

Solidity: function getValidators() view returns(address[])

type ValidatorContractInterfaceCallerRaw

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

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

func (*ValidatorContractInterfaceCallerRaw) Call

func (_ValidatorContractInterface *ValidatorContractInterfaceCallerRaw) 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 ValidatorContractInterfaceCallerSession

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

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

func (*ValidatorContractInterfaceCallerSession) GetValidators

func (_ValidatorContractInterface *ValidatorContractInterfaceCallerSession) GetValidators() ([]common.Address, error)

GetValidators is a free data retrieval call binding the contract method 0xb7ab4db5.

Solidity: function getValidators() view returns(address[])

type ValidatorContractInterfaceFilterer

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

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

func NewValidatorContractInterfaceFilterer

func NewValidatorContractInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*ValidatorContractInterfaceFilterer, error)

NewValidatorContractInterfaceFilterer creates a new log filterer instance of ValidatorContractInterface, bound to a specific deployed contract.

type ValidatorContractInterfaceRaw

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

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

func (*ValidatorContractInterfaceRaw) Call

func (_ValidatorContractInterface *ValidatorContractInterfaceRaw) 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 (*ValidatorContractInterfaceRaw) Transact

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

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

func (*ValidatorContractInterfaceRaw) Transfer

func (_ValidatorContractInterface *ValidatorContractInterfaceRaw) 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 ValidatorContractInterfaceSession

type ValidatorContractInterfaceSession struct {
	Contract     *ValidatorContractInterface // 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
}

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

func (*ValidatorContractInterfaceSession) GetValidators

func (_ValidatorContractInterface *ValidatorContractInterfaceSession) GetValidators() ([]common.Address, error)

GetValidators is a free data retrieval call binding the contract method 0xb7ab4db5.

Solidity: function getValidators() view returns(address[])

type ValidatorContractInterfaceTransactor

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

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

func NewValidatorContractInterfaceTransactor

func NewValidatorContractInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*ValidatorContractInterfaceTransactor, error)

NewValidatorContractInterfaceTransactor creates a new write-only instance of ValidatorContractInterface, bound to a specific deployed contract.

type ValidatorContractInterfaceTransactorRaw

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

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

func (*ValidatorContractInterfaceTransactorRaw) Transact

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

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

func (*ValidatorContractInterfaceTransactorRaw) Transfer

func (_ValidatorContractInterface *ValidatorContractInterfaceTransactorRaw) 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 ValidatorContractInterfaceTransactorSession

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

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

Jump to

Keyboard shortcuts

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