Documentation ¶
Index ¶
- Constants
- type Permissioning
- type PermissioningCaller
- func (_Permissioning *PermissioningCaller) ADMINCONTRACT(opts *bind.CallOpts) ([32]byte, error)
- func (_Permissioning *PermissioningCaller) ConnectionAllowed(opts *bind.CallOpts, sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, ...) ([32]byte, error)
- func (_Permissioning *PermissioningCaller) GetAllContractKeys(opts *bind.CallOpts) ([][32]byte, error)
- func (_Permissioning *PermissioningCaller) GetContractAddress(opts *bind.CallOpts, name [32]byte) (common.Address, error)
- func (_Permissioning *PermissioningCaller) GetContractVersion(opts *bind.CallOpts) (*big.Int, error)
- func (_Permissioning *PermissioningCaller) GetSize(opts *bind.CallOpts) (*big.Int, error)
- func (_Permissioning *PermissioningCaller) IsAuthorized(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_Permissioning *PermissioningCaller) RULESCONTRACT(opts *bind.CallOpts) ([32]byte, error)
- type PermissioningCallerRaw
- type PermissioningCallerSession
- func (_Permissioning *PermissioningCallerSession) ADMINCONTRACT() ([32]byte, error)
- func (_Permissioning *PermissioningCallerSession) ConnectionAllowed(sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, sourceEnodeIp [16]byte, ...) ([32]byte, error)
- func (_Permissioning *PermissioningCallerSession) GetAllContractKeys() ([][32]byte, error)
- func (_Permissioning *PermissioningCallerSession) GetContractAddress(name [32]byte) (common.Address, error)
- func (_Permissioning *PermissioningCallerSession) GetContractVersion() (*big.Int, error)
- func (_Permissioning *PermissioningCallerSession) GetSize() (*big.Int, error)
- func (_Permissioning *PermissioningCallerSession) IsAuthorized(account common.Address) (bool, error)
- func (_Permissioning *PermissioningCallerSession) RULESCONTRACT() ([32]byte, error)
- type PermissioningFilterer
- func (_Permissioning *PermissioningFilterer) FilterNodePermissionsUpdated(opts *bind.FilterOpts) (*PermissioningNodePermissionsUpdatedIterator, error)
- func (_Permissioning *PermissioningFilterer) FilterRegistryUpdated(opts *bind.FilterOpts) (*PermissioningRegistryUpdatedIterator, error)
- func (_Permissioning *PermissioningFilterer) ParseNodePermissionsUpdated(log types.Log) (*PermissioningNodePermissionsUpdated, error)
- func (_Permissioning *PermissioningFilterer) ParseRegistryUpdated(log types.Log) (*PermissioningRegistryUpdated, error)
- func (_Permissioning *PermissioningFilterer) WatchNodePermissionsUpdated(opts *bind.WatchOpts, sink chan<- *PermissioningNodePermissionsUpdated) (event.Subscription, error)
- func (_Permissioning *PermissioningFilterer) WatchRegistryUpdated(opts *bind.WatchOpts, sink chan<- *PermissioningRegistryUpdated) (event.Subscription, error)
- type PermissioningNodePermissionsUpdated
- type PermissioningNodePermissionsUpdatedIterator
- type PermissioningRaw
- func (_Permissioning *PermissioningRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Permissioning *PermissioningRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Permissioning *PermissioningRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PermissioningRegistryUpdated
- type PermissioningRegistryUpdatedIterator
- type PermissioningSession
- func (_Permissioning *PermissioningSession) ADMINCONTRACT() ([32]byte, error)
- func (_Permissioning *PermissioningSession) ConnectionAllowed(sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, sourceEnodeIp [16]byte, ...) ([32]byte, error)
- func (_Permissioning *PermissioningSession) EmitRulesChangeEvent(addsRestrictions bool) (*types.Transaction, error)
- func (_Permissioning *PermissioningSession) GetAllContractKeys() ([][32]byte, error)
- func (_Permissioning *PermissioningSession) GetContractAddress(name [32]byte) (common.Address, error)
- func (_Permissioning *PermissioningSession) GetContractVersion() (*big.Int, error)
- func (_Permissioning *PermissioningSession) GetSize() (*big.Int, error)
- func (_Permissioning *PermissioningSession) IsAuthorized(account common.Address) (bool, error)
- func (_Permissioning *PermissioningSession) RULESCONTRACT() ([32]byte, error)
- func (_Permissioning *PermissioningSession) RemoveContract(_name [32]byte) (*types.Transaction, error)
- func (_Permissioning *PermissioningSession) SetContractAddress(name [32]byte, addr common.Address) (*types.Transaction, error)
- type PermissioningTransactor
- func (_Permissioning *PermissioningTransactor) EmitRulesChangeEvent(opts *bind.TransactOpts, addsRestrictions bool) (*types.Transaction, error)
- func (_Permissioning *PermissioningTransactor) RemoveContract(opts *bind.TransactOpts, _name [32]byte) (*types.Transaction, error)
- func (_Permissioning *PermissioningTransactor) SetContractAddress(opts *bind.TransactOpts, name [32]byte, addr common.Address) (*types.Transaction, error)
- type PermissioningTransactorRaw
- type PermissioningTransactorSession
- func (_Permissioning *PermissioningTransactorSession) EmitRulesChangeEvent(addsRestrictions bool) (*types.Transaction, error)
- func (_Permissioning *PermissioningTransactorSession) RemoveContract(_name [32]byte) (*types.Transaction, error)
- func (_Permissioning *PermissioningTransactorSession) SetContractAddress(name [32]byte, addr common.Address) (*types.Transaction, error)
- type Rules
- type RulesCaller
- func (_Rules *RulesCaller) Allowlist(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Rules *RulesCaller) ConnectionAllowed(opts *bind.CallOpts, sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, ...) ([32]byte, error)
- func (_Rules *RulesCaller) GetByEnode(opts *bind.CallOpts, _enodeHigh [32]byte, _enodeLow [32]byte, _ip [16]byte, ...) (struct{ ... }, error)
- func (_Rules *RulesCaller) GetByIndex(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_Rules *RulesCaller) GetContractVersion(opts *bind.CallOpts) (*big.Int, error)
- func (_Rules *RulesCaller) GetSize(opts *bind.CallOpts) (*big.Int, error)
- func (_Rules *RulesCaller) IsReadOnly(opts *bind.CallOpts) (bool, error)
- type RulesCallerRaw
- type RulesCallerSession
- func (_Rules *RulesCallerSession) Allowlist(arg0 *big.Int) (struct{ ... }, error)
- func (_Rules *RulesCallerSession) ConnectionAllowed(sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, sourceEnodeIp [16]byte, ...) ([32]byte, error)
- func (_Rules *RulesCallerSession) GetByEnode(_enodeHigh [32]byte, _enodeLow [32]byte, _ip [16]byte, _port uint16) (struct{ ... }, error)
- func (_Rules *RulesCallerSession) GetByIndex(index *big.Int) (struct{ ... }, error)
- func (_Rules *RulesCallerSession) GetContractVersion() (*big.Int, error)
- func (_Rules *RulesCallerSession) GetSize() (*big.Int, error)
- func (_Rules *RulesCallerSession) IsReadOnly() (bool, error)
- type RulesFilterer
- func (_Rules *RulesFilterer) FilterNodeAdded(opts *bind.FilterOpts) (*RulesNodeAddedIterator, error)
- func (_Rules *RulesFilterer) FilterNodeRemoved(opts *bind.FilterOpts) (*RulesNodeRemovedIterator, error)
- func (_Rules *RulesFilterer) ParseNodeAdded(log types.Log) (*RulesNodeAdded, error)
- func (_Rules *RulesFilterer) ParseNodeRemoved(log types.Log) (*RulesNodeRemoved, error)
- func (_Rules *RulesFilterer) WatchNodeAdded(opts *bind.WatchOpts, sink chan<- *RulesNodeAdded) (event.Subscription, error)
- func (_Rules *RulesFilterer) WatchNodeRemoved(opts *bind.WatchOpts, sink chan<- *RulesNodeRemoved) (event.Subscription, error)
- type RulesNodeAdded
- type RulesNodeAddedIterator
- type RulesNodeRemoved
- type RulesNodeRemovedIterator
- type RulesRaw
- func (_Rules *RulesRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Rules *RulesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Rules *RulesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RulesSession
- func (_Rules *RulesSession) AddConnection(_groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
- func (_Rules *RulesSession) AddEnode(enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, port uint16, ...) (*types.Transaction, error)
- func (_Rules *RulesSession) Allowlist(arg0 *big.Int) (struct{ ... }, error)
- func (_Rules *RulesSession) ConnectionAllowed(sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, sourceEnodeIp [16]byte, ...) ([32]byte, error)
- func (_Rules *RulesSession) EnterReadOnly() (*types.Transaction, error)
- func (_Rules *RulesSession) ExitReadOnly() (*types.Transaction, error)
- func (_Rules *RulesSession) GetByEnode(_enodeHigh [32]byte, _enodeLow [32]byte, _ip [16]byte, _port uint16) (struct{ ... }, error)
- func (_Rules *RulesSession) GetByIndex(index *big.Int) (struct{ ... }, error)
- func (_Rules *RulesSession) GetContractVersion() (*big.Int, error)
- func (_Rules *RulesSession) GetSize() (*big.Int, error)
- func (_Rules *RulesSession) IsReadOnly() (bool, error)
- func (_Rules *RulesSession) RemoveConnection(_groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
- func (_Rules *RulesSession) RemoveEnode(enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, port uint16) (*types.Transaction, error)
- func (_Rules *RulesSession) TriggerRulesChangeEvent(addsRestrictions bool) (*types.Transaction, error)
- type RulesTransactor
- func (_Rules *RulesTransactor) AddConnection(opts *bind.TransactOpts, _groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
- func (_Rules *RulesTransactor) AddEnode(opts *bind.TransactOpts, enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, ...) (*types.Transaction, error)
- func (_Rules *RulesTransactor) EnterReadOnly(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Rules *RulesTransactor) ExitReadOnly(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Rules *RulesTransactor) RemoveConnection(opts *bind.TransactOpts, _groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
- func (_Rules *RulesTransactor) RemoveEnode(opts *bind.TransactOpts, enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, ...) (*types.Transaction, error)
- func (_Rules *RulesTransactor) TriggerRulesChangeEvent(opts *bind.TransactOpts, addsRestrictions bool) (*types.Transaction, error)
- type RulesTransactorRaw
- type RulesTransactorSession
- func (_Rules *RulesTransactorSession) AddConnection(_groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
- func (_Rules *RulesTransactorSession) AddEnode(enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, port uint16, ...) (*types.Transaction, error)
- func (_Rules *RulesTransactorSession) EnterReadOnly() (*types.Transaction, error)
- func (_Rules *RulesTransactorSession) ExitReadOnly() (*types.Transaction, error)
- func (_Rules *RulesTransactorSession) RemoveConnection(_groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
- func (_Rules *RulesTransactorSession) RemoveEnode(enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, port uint16) (*types.Transaction, error)
- func (_Rules *RulesTransactorSession) TriggerRulesChangeEvent(addsRestrictions bool) (*types.Transaction, error)
Constants ¶
const PermissioningABI = "" /* 3056-byte string literal not displayed */
PermissioningABI is the input ABI used to generate the binding from.
const RulesABI = "" /* 5972-byte string literal not displayed */
RulesABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Permissioning ¶
type Permissioning struct { PermissioningCaller // Read-only binding to the contract PermissioningTransactor // Write-only binding to the contract PermissioningFilterer // Log filterer for contract events }
Permissioning is an auto generated Go binding around an Ethereum contract.
func NewPermissioning ¶
func NewPermissioning(address common.Address, backend bind.ContractBackend) (*Permissioning, error)
NewPermissioning creates a new instance of Permissioning, bound to a specific deployed contract.
type PermissioningCaller ¶
type PermissioningCaller struct {
// contains filtered or unexported fields
}
PermissioningCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPermissioningCaller ¶
func NewPermissioningCaller(address common.Address, caller bind.ContractCaller) (*PermissioningCaller, error)
NewPermissioningCaller creates a new read-only instance of Permissioning, bound to a specific deployed contract.
func (*PermissioningCaller) ADMINCONTRACT ¶
func (_Permissioning *PermissioningCaller) ADMINCONTRACT(opts *bind.CallOpts) ([32]byte, error)
ADMINCONTRACT is a free data retrieval call binding the contract method 0x1e7c27cb.
Solidity: function ADMIN_CONTRACT() view returns(bytes32)
func (*PermissioningCaller) ConnectionAllowed ¶
func (_Permissioning *PermissioningCaller) ConnectionAllowed(opts *bind.CallOpts, sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, sourceEnodeIp [16]byte, sourceEnodePort uint16, destinationEnodeHigh [32]byte, destinationEnodeLow [32]byte, destinationEnodeIp [16]byte, destinationEnodePort uint16) ([32]byte, error)
ConnectionAllowed is a free data retrieval call binding the contract method 0x3620b1df.
Solidity: function connectionAllowed(bytes32 sourceEnodeHigh, bytes32 sourceEnodeLow, bytes16 sourceEnodeIp, uint16 sourceEnodePort, bytes32 destinationEnodeHigh, bytes32 destinationEnodeLow, bytes16 destinationEnodeIp, uint16 destinationEnodePort) view returns(bytes32)
func (*PermissioningCaller) GetAllContractKeys ¶
func (_Permissioning *PermissioningCaller) GetAllContractKeys(opts *bind.CallOpts) ([][32]byte, error)
GetAllContractKeys is a free data retrieval call binding the contract method 0x10d9042e.
Solidity: function getAllContractKeys() view returns(bytes32[])
func (*PermissioningCaller) GetContractAddress ¶
func (_Permissioning *PermissioningCaller) GetContractAddress(opts *bind.CallOpts, name [32]byte) (common.Address, error)
GetContractAddress is a free data retrieval call binding the contract method 0x0d2020dd.
Solidity: function getContractAddress(bytes32 name) view returns(address)
func (*PermissioningCaller) GetContractVersion ¶
func (_Permissioning *PermissioningCaller) GetContractVersion(opts *bind.CallOpts) (*big.Int, error)
GetContractVersion is a free data retrieval call binding the contract method 0x8aa10435.
Solidity: function getContractVersion() view returns(uint256)
func (*PermissioningCaller) GetSize ¶
GetSize is a free data retrieval call binding the contract method 0xde8fa431.
Solidity: function getSize() view returns(uint256)
func (*PermissioningCaller) IsAuthorized ¶
func (_Permissioning *PermissioningCaller) IsAuthorized(opts *bind.CallOpts, account common.Address) (bool, error)
IsAuthorized is a free data retrieval call binding the contract method 0xfe9fbb80.
Solidity: function isAuthorized(address account) view returns(bool)
func (*PermissioningCaller) RULESCONTRACT ¶
func (_Permissioning *PermissioningCaller) RULESCONTRACT(opts *bind.CallOpts) ([32]byte, error)
RULESCONTRACT is a free data retrieval call binding the contract method 0x11601306.
Solidity: function RULES_CONTRACT() view returns(bytes32)
type PermissioningCallerRaw ¶
type PermissioningCallerRaw struct {
Contract *PermissioningCaller // Generic read-only contract binding to access the raw methods on
}
PermissioningCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PermissioningCallerRaw) Call ¶
func (_Permissioning *PermissioningCallerRaw) 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 PermissioningCallerSession ¶
type PermissioningCallerSession struct { Contract *PermissioningCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PermissioningCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PermissioningCallerSession) ADMINCONTRACT ¶
func (_Permissioning *PermissioningCallerSession) ADMINCONTRACT() ([32]byte, error)
ADMINCONTRACT is a free data retrieval call binding the contract method 0x1e7c27cb.
Solidity: function ADMIN_CONTRACT() view returns(bytes32)
func (*PermissioningCallerSession) ConnectionAllowed ¶
func (_Permissioning *PermissioningCallerSession) ConnectionAllowed(sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, sourceEnodeIp [16]byte, sourceEnodePort uint16, destinationEnodeHigh [32]byte, destinationEnodeLow [32]byte, destinationEnodeIp [16]byte, destinationEnodePort uint16) ([32]byte, error)
ConnectionAllowed is a free data retrieval call binding the contract method 0x3620b1df.
Solidity: function connectionAllowed(bytes32 sourceEnodeHigh, bytes32 sourceEnodeLow, bytes16 sourceEnodeIp, uint16 sourceEnodePort, bytes32 destinationEnodeHigh, bytes32 destinationEnodeLow, bytes16 destinationEnodeIp, uint16 destinationEnodePort) view returns(bytes32)
func (*PermissioningCallerSession) GetAllContractKeys ¶
func (_Permissioning *PermissioningCallerSession) GetAllContractKeys() ([][32]byte, error)
GetAllContractKeys is a free data retrieval call binding the contract method 0x10d9042e.
Solidity: function getAllContractKeys() view returns(bytes32[])
func (*PermissioningCallerSession) GetContractAddress ¶
func (_Permissioning *PermissioningCallerSession) GetContractAddress(name [32]byte) (common.Address, error)
GetContractAddress is a free data retrieval call binding the contract method 0x0d2020dd.
Solidity: function getContractAddress(bytes32 name) view returns(address)
func (*PermissioningCallerSession) GetContractVersion ¶
func (_Permissioning *PermissioningCallerSession) GetContractVersion() (*big.Int, error)
GetContractVersion is a free data retrieval call binding the contract method 0x8aa10435.
Solidity: function getContractVersion() view returns(uint256)
func (*PermissioningCallerSession) GetSize ¶
func (_Permissioning *PermissioningCallerSession) GetSize() (*big.Int, error)
GetSize is a free data retrieval call binding the contract method 0xde8fa431.
Solidity: function getSize() view returns(uint256)
func (*PermissioningCallerSession) IsAuthorized ¶
func (_Permissioning *PermissioningCallerSession) IsAuthorized(account common.Address) (bool, error)
IsAuthorized is a free data retrieval call binding the contract method 0xfe9fbb80.
Solidity: function isAuthorized(address account) view returns(bool)
func (*PermissioningCallerSession) RULESCONTRACT ¶
func (_Permissioning *PermissioningCallerSession) RULESCONTRACT() ([32]byte, error)
RULESCONTRACT is a free data retrieval call binding the contract method 0x11601306.
Solidity: function RULES_CONTRACT() view returns(bytes32)
type PermissioningFilterer ¶
type PermissioningFilterer struct {
// contains filtered or unexported fields
}
PermissioningFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPermissioningFilterer ¶
func NewPermissioningFilterer(address common.Address, filterer bind.ContractFilterer) (*PermissioningFilterer, error)
NewPermissioningFilterer creates a new log filterer instance of Permissioning, bound to a specific deployed contract.
func (*PermissioningFilterer) FilterNodePermissionsUpdated ¶
func (_Permissioning *PermissioningFilterer) FilterNodePermissionsUpdated(opts *bind.FilterOpts) (*PermissioningNodePermissionsUpdatedIterator, error)
FilterNodePermissionsUpdated is a free log retrieval operation binding the contract event 0x66120f934b66d52127e448f8e94c2460ea62821335e0dd18e89ed38a4a09b413.
Solidity: event NodePermissionsUpdated(bool addsRestrictions)
func (*PermissioningFilterer) FilterRegistryUpdated ¶
func (_Permissioning *PermissioningFilterer) FilterRegistryUpdated(opts *bind.FilterOpts) (*PermissioningRegistryUpdatedIterator, error)
FilterRegistryUpdated is a free log retrieval operation binding the contract event 0xe3d908a1f6d2467f8e7c8198f30125843211345eedb763beb4cdfb7fe728a5af.
Solidity: event RegistryUpdated(address contractAddress, bytes32 contractName)
func (*PermissioningFilterer) ParseNodePermissionsUpdated ¶
func (_Permissioning *PermissioningFilterer) ParseNodePermissionsUpdated(log types.Log) (*PermissioningNodePermissionsUpdated, error)
ParseNodePermissionsUpdated is a log parse operation binding the contract event 0x66120f934b66d52127e448f8e94c2460ea62821335e0dd18e89ed38a4a09b413.
Solidity: event NodePermissionsUpdated(bool addsRestrictions)
func (*PermissioningFilterer) ParseRegistryUpdated ¶
func (_Permissioning *PermissioningFilterer) ParseRegistryUpdated(log types.Log) (*PermissioningRegistryUpdated, error)
ParseRegistryUpdated is a log parse operation binding the contract event 0xe3d908a1f6d2467f8e7c8198f30125843211345eedb763beb4cdfb7fe728a5af.
Solidity: event RegistryUpdated(address contractAddress, bytes32 contractName)
func (*PermissioningFilterer) WatchNodePermissionsUpdated ¶
func (_Permissioning *PermissioningFilterer) WatchNodePermissionsUpdated(opts *bind.WatchOpts, sink chan<- *PermissioningNodePermissionsUpdated) (event.Subscription, error)
WatchNodePermissionsUpdated is a free log subscription operation binding the contract event 0x66120f934b66d52127e448f8e94c2460ea62821335e0dd18e89ed38a4a09b413.
Solidity: event NodePermissionsUpdated(bool addsRestrictions)
func (*PermissioningFilterer) WatchRegistryUpdated ¶
func (_Permissioning *PermissioningFilterer) WatchRegistryUpdated(opts *bind.WatchOpts, sink chan<- *PermissioningRegistryUpdated) (event.Subscription, error)
WatchRegistryUpdated is a free log subscription operation binding the contract event 0xe3d908a1f6d2467f8e7c8198f30125843211345eedb763beb4cdfb7fe728a5af.
Solidity: event RegistryUpdated(address contractAddress, bytes32 contractName)
type PermissioningNodePermissionsUpdated ¶
type PermissioningNodePermissionsUpdated struct { AddsRestrictions bool Raw types.Log // Blockchain specific contextual infos }
PermissioningNodePermissionsUpdated represents a NodePermissionsUpdated event raised by the Permissioning contract.
type PermissioningNodePermissionsUpdatedIterator ¶
type PermissioningNodePermissionsUpdatedIterator struct { Event *PermissioningNodePermissionsUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PermissioningNodePermissionsUpdatedIterator is returned from FilterNodePermissionsUpdated and is used to iterate over the raw logs and unpacked data for NodePermissionsUpdated events raised by the Permissioning contract.
func (*PermissioningNodePermissionsUpdatedIterator) Close ¶
func (it *PermissioningNodePermissionsUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PermissioningNodePermissionsUpdatedIterator) Error ¶
func (it *PermissioningNodePermissionsUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PermissioningNodePermissionsUpdatedIterator) Next ¶
func (it *PermissioningNodePermissionsUpdatedIterator) 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 PermissioningRaw ¶
type PermissioningRaw struct {
Contract *Permissioning // Generic contract binding to access the raw methods on
}
PermissioningRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PermissioningRaw) Call ¶
func (_Permissioning *PermissioningRaw) 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 (*PermissioningRaw) Transact ¶
func (_Permissioning *PermissioningRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PermissioningRaw) Transfer ¶
func (_Permissioning *PermissioningRaw) 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 PermissioningRegistryUpdated ¶
type PermissioningRegistryUpdated struct { ContractAddress common.Address ContractName [32]byte Raw types.Log // Blockchain specific contextual infos }
PermissioningRegistryUpdated represents a RegistryUpdated event raised by the Permissioning contract.
type PermissioningRegistryUpdatedIterator ¶
type PermissioningRegistryUpdatedIterator struct { Event *PermissioningRegistryUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PermissioningRegistryUpdatedIterator is returned from FilterRegistryUpdated and is used to iterate over the raw logs and unpacked data for RegistryUpdated events raised by the Permissioning contract.
func (*PermissioningRegistryUpdatedIterator) Close ¶
func (it *PermissioningRegistryUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PermissioningRegistryUpdatedIterator) Error ¶
func (it *PermissioningRegistryUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PermissioningRegistryUpdatedIterator) Next ¶
func (it *PermissioningRegistryUpdatedIterator) 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 PermissioningSession ¶
type PermissioningSession struct { Contract *Permissioning // 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 }
PermissioningSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PermissioningSession) ADMINCONTRACT ¶
func (_Permissioning *PermissioningSession) ADMINCONTRACT() ([32]byte, error)
ADMINCONTRACT is a free data retrieval call binding the contract method 0x1e7c27cb.
Solidity: function ADMIN_CONTRACT() view returns(bytes32)
func (*PermissioningSession) ConnectionAllowed ¶
func (_Permissioning *PermissioningSession) ConnectionAllowed(sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, sourceEnodeIp [16]byte, sourceEnodePort uint16, destinationEnodeHigh [32]byte, destinationEnodeLow [32]byte, destinationEnodeIp [16]byte, destinationEnodePort uint16) ([32]byte, error)
ConnectionAllowed is a free data retrieval call binding the contract method 0x3620b1df.
Solidity: function connectionAllowed(bytes32 sourceEnodeHigh, bytes32 sourceEnodeLow, bytes16 sourceEnodeIp, uint16 sourceEnodePort, bytes32 destinationEnodeHigh, bytes32 destinationEnodeLow, bytes16 destinationEnodeIp, uint16 destinationEnodePort) view returns(bytes32)
func (*PermissioningSession) EmitRulesChangeEvent ¶
func (_Permissioning *PermissioningSession) EmitRulesChangeEvent(addsRestrictions bool) (*types.Transaction, error)
EmitRulesChangeEvent is a paid mutator transaction binding the contract method 0x4dc3fefc.
Solidity: function emitRulesChangeEvent(bool addsRestrictions) returns()
func (*PermissioningSession) GetAllContractKeys ¶
func (_Permissioning *PermissioningSession) GetAllContractKeys() ([][32]byte, error)
GetAllContractKeys is a free data retrieval call binding the contract method 0x10d9042e.
Solidity: function getAllContractKeys() view returns(bytes32[])
func (*PermissioningSession) GetContractAddress ¶
func (_Permissioning *PermissioningSession) GetContractAddress(name [32]byte) (common.Address, error)
GetContractAddress is a free data retrieval call binding the contract method 0x0d2020dd.
Solidity: function getContractAddress(bytes32 name) view returns(address)
func (*PermissioningSession) GetContractVersion ¶
func (_Permissioning *PermissioningSession) GetContractVersion() (*big.Int, error)
GetContractVersion is a free data retrieval call binding the contract method 0x8aa10435.
Solidity: function getContractVersion() view returns(uint256)
func (*PermissioningSession) GetSize ¶
func (_Permissioning *PermissioningSession) GetSize() (*big.Int, error)
GetSize is a free data retrieval call binding the contract method 0xde8fa431.
Solidity: function getSize() view returns(uint256)
func (*PermissioningSession) IsAuthorized ¶
func (_Permissioning *PermissioningSession) IsAuthorized(account common.Address) (bool, error)
IsAuthorized is a free data retrieval call binding the contract method 0xfe9fbb80.
Solidity: function isAuthorized(address account) view returns(bool)
func (*PermissioningSession) RULESCONTRACT ¶
func (_Permissioning *PermissioningSession) RULESCONTRACT() ([32]byte, error)
RULESCONTRACT is a free data retrieval call binding the contract method 0x11601306.
Solidity: function RULES_CONTRACT() view returns(bytes32)
func (*PermissioningSession) RemoveContract ¶
func (_Permissioning *PermissioningSession) RemoveContract(_name [32]byte) (*types.Transaction, error)
RemoveContract is a paid mutator transaction binding the contract method 0xa43e04d8.
Solidity: function removeContract(bytes32 _name) returns(bool)
func (*PermissioningSession) SetContractAddress ¶
func (_Permissioning *PermissioningSession) SetContractAddress(name [32]byte, addr common.Address) (*types.Transaction, error)
SetContractAddress is a paid mutator transaction binding the contract method 0xe001f841.
Solidity: function setContractAddress(bytes32 name, address addr) returns(bool)
type PermissioningTransactor ¶
type PermissioningTransactor struct {
// contains filtered or unexported fields
}
PermissioningTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPermissioningTransactor ¶
func NewPermissioningTransactor(address common.Address, transactor bind.ContractTransactor) (*PermissioningTransactor, error)
NewPermissioningTransactor creates a new write-only instance of Permissioning, bound to a specific deployed contract.
func (*PermissioningTransactor) EmitRulesChangeEvent ¶
func (_Permissioning *PermissioningTransactor) EmitRulesChangeEvent(opts *bind.TransactOpts, addsRestrictions bool) (*types.Transaction, error)
EmitRulesChangeEvent is a paid mutator transaction binding the contract method 0x4dc3fefc.
Solidity: function emitRulesChangeEvent(bool addsRestrictions) returns()
func (*PermissioningTransactor) RemoveContract ¶
func (_Permissioning *PermissioningTransactor) RemoveContract(opts *bind.TransactOpts, _name [32]byte) (*types.Transaction, error)
RemoveContract is a paid mutator transaction binding the contract method 0xa43e04d8.
Solidity: function removeContract(bytes32 _name) returns(bool)
func (*PermissioningTransactor) SetContractAddress ¶
func (_Permissioning *PermissioningTransactor) SetContractAddress(opts *bind.TransactOpts, name [32]byte, addr common.Address) (*types.Transaction, error)
SetContractAddress is a paid mutator transaction binding the contract method 0xe001f841.
Solidity: function setContractAddress(bytes32 name, address addr) returns(bool)
type PermissioningTransactorRaw ¶
type PermissioningTransactorRaw struct {
Contract *PermissioningTransactor // Generic write-only contract binding to access the raw methods on
}
PermissioningTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PermissioningTransactorRaw) Transact ¶
func (_Permissioning *PermissioningTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PermissioningTransactorRaw) Transfer ¶
func (_Permissioning *PermissioningTransactorRaw) 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 PermissioningTransactorSession ¶
type PermissioningTransactorSession struct { Contract *PermissioningTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PermissioningTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PermissioningTransactorSession) EmitRulesChangeEvent ¶
func (_Permissioning *PermissioningTransactorSession) EmitRulesChangeEvent(addsRestrictions bool) (*types.Transaction, error)
EmitRulesChangeEvent is a paid mutator transaction binding the contract method 0x4dc3fefc.
Solidity: function emitRulesChangeEvent(bool addsRestrictions) returns()
func (*PermissioningTransactorSession) RemoveContract ¶
func (_Permissioning *PermissioningTransactorSession) RemoveContract(_name [32]byte) (*types.Transaction, error)
RemoveContract is a paid mutator transaction binding the contract method 0xa43e04d8.
Solidity: function removeContract(bytes32 _name) returns(bool)
func (*PermissioningTransactorSession) SetContractAddress ¶
func (_Permissioning *PermissioningTransactorSession) SetContractAddress(name [32]byte, addr common.Address) (*types.Transaction, error)
SetContractAddress is a paid mutator transaction binding the contract method 0xe001f841.
Solidity: function setContractAddress(bytes32 name, address addr) returns(bool)
type Rules ¶
type Rules struct { RulesCaller // Read-only binding to the contract RulesTransactor // Write-only binding to the contract RulesFilterer // Log filterer for contract events }
Rules is an auto generated Go binding around an Ethereum contract.
type RulesCaller ¶
type RulesCaller struct {
// contains filtered or unexported fields
}
RulesCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRulesCaller ¶
func NewRulesCaller(address common.Address, caller bind.ContractCaller) (*RulesCaller, error)
NewRulesCaller creates a new read-only instance of Rules, bound to a specific deployed contract.
func (*RulesCaller) Allowlist ¶
func (_Rules *RulesCaller) Allowlist(opts *bind.CallOpts, arg0 *big.Int) (struct { EnodeHigh [32]byte EnodeLow [32]byte Ip [16]byte Port uint16 NodeType uint8 GeoHash [6]byte Name string Organization string Did string Group [32]byte }, error)
Allowlist is a free data retrieval call binding the contract method 0x69c45824.
Solidity: function allowlist(uint256 ) view returns(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port, uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group)
func (*RulesCaller) ConnectionAllowed ¶
func (_Rules *RulesCaller) ConnectionAllowed(opts *bind.CallOpts, sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, sourceEnodeIp [16]byte, sourceEnodePort uint16, destinationEnodeHigh [32]byte, destinationEnodeLow [32]byte, destinationEnodeIp [16]byte, destinationEnodePort uint16) ([32]byte, error)
ConnectionAllowed is a free data retrieval call binding the contract method 0x3620b1df.
Solidity: function connectionAllowed(bytes32 sourceEnodeHigh, bytes32 sourceEnodeLow, bytes16 sourceEnodeIp, uint16 sourceEnodePort, bytes32 destinationEnodeHigh, bytes32 destinationEnodeLow, bytes16 destinationEnodeIp, uint16 destinationEnodePort) view returns(bytes32)
func (*RulesCaller) GetByEnode ¶
func (_Rules *RulesCaller) GetByEnode(opts *bind.CallOpts, _enodeHigh [32]byte, _enodeLow [32]byte, _ip [16]byte, _port uint16) (struct { NodeType uint8 GeoHash [6]byte Name string Organization string Did string Group [32]byte }, error)
GetByEnode is a free data retrieval call binding the contract method 0xcefac681.
Solidity: function getByEnode(bytes32 _enodeHigh, bytes32 _enodeLow, bytes16 _ip, uint16 _port) view returns(uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group)
func (*RulesCaller) GetByIndex ¶
func (_Rules *RulesCaller) GetByIndex(opts *bind.CallOpts, index *big.Int) (struct { EnodeHigh [32]byte EnodeLow [32]byte Ip [16]byte Port uint16 NodeType uint8 GeoHash [6]byte Name string Organization string Did string Group [32]byte }, error)
GetByIndex is a free data retrieval call binding the contract method 0x2d883a73.
Solidity: function getByIndex(uint256 index) view returns(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port, uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group)
func (*RulesCaller) GetContractVersion ¶
GetContractVersion is a free data retrieval call binding the contract method 0x8aa10435.
Solidity: function getContractVersion() view returns(uint256)
func (*RulesCaller) GetSize ¶
GetSize is a free data retrieval call binding the contract method 0xde8fa431.
Solidity: function getSize() view returns(uint256)
func (*RulesCaller) IsReadOnly ¶
func (_Rules *RulesCaller) IsReadOnly(opts *bind.CallOpts) (bool, error)
IsReadOnly is a free data retrieval call binding the contract method 0xdc2a60f6.
Solidity: function isReadOnly() view returns(bool)
type RulesCallerRaw ¶
type RulesCallerRaw struct {
Contract *RulesCaller // Generic read-only contract binding to access the raw methods on
}
RulesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RulesCallerRaw) Call ¶
func (_Rules *RulesCallerRaw) 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 RulesCallerSession ¶
type RulesCallerSession struct { Contract *RulesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RulesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RulesCallerSession) Allowlist ¶
func (_Rules *RulesCallerSession) Allowlist(arg0 *big.Int) (struct { EnodeHigh [32]byte EnodeLow [32]byte Ip [16]byte Port uint16 NodeType uint8 GeoHash [6]byte Name string Organization string Did string Group [32]byte }, error)
Allowlist is a free data retrieval call binding the contract method 0x69c45824.
Solidity: function allowlist(uint256 ) view returns(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port, uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group)
func (*RulesCallerSession) ConnectionAllowed ¶
func (_Rules *RulesCallerSession) ConnectionAllowed(sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, sourceEnodeIp [16]byte, sourceEnodePort uint16, destinationEnodeHigh [32]byte, destinationEnodeLow [32]byte, destinationEnodeIp [16]byte, destinationEnodePort uint16) ([32]byte, error)
ConnectionAllowed is a free data retrieval call binding the contract method 0x3620b1df.
Solidity: function connectionAllowed(bytes32 sourceEnodeHigh, bytes32 sourceEnodeLow, bytes16 sourceEnodeIp, uint16 sourceEnodePort, bytes32 destinationEnodeHigh, bytes32 destinationEnodeLow, bytes16 destinationEnodeIp, uint16 destinationEnodePort) view returns(bytes32)
func (*RulesCallerSession) GetByEnode ¶
func (_Rules *RulesCallerSession) GetByEnode(_enodeHigh [32]byte, _enodeLow [32]byte, _ip [16]byte, _port uint16) (struct { NodeType uint8 GeoHash [6]byte Name string Organization string Did string Group [32]byte }, error)
GetByEnode is a free data retrieval call binding the contract method 0xcefac681.
Solidity: function getByEnode(bytes32 _enodeHigh, bytes32 _enodeLow, bytes16 _ip, uint16 _port) view returns(uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group)
func (*RulesCallerSession) GetByIndex ¶
func (_Rules *RulesCallerSession) GetByIndex(index *big.Int) (struct { EnodeHigh [32]byte EnodeLow [32]byte Ip [16]byte Port uint16 NodeType uint8 GeoHash [6]byte Name string Organization string Did string Group [32]byte }, error)
GetByIndex is a free data retrieval call binding the contract method 0x2d883a73.
Solidity: function getByIndex(uint256 index) view returns(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port, uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group)
func (*RulesCallerSession) GetContractVersion ¶
func (_Rules *RulesCallerSession) GetContractVersion() (*big.Int, error)
GetContractVersion is a free data retrieval call binding the contract method 0x8aa10435.
Solidity: function getContractVersion() view returns(uint256)
func (*RulesCallerSession) GetSize ¶
func (_Rules *RulesCallerSession) GetSize() (*big.Int, error)
GetSize is a free data retrieval call binding the contract method 0xde8fa431.
Solidity: function getSize() view returns(uint256)
func (*RulesCallerSession) IsReadOnly ¶
func (_Rules *RulesCallerSession) IsReadOnly() (bool, error)
IsReadOnly is a free data retrieval call binding the contract method 0xdc2a60f6.
Solidity: function isReadOnly() view returns(bool)
type RulesFilterer ¶
type RulesFilterer struct {
// contains filtered or unexported fields
}
RulesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRulesFilterer ¶
func NewRulesFilterer(address common.Address, filterer bind.ContractFilterer) (*RulesFilterer, error)
NewRulesFilterer creates a new log filterer instance of Rules, bound to a specific deployed contract.
func (*RulesFilterer) FilterNodeAdded ¶
func (_Rules *RulesFilterer) FilterNodeAdded(opts *bind.FilterOpts) (*RulesNodeAddedIterator, error)
FilterNodeAdded is a free log retrieval operation binding the contract event 0x983a527ad2402ad85d7f70bcae14ec1567e0b0d2e06a6f72ffbcabfe3e8863ea.
Solidity: event NodeAdded(bool nodeAdded, bytes32 enodeHigh, bytes32 enodeLow, bytes16 enodeIp, uint16 enodePort)
func (*RulesFilterer) FilterNodeRemoved ¶
func (_Rules *RulesFilterer) FilterNodeRemoved(opts *bind.FilterOpts) (*RulesNodeRemovedIterator, error)
FilterNodeRemoved is a free log retrieval operation binding the contract event 0xf05dee0659735cf956ff02ae9f4bd9f1c41bb30ea20d7a1a3869a42c7254ca45.
Solidity: event NodeRemoved(bool nodeRemoved, bytes32 enodeHigh, bytes32 enodeLow, bytes16 enodeIp, uint16 enodePort)
func (*RulesFilterer) ParseNodeAdded ¶
func (_Rules *RulesFilterer) ParseNodeAdded(log types.Log) (*RulesNodeAdded, error)
ParseNodeAdded is a log parse operation binding the contract event 0x983a527ad2402ad85d7f70bcae14ec1567e0b0d2e06a6f72ffbcabfe3e8863ea.
Solidity: event NodeAdded(bool nodeAdded, bytes32 enodeHigh, bytes32 enodeLow, bytes16 enodeIp, uint16 enodePort)
func (*RulesFilterer) ParseNodeRemoved ¶
func (_Rules *RulesFilterer) ParseNodeRemoved(log types.Log) (*RulesNodeRemoved, error)
ParseNodeRemoved is a log parse operation binding the contract event 0xf05dee0659735cf956ff02ae9f4bd9f1c41bb30ea20d7a1a3869a42c7254ca45.
Solidity: event NodeRemoved(bool nodeRemoved, bytes32 enodeHigh, bytes32 enodeLow, bytes16 enodeIp, uint16 enodePort)
func (*RulesFilterer) WatchNodeAdded ¶
func (_Rules *RulesFilterer) WatchNodeAdded(opts *bind.WatchOpts, sink chan<- *RulesNodeAdded) (event.Subscription, error)
WatchNodeAdded is a free log subscription operation binding the contract event 0x983a527ad2402ad85d7f70bcae14ec1567e0b0d2e06a6f72ffbcabfe3e8863ea.
Solidity: event NodeAdded(bool nodeAdded, bytes32 enodeHigh, bytes32 enodeLow, bytes16 enodeIp, uint16 enodePort)
func (*RulesFilterer) WatchNodeRemoved ¶
func (_Rules *RulesFilterer) WatchNodeRemoved(opts *bind.WatchOpts, sink chan<- *RulesNodeRemoved) (event.Subscription, error)
WatchNodeRemoved is a free log subscription operation binding the contract event 0xf05dee0659735cf956ff02ae9f4bd9f1c41bb30ea20d7a1a3869a42c7254ca45.
Solidity: event NodeRemoved(bool nodeRemoved, bytes32 enodeHigh, bytes32 enodeLow, bytes16 enodeIp, uint16 enodePort)
type RulesNodeAdded ¶
type RulesNodeAdded struct { NodeAdded bool EnodeHigh [32]byte EnodeLow [32]byte EnodeIp [16]byte EnodePort uint16 Raw types.Log // Blockchain specific contextual infos }
RulesNodeAdded represents a NodeAdded event raised by the Rules contract.
type RulesNodeAddedIterator ¶
type RulesNodeAddedIterator struct { Event *RulesNodeAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RulesNodeAddedIterator is returned from FilterNodeAdded and is used to iterate over the raw logs and unpacked data for NodeAdded events raised by the Rules contract.
func (*RulesNodeAddedIterator) Close ¶
func (it *RulesNodeAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RulesNodeAddedIterator) Error ¶
func (it *RulesNodeAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RulesNodeAddedIterator) Next ¶
func (it *RulesNodeAddedIterator) 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 RulesNodeRemoved ¶
type RulesNodeRemoved struct { NodeRemoved bool EnodeHigh [32]byte EnodeLow [32]byte EnodeIp [16]byte EnodePort uint16 Raw types.Log // Blockchain specific contextual infos }
RulesNodeRemoved represents a NodeRemoved event raised by the Rules contract.
type RulesNodeRemovedIterator ¶
type RulesNodeRemovedIterator struct { Event *RulesNodeRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RulesNodeRemovedIterator is returned from FilterNodeRemoved and is used to iterate over the raw logs and unpacked data for NodeRemoved events raised by the Rules contract.
func (*RulesNodeRemovedIterator) Close ¶
func (it *RulesNodeRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RulesNodeRemovedIterator) Error ¶
func (it *RulesNodeRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RulesNodeRemovedIterator) Next ¶
func (it *RulesNodeRemovedIterator) 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 RulesRaw ¶
type RulesRaw struct {
Contract *Rules // Generic contract binding to access the raw methods on
}
RulesRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RulesRaw) Call ¶
func (_Rules *RulesRaw) 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 (*RulesRaw) Transact ¶
func (_Rules *RulesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RulesRaw) Transfer ¶
func (_Rules *RulesRaw) 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 RulesSession ¶
type RulesSession struct { Contract *Rules // 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 }
RulesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RulesSession) AddConnection ¶
func (_Rules *RulesSession) AddConnection(_groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
AddConnection is a paid mutator transaction binding the contract method 0x2da82e23.
Solidity: function addConnection(bytes32 _groupSource, bytes32 _groupDestination) returns(bool)
func (*RulesSession) AddEnode ¶
func (_Rules *RulesSession) AddEnode(enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, port uint16, nodeType uint8, geoHash [6]byte, name string, organization string, did string, group [32]byte) (*types.Transaction, error)
AddEnode is a paid mutator transaction binding the contract method 0x307b0d29.
Solidity: function addEnode(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port, uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group) returns(bool)
func (*RulesSession) Allowlist ¶
func (_Rules *RulesSession) Allowlist(arg0 *big.Int) (struct { EnodeHigh [32]byte EnodeLow [32]byte Ip [16]byte Port uint16 NodeType uint8 GeoHash [6]byte Name string Organization string Did string Group [32]byte }, error)
Allowlist is a free data retrieval call binding the contract method 0x69c45824.
Solidity: function allowlist(uint256 ) view returns(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port, uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group)
func (*RulesSession) ConnectionAllowed ¶
func (_Rules *RulesSession) ConnectionAllowed(sourceEnodeHigh [32]byte, sourceEnodeLow [32]byte, sourceEnodeIp [16]byte, sourceEnodePort uint16, destinationEnodeHigh [32]byte, destinationEnodeLow [32]byte, destinationEnodeIp [16]byte, destinationEnodePort uint16) ([32]byte, error)
ConnectionAllowed is a free data retrieval call binding the contract method 0x3620b1df.
Solidity: function connectionAllowed(bytes32 sourceEnodeHigh, bytes32 sourceEnodeLow, bytes16 sourceEnodeIp, uint16 sourceEnodePort, bytes32 destinationEnodeHigh, bytes32 destinationEnodeLow, bytes16 destinationEnodeIp, uint16 destinationEnodePort) view returns(bytes32)
func (*RulesSession) EnterReadOnly ¶
func (_Rules *RulesSession) EnterReadOnly() (*types.Transaction, error)
EnterReadOnly is a paid mutator transaction binding the contract method 0xd8cec925.
Solidity: function enterReadOnly() returns(bool)
func (*RulesSession) ExitReadOnly ¶
func (_Rules *RulesSession) ExitReadOnly() (*types.Transaction, error)
ExitReadOnly is a paid mutator transaction binding the contract method 0x0c6e35d5.
Solidity: function exitReadOnly() returns(bool)
func (*RulesSession) GetByEnode ¶
func (_Rules *RulesSession) GetByEnode(_enodeHigh [32]byte, _enodeLow [32]byte, _ip [16]byte, _port uint16) (struct { NodeType uint8 GeoHash [6]byte Name string Organization string Did string Group [32]byte }, error)
GetByEnode is a free data retrieval call binding the contract method 0xcefac681.
Solidity: function getByEnode(bytes32 _enodeHigh, bytes32 _enodeLow, bytes16 _ip, uint16 _port) view returns(uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group)
func (*RulesSession) GetByIndex ¶
func (_Rules *RulesSession) GetByIndex(index *big.Int) (struct { EnodeHigh [32]byte EnodeLow [32]byte Ip [16]byte Port uint16 NodeType uint8 GeoHash [6]byte Name string Organization string Did string Group [32]byte }, error)
GetByIndex is a free data retrieval call binding the contract method 0x2d883a73.
Solidity: function getByIndex(uint256 index) view returns(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port, uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group)
func (*RulesSession) GetContractVersion ¶
func (_Rules *RulesSession) GetContractVersion() (*big.Int, error)
GetContractVersion is a free data retrieval call binding the contract method 0x8aa10435.
Solidity: function getContractVersion() view returns(uint256)
func (*RulesSession) GetSize ¶
func (_Rules *RulesSession) GetSize() (*big.Int, error)
GetSize is a free data retrieval call binding the contract method 0xde8fa431.
Solidity: function getSize() view returns(uint256)
func (*RulesSession) IsReadOnly ¶
func (_Rules *RulesSession) IsReadOnly() (bool, error)
IsReadOnly is a free data retrieval call binding the contract method 0xdc2a60f6.
Solidity: function isReadOnly() view returns(bool)
func (*RulesSession) RemoveConnection ¶
func (_Rules *RulesSession) RemoveConnection(_groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
RemoveConnection is a paid mutator transaction binding the contract method 0x57d3e790.
Solidity: function removeConnection(bytes32 _groupSource, bytes32 _groupDestination) returns(bool)
func (*RulesSession) RemoveEnode ¶
func (_Rules *RulesSession) RemoveEnode(enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, port uint16) (*types.Transaction, error)
RemoveEnode is a paid mutator transaction binding the contract method 0xaab2f5eb.
Solidity: function removeEnode(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port) returns(bool)
func (*RulesSession) TriggerRulesChangeEvent ¶
func (_Rules *RulesSession) TriggerRulesChangeEvent(addsRestrictions bool) (*types.Transaction, error)
TriggerRulesChangeEvent is a paid mutator transaction binding the contract method 0xcc3a1c41.
Solidity: function triggerRulesChangeEvent(bool addsRestrictions) returns()
type RulesTransactor ¶
type RulesTransactor struct {
// contains filtered or unexported fields
}
RulesTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRulesTransactor ¶
func NewRulesTransactor(address common.Address, transactor bind.ContractTransactor) (*RulesTransactor, error)
NewRulesTransactor creates a new write-only instance of Rules, bound to a specific deployed contract.
func (*RulesTransactor) AddConnection ¶
func (_Rules *RulesTransactor) AddConnection(opts *bind.TransactOpts, _groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
AddConnection is a paid mutator transaction binding the contract method 0x2da82e23.
Solidity: function addConnection(bytes32 _groupSource, bytes32 _groupDestination) returns(bool)
func (*RulesTransactor) AddEnode ¶
func (_Rules *RulesTransactor) AddEnode(opts *bind.TransactOpts, enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, port uint16, nodeType uint8, geoHash [6]byte, name string, organization string, did string, group [32]byte) (*types.Transaction, error)
AddEnode is a paid mutator transaction binding the contract method 0x307b0d29.
Solidity: function addEnode(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port, uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group) returns(bool)
func (*RulesTransactor) EnterReadOnly ¶
func (_Rules *RulesTransactor) EnterReadOnly(opts *bind.TransactOpts) (*types.Transaction, error)
EnterReadOnly is a paid mutator transaction binding the contract method 0xd8cec925.
Solidity: function enterReadOnly() returns(bool)
func (*RulesTransactor) ExitReadOnly ¶
func (_Rules *RulesTransactor) ExitReadOnly(opts *bind.TransactOpts) (*types.Transaction, error)
ExitReadOnly is a paid mutator transaction binding the contract method 0x0c6e35d5.
Solidity: function exitReadOnly() returns(bool)
func (*RulesTransactor) RemoveConnection ¶
func (_Rules *RulesTransactor) RemoveConnection(opts *bind.TransactOpts, _groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
RemoveConnection is a paid mutator transaction binding the contract method 0x57d3e790.
Solidity: function removeConnection(bytes32 _groupSource, bytes32 _groupDestination) returns(bool)
func (*RulesTransactor) RemoveEnode ¶
func (_Rules *RulesTransactor) RemoveEnode(opts *bind.TransactOpts, enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, port uint16) (*types.Transaction, error)
RemoveEnode is a paid mutator transaction binding the contract method 0xaab2f5eb.
Solidity: function removeEnode(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port) returns(bool)
func (*RulesTransactor) TriggerRulesChangeEvent ¶
func (_Rules *RulesTransactor) TriggerRulesChangeEvent(opts *bind.TransactOpts, addsRestrictions bool) (*types.Transaction, error)
TriggerRulesChangeEvent is a paid mutator transaction binding the contract method 0xcc3a1c41.
Solidity: function triggerRulesChangeEvent(bool addsRestrictions) returns()
type RulesTransactorRaw ¶
type RulesTransactorRaw struct {
Contract *RulesTransactor // Generic write-only contract binding to access the raw methods on
}
RulesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RulesTransactorRaw) Transact ¶
func (_Rules *RulesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RulesTransactorRaw) Transfer ¶
func (_Rules *RulesTransactorRaw) 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 RulesTransactorSession ¶
type RulesTransactorSession struct { Contract *RulesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RulesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RulesTransactorSession) AddConnection ¶
func (_Rules *RulesTransactorSession) AddConnection(_groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
AddConnection is a paid mutator transaction binding the contract method 0x2da82e23.
Solidity: function addConnection(bytes32 _groupSource, bytes32 _groupDestination) returns(bool)
func (*RulesTransactorSession) AddEnode ¶
func (_Rules *RulesTransactorSession) AddEnode(enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, port uint16, nodeType uint8, geoHash [6]byte, name string, organization string, did string, group [32]byte) (*types.Transaction, error)
AddEnode is a paid mutator transaction binding the contract method 0x307b0d29.
Solidity: function addEnode(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port, uint8 nodeType, bytes6 geoHash, string name, string organization, string did, bytes32 group) returns(bool)
func (*RulesTransactorSession) EnterReadOnly ¶
func (_Rules *RulesTransactorSession) EnterReadOnly() (*types.Transaction, error)
EnterReadOnly is a paid mutator transaction binding the contract method 0xd8cec925.
Solidity: function enterReadOnly() returns(bool)
func (*RulesTransactorSession) ExitReadOnly ¶
func (_Rules *RulesTransactorSession) ExitReadOnly() (*types.Transaction, error)
ExitReadOnly is a paid mutator transaction binding the contract method 0x0c6e35d5.
Solidity: function exitReadOnly() returns(bool)
func (*RulesTransactorSession) RemoveConnection ¶
func (_Rules *RulesTransactorSession) RemoveConnection(_groupSource [32]byte, _groupDestination [32]byte) (*types.Transaction, error)
RemoveConnection is a paid mutator transaction binding the contract method 0x57d3e790.
Solidity: function removeConnection(bytes32 _groupSource, bytes32 _groupDestination) returns(bool)
func (*RulesTransactorSession) RemoveEnode ¶
func (_Rules *RulesTransactorSession) RemoveEnode(enodeHigh [32]byte, enodeLow [32]byte, ip [16]byte, port uint16) (*types.Transaction, error)
RemoveEnode is a paid mutator transaction binding the contract method 0xaab2f5eb.
Solidity: function removeEnode(bytes32 enodeHigh, bytes32 enodeLow, bytes16 ip, uint16 port) returns(bool)
func (*RulesTransactorSession) TriggerRulesChangeEvent ¶
func (_Rules *RulesTransactorSession) TriggerRulesChangeEvent(addsRestrictions bool) (*types.Transaction, error)
TriggerRulesChangeEvent is a paid mutator transaction binding the contract method 0xcc3a1c41.
Solidity: function triggerRulesChangeEvent(bool addsRestrictions) returns()