Documentation ¶
Index ¶
- Variables
- type Namespace
- type NamespaceCaller
- type NamespaceCallerRaw
- type NamespaceCallerSession
- type NamespaceFilterer
- type NamespaceRaw
- func (_Namespace *NamespaceRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Namespace *NamespaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Namespace *NamespaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NamespaceSession
- type NamespaceTransactor
- type NamespaceTransactorRaw
- type NamespaceTransactorSession
Constants ¶
This section is empty.
Variables ¶
var NamespaceABI = NamespaceMetaData.ABI
NamespaceABI is the input ABI used to generate the binding from. Deprecated: Use NamespaceMetaData.ABI instead.
var NamespaceMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"addressForNamespace\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"gRPCAddress\",\"type\":\"string\"}],\"name\":\"register\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
NamespaceMetaData contains all meta data concerning the Namespace contract.
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct { NamespaceCaller // Read-only binding to the contract NamespaceTransactor // Write-only binding to the contract NamespaceFilterer // Log filterer for contract events }
Namespace is an auto generated Go binding around an Ethereum contract.
func NewNamespace ¶
NewNamespace creates a new instance of Namespace, bound to a specific deployed contract.
type NamespaceCaller ¶
type NamespaceCaller struct {
// contains filtered or unexported fields
}
NamespaceCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNamespaceCaller ¶
func NewNamespaceCaller(address common.Address, caller bind.ContractCaller) (*NamespaceCaller, error)
NewNamespaceCaller creates a new read-only instance of Namespace, bound to a specific deployed contract.
func (*NamespaceCaller) AddressForNamespace ¶
func (_Namespace *NamespaceCaller) AddressForNamespace(opts *bind.CallOpts, namespace string) (string, error)
AddressForNamespace is a free data retrieval call binding the contract method 0x0fdf8ad9.
Solidity: function addressForNamespace(string namespace) view returns(string)
type NamespaceCallerRaw ¶
type NamespaceCallerRaw struct {
Contract *NamespaceCaller // Generic read-only contract binding to access the raw methods on
}
NamespaceCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NamespaceCallerRaw) Call ¶
func (_Namespace *NamespaceCallerRaw) 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 NamespaceCallerSession ¶
type NamespaceCallerSession struct { Contract *NamespaceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NamespaceCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NamespaceCallerSession) AddressForNamespace ¶
func (_Namespace *NamespaceCallerSession) AddressForNamespace(namespace string) (string, error)
AddressForNamespace is a free data retrieval call binding the contract method 0x0fdf8ad9.
Solidity: function addressForNamespace(string namespace) view returns(string)
type NamespaceFilterer ¶
type NamespaceFilterer struct {
// contains filtered or unexported fields
}
NamespaceFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNamespaceFilterer ¶
func NewNamespaceFilterer(address common.Address, filterer bind.ContractFilterer) (*NamespaceFilterer, error)
NewNamespaceFilterer creates a new log filterer instance of Namespace, bound to a specific deployed contract.
type NamespaceRaw ¶
type NamespaceRaw struct {
Contract *Namespace // Generic contract binding to access the raw methods on
}
NamespaceRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NamespaceRaw) Call ¶
func (_Namespace *NamespaceRaw) 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 (*NamespaceRaw) Transact ¶
func (_Namespace *NamespaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NamespaceRaw) Transfer ¶
func (_Namespace *NamespaceRaw) 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 NamespaceSession ¶
type NamespaceSession struct { Contract *Namespace // 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 }
NamespaceSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NamespaceSession) AddressForNamespace ¶
func (_Namespace *NamespaceSession) AddressForNamespace(namespace string) (string, error)
AddressForNamespace is a free data retrieval call binding the contract method 0x0fdf8ad9.
Solidity: function addressForNamespace(string namespace) view returns(string)
func (*NamespaceSession) Register ¶
func (_Namespace *NamespaceSession) Register(namespace string, gRPCAddress string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x3ffbd47f.
Solidity: function register(string namespace, string gRPCAddress) returns(bool)
type NamespaceTransactor ¶
type NamespaceTransactor struct {
// contains filtered or unexported fields
}
NamespaceTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNamespaceTransactor ¶
func NewNamespaceTransactor(address common.Address, transactor bind.ContractTransactor) (*NamespaceTransactor, error)
NewNamespaceTransactor creates a new write-only instance of Namespace, bound to a specific deployed contract.
func (*NamespaceTransactor) Register ¶
func (_Namespace *NamespaceTransactor) Register(opts *bind.TransactOpts, namespace string, gRPCAddress string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x3ffbd47f.
Solidity: function register(string namespace, string gRPCAddress) returns(bool)
type NamespaceTransactorRaw ¶
type NamespaceTransactorRaw struct {
Contract *NamespaceTransactor // Generic write-only contract binding to access the raw methods on
}
NamespaceTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NamespaceTransactorRaw) Transact ¶
func (_Namespace *NamespaceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NamespaceTransactorRaw) Transfer ¶
func (_Namespace *NamespaceTransactorRaw) 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 NamespaceTransactorSession ¶
type NamespaceTransactorSession struct { Contract *NamespaceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NamespaceTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NamespaceTransactorSession) Register ¶
func (_Namespace *NamespaceTransactorSession) Register(namespace string, gRPCAddress string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x3ffbd47f.
Solidity: function register(string namespace, string gRPCAddress) returns(bool)