config

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigABI = "" /* 267-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConfigCaller     // Read-only binding to the contract
	ConfigTransactor // Write-only binding to the contract
	ConfigFilterer   // Log filterer for contract events
}

Config is an auto generated Go binding around a Solidity contract.

func NewConfig

func NewConfig(address common.Address, backend bind.ContractBackend) (*Config, error)

NewConfig creates a new instance of Config, bound to a specific deployed contract.

type ConfigCaller

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

ConfigCaller is an auto generated read-only Go binding around a Solidity contract.

func NewConfigCaller

func NewConfigCaller(address common.Address, caller bind.ContractCaller) (*ConfigCaller, error)

NewConfigCaller creates a new read-only instance of Config, bound to a specific deployed contract.

type ConfigCallerRaw

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

ConfigCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.

func (*ConfigCallerRaw) Call

func (_Config *ConfigCallerRaw) 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 ConfigCallerSession

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

ConfigCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.

type ConfigFilterer

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

ConfigFilterer is an auto generated log filtering Go binding around a Solidity contract events.

func NewConfigFilterer

func NewConfigFilterer(address common.Address, filterer bind.ContractFilterer) (*ConfigFilterer, error)

NewConfigFilterer creates a new log filterer instance of Config, bound to a specific deployed contract.

type ConfigRaw

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

ConfigRaw is an auto generated low-level Go binding around a Solidity contract.

func (*ConfigRaw) Call

func (_Config *ConfigRaw) 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 (*ConfigRaw) Transact

func (_Config *ConfigRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*ConfigRaw) Transfer

func (_Config *ConfigRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ConfigSession

type ConfigSession struct {
	Contract     *Config           // 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
}

ConfigSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.

func (*ConfigSession) SetValueByKey

func (_Config *ConfigSession) SetValueByKey(key string, value string) (*types.Transaction, *types.Receipt, error)

SetValueByKey is a paid mutator transaction binding the contract method 0xbd291aef.

Solidity: function setValueByKey(string key, string value) returns(int256)

type ConfigTransactor

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

ConfigTransactor is an auto generated write-only Go binding around a Solidity contract.

func NewConfigTransactor

func NewConfigTransactor(address common.Address, transactor bind.ContractTransactor) (*ConfigTransactor, error)

NewConfigTransactor creates a new write-only instance of Config, bound to a specific deployed contract.

func (*ConfigTransactor) SetValueByKey

func (_Config *ConfigTransactor) SetValueByKey(opts *bind.TransactOpts, key string, value string) (*types.Transaction, *types.Receipt, error)

SetValueByKey is a paid mutator transaction binding the contract method 0xbd291aef.

Solidity: function setValueByKey(string key, string value) returns(int256)

type ConfigTransactorRaw

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

ConfigTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.

func (*ConfigTransactorRaw) Transact

func (_Config *ConfigTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*ConfigTransactorRaw) Transfer

func (_Config *ConfigTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ConfigTransactorSession

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

ConfigTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.

func (*ConfigTransactorSession) SetValueByKey

func (_Config *ConfigTransactorSession) SetValueByKey(key string, value string) (*types.Transaction, *types.Receipt, error)

SetValueByKey is a paid mutator transaction binding the contract method 0xbd291aef.

Solidity: function setValueByKey(string key, string value) returns(int256)

type SystemConfigService

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

SystemConfigService is a precompile contract service.

func NewSystemConfigService

func NewSystemConfigService(client *client.Client) (*SystemConfigService, error)

NewSystemConfigService returns ptr of SystemConfigService

func (*SystemConfigService) SetValueByKey

func (s *SystemConfigService) SetValueByKey(key string, value string) (int64, error)

SetValueByKey returns nil if there is no error occurred.

Jump to

Keyboard shortcuts

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