Documentation ¶
Index ¶
- Constants
- Variables
- type Config
- type ConfigCaller
- type ConfigCallerRaw
- type ConfigCallerSession
- type ConfigFilterer
- type ConfigRaw
- func (_Config *ConfigRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Config *ConfigRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_Config *ConfigRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type ConfigSession
- func (_Config *ConfigSession) AsyncSetValueByKey(handler func(*types.Receipt, error), key string, value string) (*types.Transaction, error)
- func (_Config *ConfigSession) GetValueByKey(key string) (string, *big.Int, error)
- func (_Config *ConfigSession) SetValueByKey(key string, value string) (int32, *types.Transaction, *types.Receipt, error)
- type ConfigTransactor
- func (_Config *ConfigTransactor) AsyncSetValueByKey(handler func(*types.Receipt, error), opts *bind.TransactOpts, key string, ...) (*types.Transaction, error)
- func (_Config *ConfigTransactor) SetValueByKey(opts *bind.TransactOpts, key string, value string) (int32, *types.Transaction, *types.Receipt, error)
- type ConfigTransactorRaw
- type ConfigTransactorSession
- type SystemConfigService
Constants ¶
const ConfigABI = "" /* 614-byte string literal not displayed */
ConfigABI is the input ABI used to generate the binding from.
Variables ¶
var ConfigBin = "" /* 2126-byte string literal not displayed */
ConfigBin is the compiled bytecode used for deploying new contracts.
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.
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.
func (*ConfigCaller) GetValueByKey ¶
func (_Config *ConfigCaller) GetValueByKey(opts *bind.CallOpts, key string) (string, *big.Int, error)
GetValueByKey is a free data retrieval call binding the contract method 0x1258a93a.
Solidity: function getValueByKey(string key) constant returns(string, int256)
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.
func (*ConfigCallerSession) GetValueByKey ¶
GetValueByKey is a free data retrieval call binding the contract method 0x1258a93a.
Solidity: function getValueByKey(string key) constant returns(string, int256)
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) TransactWithResult ¶
func (_Config *ConfigRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, 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) AsyncSetValueByKey ¶
func (_Config *ConfigSession) AsyncSetValueByKey(handler func(*types.Receipt, error), key string, value string) (*types.Transaction, error)
func (*ConfigSession) GetValueByKey ¶
GetValueByKey is a free data retrieval call binding the contract method 0x1258a93a.
Solidity: function getValueByKey(string key) constant returns(string, int256)
func (*ConfigSession) SetValueByKey ¶
func (_Config *ConfigSession) SetValueByKey(key string, value string) (int32, *types.Transaction, *types.Receipt, error)
SetValueByKey is a paid mutator transaction binding the contract method 0xbd291aef.
Solidity: function setValueByKey(string key, string value) returns(int32)
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) AsyncSetValueByKey ¶
func (_Config *ConfigTransactor) AsyncSetValueByKey(handler func(*types.Receipt, error), opts *bind.TransactOpts, key string, value string) (*types.Transaction, error)
func (*ConfigTransactor) SetValueByKey ¶
func (_Config *ConfigTransactor) SetValueByKey(opts *bind.TransactOpts, key string, value string) (int32, *types.Transaction, *types.Receipt, error)
SetValueByKey is a paid mutator transaction binding the contract method 0xbd291aef.
Solidity: function setValueByKey(string key, string value) returns(int32)
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) TransactWithResult ¶
func (_Config *ConfigTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, 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) AsyncSetValueByKey ¶
func (_Config *ConfigTransactorSession) AsyncSetValueByKey(handler func(*types.Receipt, error), key string, value string) (*types.Transaction, error)
func (*ConfigTransactorSession) SetValueByKey ¶
func (_Config *ConfigTransactorSession) SetValueByKey(key string, value string) (int32, *types.Transaction, *types.Receipt, error)
SetValueByKey is a paid mutator transaction binding the contract method 0xbd291aef.
Solidity: function setValueByKey(string key, string value) returns(int32)
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) GetValueByKey ¶
func (s *SystemConfigService) GetValueByKey(key string) (string, int64, error)
func (*SystemConfigService) SetValueByKey ¶
func (s *SystemConfigService) SetValueByKey(key string, value string) (int64, error)
SetValueByKey returns nil if there is no error occurred.