Documentation ¶
Index ¶
- Variables
- type Provider
- type ProviderRegistry
- type ProviderRegistryCaller
- func (_ProviderRegistry *ProviderRegistryCaller) ProviderGetAll(opts *bind.CallOpts) ([]common.Address, []Provider, error)
- func (_ProviderRegistry *ProviderRegistryCaller) ProviderGetByIndex(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_ProviderRegistry *ProviderRegistryCaller) ProviderGetCount(opts *bind.CallOpts) (*big.Int, error)
- func (_ProviderRegistry *ProviderRegistryCaller) ProviderGetIds(opts *bind.CallOpts) ([]common.Address, error)
- func (_ProviderRegistry *ProviderRegistryCaller) ProviderMap(opts *bind.CallOpts, addr common.Address) (Provider, error)
- func (_ProviderRegistry *ProviderRegistryCaller) ProviderMinStake(opts *bind.CallOpts) (*big.Int, error)
- func (_ProviderRegistry *ProviderRegistryCaller) Providers(opts *bind.CallOpts, index *big.Int) (common.Address, error)
- func (_ProviderRegistry *ProviderRegistryCaller) ProvidrerExists(opts *bind.CallOpts, addr common.Address) (bool, error)
- type ProviderRegistryCallerRaw
- type ProviderRegistryCallerSession
- func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderGetAll() ([]common.Address, []Provider, error)
- func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderGetByIndex(index *big.Int) (struct{ ... }, error)
- func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderGetCount() (*big.Int, error)
- func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderGetIds() ([]common.Address, error)
- func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderMap(addr common.Address) (Provider, error)
- func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderMinStake() (*big.Int, error)
- func (_ProviderRegistry *ProviderRegistryCallerSession) Providers(index *big.Int) (common.Address, error)
- func (_ProviderRegistry *ProviderRegistryCallerSession) ProvidrerExists(addr common.Address) (bool, error)
- type ProviderRegistryFilterer
- func (_ProviderRegistry *ProviderRegistryFilterer) FilterProviderDeregistered(opts *bind.FilterOpts, provider []common.Address) (*ProviderRegistryProviderDeregisteredIterator, error)
- func (_ProviderRegistry *ProviderRegistryFilterer) FilterProviderMinStakeUpdated(opts *bind.FilterOpts) (*ProviderRegistryProviderMinStakeUpdatedIterator, error)
- func (_ProviderRegistry *ProviderRegistryFilterer) FilterProviderRegisteredUpdated(opts *bind.FilterOpts, provider []common.Address) (*ProviderRegistryProviderRegisteredUpdatedIterator, error)
- func (_ProviderRegistry *ProviderRegistryFilterer) ParseProviderDeregistered(log types.Log) (*ProviderRegistryProviderDeregistered, error)
- func (_ProviderRegistry *ProviderRegistryFilterer) ParseProviderMinStakeUpdated(log types.Log) (*ProviderRegistryProviderMinStakeUpdated, error)
- func (_ProviderRegistry *ProviderRegistryFilterer) ParseProviderRegisteredUpdated(log types.Log) (*ProviderRegistryProviderRegisteredUpdated, error)
- func (_ProviderRegistry *ProviderRegistryFilterer) WatchProviderDeregistered(opts *bind.WatchOpts, sink chan<- *ProviderRegistryProviderDeregistered, ...) (event.Subscription, error)
- func (_ProviderRegistry *ProviderRegistryFilterer) WatchProviderMinStakeUpdated(opts *bind.WatchOpts, sink chan<- *ProviderRegistryProviderMinStakeUpdated) (event.Subscription, error)
- func (_ProviderRegistry *ProviderRegistryFilterer) WatchProviderRegisteredUpdated(opts *bind.WatchOpts, sink chan<- *ProviderRegistryProviderRegisteredUpdated, ...) (event.Subscription, error)
- type ProviderRegistryProviderDeregistered
- type ProviderRegistryProviderDeregisteredIterator
- type ProviderRegistryProviderMinStakeUpdated
- type ProviderRegistryProviderMinStakeUpdatedIterator
- type ProviderRegistryProviderRegisteredUpdated
- type ProviderRegistryProviderRegisteredUpdatedIterator
- type ProviderRegistryRaw
- func (_ProviderRegistry *ProviderRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ProviderRegistry *ProviderRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ProviderRegistry *ProviderRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ProviderRegistrySession
- func (_ProviderRegistry *ProviderRegistrySession) ProviderDeregister(addr common.Address) (*types.Transaction, error)
- func (_ProviderRegistry *ProviderRegistrySession) ProviderGetAll() ([]common.Address, []Provider, error)
- func (_ProviderRegistry *ProviderRegistrySession) ProviderGetByIndex(index *big.Int) (struct{ ... }, error)
- func (_ProviderRegistry *ProviderRegistrySession) ProviderGetCount() (*big.Int, error)
- func (_ProviderRegistry *ProviderRegistrySession) ProviderGetIds() ([]common.Address, error)
- func (_ProviderRegistry *ProviderRegistrySession) ProviderMap(addr common.Address) (Provider, error)
- func (_ProviderRegistry *ProviderRegistrySession) ProviderMinStake() (*big.Int, error)
- func (_ProviderRegistry *ProviderRegistrySession) ProviderRegister(addr common.Address, addStake *big.Int, endpoint string) (*types.Transaction, error)
- func (_ProviderRegistry *ProviderRegistrySession) ProviderSetMinStake(_minStake *big.Int) (*types.Transaction, error)
- func (_ProviderRegistry *ProviderRegistrySession) Providers(index *big.Int) (common.Address, error)
- func (_ProviderRegistry *ProviderRegistrySession) ProvidrerExists(addr common.Address) (bool, error)
- type ProviderRegistryTransactor
- func (_ProviderRegistry *ProviderRegistryTransactor) ProviderDeregister(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
- func (_ProviderRegistry *ProviderRegistryTransactor) ProviderRegister(opts *bind.TransactOpts, addr common.Address, addStake *big.Int, ...) (*types.Transaction, error)
- func (_ProviderRegistry *ProviderRegistryTransactor) ProviderSetMinStake(opts *bind.TransactOpts, _minStake *big.Int) (*types.Transaction, error)
- type ProviderRegistryTransactorRaw
- type ProviderRegistryTransactorSession
- func (_ProviderRegistry *ProviderRegistryTransactorSession) ProviderDeregister(addr common.Address) (*types.Transaction, error)
- func (_ProviderRegistry *ProviderRegistryTransactorSession) ProviderRegister(addr common.Address, addStake *big.Int, endpoint string) (*types.Transaction, error)
- func (_ProviderRegistry *ProviderRegistryTransactorSession) ProviderSetMinStake(_minStake *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ProviderRegistryABI = ProviderRegistryMetaData.ABI
ProviderRegistryABI is the input ABI used to generate the binding from. Deprecated: Use ProviderRegistryMetaData.ABI instead.
var ProviderRegistryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"KeyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"KeyNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_contractOwner\",\"type\":\"address\"}],\"name\":\"NotContractOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotSenderOrOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StakeTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroKey\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"}],\"name\":\"ProviderDeregistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newStake\",\"type\":\"uint256\"}],\"name\":\"ProviderMinStakeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"}],\"name\":\"ProviderRegisteredUpdated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"providerDeregister\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"providerGetAll\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"endpoint\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"createdAt\",\"type\":\"uint128\"},{\"internalType\":\"bool\",\"name\":\"isDeleted\",\"type\":\"bool\"}],\"internalType\":\"structProvider[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"providerGetByIndex\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"endpoint\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"createdAt\",\"type\":\"uint128\"},{\"internalType\":\"bool\",\"name\":\"isDeleted\",\"type\":\"bool\"}],\"internalType\":\"structProvider\",\"name\":\"provider\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"providerGetCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"providerGetIds\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"providerMap\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"endpoint\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"createdAt\",\"type\":\"uint128\"},{\"internalType\":\"bool\",\"name\":\"isDeleted\",\"type\":\"bool\"}],\"internalType\":\"structProvider\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"providerMinStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addStake\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"endpoint\",\"type\":\"string\"}],\"name\":\"providerRegister\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minStake\",\"type\":\"uint256\"}],\"name\":\"providerSetMinStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"providers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"providrerExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
ProviderRegistryMetaData contains all meta data concerning the ProviderRegistry contract.
Functions ¶
This section is empty.
Types ¶
type ProviderRegistry ¶
type ProviderRegistry struct { ProviderRegistryCaller // Read-only binding to the contract ProviderRegistryTransactor // Write-only binding to the contract ProviderRegistryFilterer // Log filterer for contract events }
ProviderRegistry is an auto generated Go binding around an Ethereum contract.
func NewProviderRegistry ¶
func NewProviderRegistry(address common.Address, backend bind.ContractBackend) (*ProviderRegistry, error)
NewProviderRegistry creates a new instance of ProviderRegistry, bound to a specific deployed contract.
type ProviderRegistryCaller ¶
type ProviderRegistryCaller struct {
// contains filtered or unexported fields
}
ProviderRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewProviderRegistryCaller ¶
func NewProviderRegistryCaller(address common.Address, caller bind.ContractCaller) (*ProviderRegistryCaller, error)
NewProviderRegistryCaller creates a new read-only instance of ProviderRegistry, bound to a specific deployed contract.
func (*ProviderRegistryCaller) ProviderGetAll ¶
func (_ProviderRegistry *ProviderRegistryCaller) ProviderGetAll(opts *bind.CallOpts) ([]common.Address, []Provider, error)
ProviderGetAll is a free data retrieval call binding the contract method 0x86af8fdc.
Solidity: function providerGetAll() view returns(address[], (string,uint256,uint128,bool)[])
func (*ProviderRegistryCaller) ProviderGetByIndex ¶
func (_ProviderRegistry *ProviderRegistryCaller) ProviderGetByIndex(opts *bind.CallOpts, index *big.Int) (struct { Addr common.Address Provider Provider }, error)
ProviderGetByIndex is a free data retrieval call binding the contract method 0xb8eed333.
Solidity: function providerGetByIndex(uint256 index) view returns(address addr, (string,uint256,uint128,bool) provider)
func (*ProviderRegistryCaller) ProviderGetCount ¶
func (_ProviderRegistry *ProviderRegistryCaller) ProviderGetCount(opts *bind.CallOpts) (*big.Int, error)
ProviderGetCount is a free data retrieval call binding the contract method 0x91d2b7eb.
Solidity: function providerGetCount() view returns(uint256 count)
func (*ProviderRegistryCaller) ProviderGetIds ¶
func (_ProviderRegistry *ProviderRegistryCaller) ProviderGetIds(opts *bind.CallOpts) ([]common.Address, error)
ProviderGetIds is a free data retrieval call binding the contract method 0x2e888fe1.
Solidity: function providerGetIds() view returns(address[])
func (*ProviderRegistryCaller) ProviderMap ¶
func (_ProviderRegistry *ProviderRegistryCaller) ProviderMap(opts *bind.CallOpts, addr common.Address) (Provider, error)
ProviderMap is a free data retrieval call binding the contract method 0xa6c87915.
Solidity: function providerMap(address addr) view returns((string,uint256,uint128,bool))
func (*ProviderRegistryCaller) ProviderMinStake ¶
func (_ProviderRegistry *ProviderRegistryCaller) ProviderMinStake(opts *bind.CallOpts) (*big.Int, error)
ProviderMinStake is a free data retrieval call binding the contract method 0xbcd5641e.
Solidity: function providerMinStake() view returns(uint256)
func (*ProviderRegistryCaller) Providers ¶
func (_ProviderRegistry *ProviderRegistryCaller) Providers(opts *bind.CallOpts, index *big.Int) (common.Address, error)
Providers is a free data retrieval call binding the contract method 0x50f3fc81.
Solidity: function providers(uint256 index) view returns(address)
func (*ProviderRegistryCaller) ProvidrerExists ¶
func (_ProviderRegistry *ProviderRegistryCaller) ProvidrerExists(opts *bind.CallOpts, addr common.Address) (bool, error)
ProvidrerExists is a free data retrieval call binding the contract method 0xf60e9726.
Solidity: function providrerExists(address addr) view returns(bool)
type ProviderRegistryCallerRaw ¶
type ProviderRegistryCallerRaw struct {
Contract *ProviderRegistryCaller // Generic read-only contract binding to access the raw methods on
}
ProviderRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ProviderRegistryCallerRaw) Call ¶
func (_ProviderRegistry *ProviderRegistryCallerRaw) 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 ProviderRegistryCallerSession ¶
type ProviderRegistryCallerSession struct { Contract *ProviderRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ProviderRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ProviderRegistryCallerSession) ProviderGetAll ¶
func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderGetAll() ([]common.Address, []Provider, error)
ProviderGetAll is a free data retrieval call binding the contract method 0x86af8fdc.
Solidity: function providerGetAll() view returns(address[], (string,uint256,uint128,bool)[])
func (*ProviderRegistryCallerSession) ProviderGetByIndex ¶
func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderGetByIndex(index *big.Int) (struct { Addr common.Address Provider Provider }, error)
ProviderGetByIndex is a free data retrieval call binding the contract method 0xb8eed333.
Solidity: function providerGetByIndex(uint256 index) view returns(address addr, (string,uint256,uint128,bool) provider)
func (*ProviderRegistryCallerSession) ProviderGetCount ¶
func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderGetCount() (*big.Int, error)
ProviderGetCount is a free data retrieval call binding the contract method 0x91d2b7eb.
Solidity: function providerGetCount() view returns(uint256 count)
func (*ProviderRegistryCallerSession) ProviderGetIds ¶
func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderGetIds() ([]common.Address, error)
ProviderGetIds is a free data retrieval call binding the contract method 0x2e888fe1.
Solidity: function providerGetIds() view returns(address[])
func (*ProviderRegistryCallerSession) ProviderMap ¶
func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderMap(addr common.Address) (Provider, error)
ProviderMap is a free data retrieval call binding the contract method 0xa6c87915.
Solidity: function providerMap(address addr) view returns((string,uint256,uint128,bool))
func (*ProviderRegistryCallerSession) ProviderMinStake ¶
func (_ProviderRegistry *ProviderRegistryCallerSession) ProviderMinStake() (*big.Int, error)
ProviderMinStake is a free data retrieval call binding the contract method 0xbcd5641e.
Solidity: function providerMinStake() view returns(uint256)
func (*ProviderRegistryCallerSession) Providers ¶
func (_ProviderRegistry *ProviderRegistryCallerSession) Providers(index *big.Int) (common.Address, error)
Providers is a free data retrieval call binding the contract method 0x50f3fc81.
Solidity: function providers(uint256 index) view returns(address)
func (*ProviderRegistryCallerSession) ProvidrerExists ¶
func (_ProviderRegistry *ProviderRegistryCallerSession) ProvidrerExists(addr common.Address) (bool, error)
ProvidrerExists is a free data retrieval call binding the contract method 0xf60e9726.
Solidity: function providrerExists(address addr) view returns(bool)
type ProviderRegistryFilterer ¶
type ProviderRegistryFilterer struct {
// contains filtered or unexported fields
}
ProviderRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewProviderRegistryFilterer ¶
func NewProviderRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ProviderRegistryFilterer, error)
NewProviderRegistryFilterer creates a new log filterer instance of ProviderRegistry, bound to a specific deployed contract.
func (*ProviderRegistryFilterer) FilterProviderDeregistered ¶
func (_ProviderRegistry *ProviderRegistryFilterer) FilterProviderDeregistered(opts *bind.FilterOpts, provider []common.Address) (*ProviderRegistryProviderDeregisteredIterator, error)
FilterProviderDeregistered is a free log retrieval operation binding the contract event 0xf04091b4a187e321a42001e46961e45b6a75b203fc6fb766b7e05505f6080abb.
Solidity: event ProviderDeregistered(address indexed provider)
func (*ProviderRegistryFilterer) FilterProviderMinStakeUpdated ¶
func (_ProviderRegistry *ProviderRegistryFilterer) FilterProviderMinStakeUpdated(opts *bind.FilterOpts) (*ProviderRegistryProviderMinStakeUpdatedIterator, error)
FilterProviderMinStakeUpdated is a free log retrieval operation binding the contract event 0x1ee852018221ad3e0f9b96b4d6f870d0e1393c4060f626c01ad1e09a1917d818.
Solidity: event ProviderMinStakeUpdated(uint256 newStake)
func (*ProviderRegistryFilterer) FilterProviderRegisteredUpdated ¶
func (_ProviderRegistry *ProviderRegistryFilterer) FilterProviderRegisteredUpdated(opts *bind.FilterOpts, provider []common.Address) (*ProviderRegistryProviderRegisteredUpdatedIterator, error)
FilterProviderRegisteredUpdated is a free log retrieval operation binding the contract event 0xe041bebe929cc665c6c558e3ad7913156fef3abc77ac6a2a4f0182e6dcb11193.
Solidity: event ProviderRegisteredUpdated(address indexed provider)
func (*ProviderRegistryFilterer) ParseProviderDeregistered ¶
func (_ProviderRegistry *ProviderRegistryFilterer) ParseProviderDeregistered(log types.Log) (*ProviderRegistryProviderDeregistered, error)
ParseProviderDeregistered is a log parse operation binding the contract event 0xf04091b4a187e321a42001e46961e45b6a75b203fc6fb766b7e05505f6080abb.
Solidity: event ProviderDeregistered(address indexed provider)
func (*ProviderRegistryFilterer) ParseProviderMinStakeUpdated ¶
func (_ProviderRegistry *ProviderRegistryFilterer) ParseProviderMinStakeUpdated(log types.Log) (*ProviderRegistryProviderMinStakeUpdated, error)
ParseProviderMinStakeUpdated is a log parse operation binding the contract event 0x1ee852018221ad3e0f9b96b4d6f870d0e1393c4060f626c01ad1e09a1917d818.
Solidity: event ProviderMinStakeUpdated(uint256 newStake)
func (*ProviderRegistryFilterer) ParseProviderRegisteredUpdated ¶
func (_ProviderRegistry *ProviderRegistryFilterer) ParseProviderRegisteredUpdated(log types.Log) (*ProviderRegistryProviderRegisteredUpdated, error)
ParseProviderRegisteredUpdated is a log parse operation binding the contract event 0xe041bebe929cc665c6c558e3ad7913156fef3abc77ac6a2a4f0182e6dcb11193.
Solidity: event ProviderRegisteredUpdated(address indexed provider)
func (*ProviderRegistryFilterer) WatchProviderDeregistered ¶
func (_ProviderRegistry *ProviderRegistryFilterer) WatchProviderDeregistered(opts *bind.WatchOpts, sink chan<- *ProviderRegistryProviderDeregistered, provider []common.Address) (event.Subscription, error)
WatchProviderDeregistered is a free log subscription operation binding the contract event 0xf04091b4a187e321a42001e46961e45b6a75b203fc6fb766b7e05505f6080abb.
Solidity: event ProviderDeregistered(address indexed provider)
func (*ProviderRegistryFilterer) WatchProviderMinStakeUpdated ¶
func (_ProviderRegistry *ProviderRegistryFilterer) WatchProviderMinStakeUpdated(opts *bind.WatchOpts, sink chan<- *ProviderRegistryProviderMinStakeUpdated) (event.Subscription, error)
WatchProviderMinStakeUpdated is a free log subscription operation binding the contract event 0x1ee852018221ad3e0f9b96b4d6f870d0e1393c4060f626c01ad1e09a1917d818.
Solidity: event ProviderMinStakeUpdated(uint256 newStake)
func (*ProviderRegistryFilterer) WatchProviderRegisteredUpdated ¶
func (_ProviderRegistry *ProviderRegistryFilterer) WatchProviderRegisteredUpdated(opts *bind.WatchOpts, sink chan<- *ProviderRegistryProviderRegisteredUpdated, provider []common.Address) (event.Subscription, error)
WatchProviderRegisteredUpdated is a free log subscription operation binding the contract event 0xe041bebe929cc665c6c558e3ad7913156fef3abc77ac6a2a4f0182e6dcb11193.
Solidity: event ProviderRegisteredUpdated(address indexed provider)
type ProviderRegistryProviderDeregistered ¶
type ProviderRegistryProviderDeregistered struct { Provider common.Address Raw types.Log // Blockchain specific contextual infos }
ProviderRegistryProviderDeregistered represents a ProviderDeregistered event raised by the ProviderRegistry contract.
type ProviderRegistryProviderDeregisteredIterator ¶
type ProviderRegistryProviderDeregisteredIterator struct { Event *ProviderRegistryProviderDeregistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProviderRegistryProviderDeregisteredIterator is returned from FilterProviderDeregistered and is used to iterate over the raw logs and unpacked data for ProviderDeregistered events raised by the ProviderRegistry contract.
func (*ProviderRegistryProviderDeregisteredIterator) Close ¶
func (it *ProviderRegistryProviderDeregisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProviderRegistryProviderDeregisteredIterator) Error ¶
func (it *ProviderRegistryProviderDeregisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProviderRegistryProviderDeregisteredIterator) Next ¶
func (it *ProviderRegistryProviderDeregisteredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ProviderRegistryProviderMinStakeUpdated ¶
type ProviderRegistryProviderMinStakeUpdated struct { NewStake *big.Int Raw types.Log // Blockchain specific contextual infos }
ProviderRegistryProviderMinStakeUpdated represents a ProviderMinStakeUpdated event raised by the ProviderRegistry contract.
type ProviderRegistryProviderMinStakeUpdatedIterator ¶
type ProviderRegistryProviderMinStakeUpdatedIterator struct { Event *ProviderRegistryProviderMinStakeUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProviderRegistryProviderMinStakeUpdatedIterator is returned from FilterProviderMinStakeUpdated and is used to iterate over the raw logs and unpacked data for ProviderMinStakeUpdated events raised by the ProviderRegistry contract.
func (*ProviderRegistryProviderMinStakeUpdatedIterator) Close ¶
func (it *ProviderRegistryProviderMinStakeUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProviderRegistryProviderMinStakeUpdatedIterator) Error ¶
func (it *ProviderRegistryProviderMinStakeUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProviderRegistryProviderMinStakeUpdatedIterator) Next ¶
func (it *ProviderRegistryProviderMinStakeUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ProviderRegistryProviderRegisteredUpdated ¶
type ProviderRegistryProviderRegisteredUpdated struct { Provider common.Address Raw types.Log // Blockchain specific contextual infos }
ProviderRegistryProviderRegisteredUpdated represents a ProviderRegisteredUpdated event raised by the ProviderRegistry contract.
type ProviderRegistryProviderRegisteredUpdatedIterator ¶
type ProviderRegistryProviderRegisteredUpdatedIterator struct { Event *ProviderRegistryProviderRegisteredUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProviderRegistryProviderRegisteredUpdatedIterator is returned from FilterProviderRegisteredUpdated and is used to iterate over the raw logs and unpacked data for ProviderRegisteredUpdated events raised by the ProviderRegistry contract.
func (*ProviderRegistryProviderRegisteredUpdatedIterator) Close ¶
func (it *ProviderRegistryProviderRegisteredUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProviderRegistryProviderRegisteredUpdatedIterator) Error ¶
func (it *ProviderRegistryProviderRegisteredUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProviderRegistryProviderRegisteredUpdatedIterator) Next ¶
func (it *ProviderRegistryProviderRegisteredUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ProviderRegistryRaw ¶
type ProviderRegistryRaw struct {
Contract *ProviderRegistry // Generic contract binding to access the raw methods on
}
ProviderRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ProviderRegistryRaw) Call ¶
func (_ProviderRegistry *ProviderRegistryRaw) 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 (*ProviderRegistryRaw) Transact ¶
func (_ProviderRegistry *ProviderRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProviderRegistryRaw) Transfer ¶
func (_ProviderRegistry *ProviderRegistryRaw) 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 ProviderRegistrySession ¶
type ProviderRegistrySession struct { Contract *ProviderRegistry // 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 }
ProviderRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ProviderRegistrySession) ProviderDeregister ¶
func (_ProviderRegistry *ProviderRegistrySession) ProviderDeregister(addr common.Address) (*types.Transaction, error)
ProviderDeregister is a paid mutator transaction binding the contract method 0x2ca36c49.
Solidity: function providerDeregister(address addr) returns()
func (*ProviderRegistrySession) ProviderGetAll ¶
func (_ProviderRegistry *ProviderRegistrySession) ProviderGetAll() ([]common.Address, []Provider, error)
ProviderGetAll is a free data retrieval call binding the contract method 0x86af8fdc.
Solidity: function providerGetAll() view returns(address[], (string,uint256,uint128,bool)[])
func (*ProviderRegistrySession) ProviderGetByIndex ¶
func (_ProviderRegistry *ProviderRegistrySession) ProviderGetByIndex(index *big.Int) (struct { Addr common.Address Provider Provider }, error)
ProviderGetByIndex is a free data retrieval call binding the contract method 0xb8eed333.
Solidity: function providerGetByIndex(uint256 index) view returns(address addr, (string,uint256,uint128,bool) provider)
func (*ProviderRegistrySession) ProviderGetCount ¶
func (_ProviderRegistry *ProviderRegistrySession) ProviderGetCount() (*big.Int, error)
ProviderGetCount is a free data retrieval call binding the contract method 0x91d2b7eb.
Solidity: function providerGetCount() view returns(uint256 count)
func (*ProviderRegistrySession) ProviderGetIds ¶
func (_ProviderRegistry *ProviderRegistrySession) ProviderGetIds() ([]common.Address, error)
ProviderGetIds is a free data retrieval call binding the contract method 0x2e888fe1.
Solidity: function providerGetIds() view returns(address[])
func (*ProviderRegistrySession) ProviderMap ¶
func (_ProviderRegistry *ProviderRegistrySession) ProviderMap(addr common.Address) (Provider, error)
ProviderMap is a free data retrieval call binding the contract method 0xa6c87915.
Solidity: function providerMap(address addr) view returns((string,uint256,uint128,bool))
func (*ProviderRegistrySession) ProviderMinStake ¶
func (_ProviderRegistry *ProviderRegistrySession) ProviderMinStake() (*big.Int, error)
ProviderMinStake is a free data retrieval call binding the contract method 0xbcd5641e.
Solidity: function providerMinStake() view returns(uint256)
func (*ProviderRegistrySession) ProviderRegister ¶
func (_ProviderRegistry *ProviderRegistrySession) ProviderRegister(addr common.Address, addStake *big.Int, endpoint string) (*types.Transaction, error)
ProviderRegister is a paid mutator transaction binding the contract method 0x365700cb.
Solidity: function providerRegister(address addr, uint256 addStake, string endpoint) returns()
func (*ProviderRegistrySession) ProviderSetMinStake ¶
func (_ProviderRegistry *ProviderRegistrySession) ProviderSetMinStake(_minStake *big.Int) (*types.Transaction, error)
ProviderSetMinStake is a paid mutator transaction binding the contract method 0x0b7f94d6.
Solidity: function providerSetMinStake(uint256 _minStake) returns()
func (*ProviderRegistrySession) Providers ¶
Providers is a free data retrieval call binding the contract method 0x50f3fc81.
Solidity: function providers(uint256 index) view returns(address)
func (*ProviderRegistrySession) ProvidrerExists ¶
func (_ProviderRegistry *ProviderRegistrySession) ProvidrerExists(addr common.Address) (bool, error)
ProvidrerExists is a free data retrieval call binding the contract method 0xf60e9726.
Solidity: function providrerExists(address addr) view returns(bool)
type ProviderRegistryTransactor ¶
type ProviderRegistryTransactor struct {
// contains filtered or unexported fields
}
ProviderRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewProviderRegistryTransactor ¶
func NewProviderRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ProviderRegistryTransactor, error)
NewProviderRegistryTransactor creates a new write-only instance of ProviderRegistry, bound to a specific deployed contract.
func (*ProviderRegistryTransactor) ProviderDeregister ¶
func (_ProviderRegistry *ProviderRegistryTransactor) ProviderDeregister(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
ProviderDeregister is a paid mutator transaction binding the contract method 0x2ca36c49.
Solidity: function providerDeregister(address addr) returns()
func (*ProviderRegistryTransactor) ProviderRegister ¶
func (_ProviderRegistry *ProviderRegistryTransactor) ProviderRegister(opts *bind.TransactOpts, addr common.Address, addStake *big.Int, endpoint string) (*types.Transaction, error)
ProviderRegister is a paid mutator transaction binding the contract method 0x365700cb.
Solidity: function providerRegister(address addr, uint256 addStake, string endpoint) returns()
func (*ProviderRegistryTransactor) ProviderSetMinStake ¶
func (_ProviderRegistry *ProviderRegistryTransactor) ProviderSetMinStake(opts *bind.TransactOpts, _minStake *big.Int) (*types.Transaction, error)
ProviderSetMinStake is a paid mutator transaction binding the contract method 0x0b7f94d6.
Solidity: function providerSetMinStake(uint256 _minStake) returns()
type ProviderRegistryTransactorRaw ¶
type ProviderRegistryTransactorRaw struct {
Contract *ProviderRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
ProviderRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ProviderRegistryTransactorRaw) Transact ¶
func (_ProviderRegistry *ProviderRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProviderRegistryTransactorRaw) Transfer ¶
func (_ProviderRegistry *ProviderRegistryTransactorRaw) 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 ProviderRegistryTransactorSession ¶
type ProviderRegistryTransactorSession struct { Contract *ProviderRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ProviderRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ProviderRegistryTransactorSession) ProviderDeregister ¶
func (_ProviderRegistry *ProviderRegistryTransactorSession) ProviderDeregister(addr common.Address) (*types.Transaction, error)
ProviderDeregister is a paid mutator transaction binding the contract method 0x2ca36c49.
Solidity: function providerDeregister(address addr) returns()
func (*ProviderRegistryTransactorSession) ProviderRegister ¶
func (_ProviderRegistry *ProviderRegistryTransactorSession) ProviderRegister(addr common.Address, addStake *big.Int, endpoint string) (*types.Transaction, error)
ProviderRegister is a paid mutator transaction binding the contract method 0x365700cb.
Solidity: function providerRegister(address addr, uint256 addStake, string endpoint) returns()
func (*ProviderRegistryTransactorSession) ProviderSetMinStake ¶
func (_ProviderRegistry *ProviderRegistryTransactorSession) ProviderSetMinStake(_minStake *big.Int) (*types.Transaction, error)
ProviderSetMinStake is a paid mutator transaction binding the contract method 0x0b7f94d6.
Solidity: function providerSetMinStake(uint256 _minStake) returns()