gateway_registry

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GatewayRegistryABI = GatewayRegistryMetaData.ABI

GatewayRegistryABI is the input ABI used to generate the binding from. Deprecated: Use GatewayRegistryMetaData.ABI instead.

View Source
var GatewayRegistryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"manager\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"FrequencyPlanAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"FrequencyPlanRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"gatewayId\",\"type\":\"bytes32\"}],\"name\":\"GatewayOffboarded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"gatewayId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"GatewayOnboarded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"onboards\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"offboards\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"updates\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"transfers\",\"type\":\"bool\"}],\"name\":\"GatewayRegistryPaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"gatewayId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"GatewayTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"gatewayId\",\"type\":\"bytes32\"}],\"name\":\"GatewayUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GATEWAY_OFFBOARD_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GATEWAY_ONBOARDER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GATEWAY_TRANSFER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GATEWAY_UPDATER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRUSTED_FORWARDER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"fp\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"addFrequencyPlan\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"name\":\"destroy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"frequencyPlans\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"gatewayCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"gatewayOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"gateways\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"publicKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"antennaGain\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"frequencyPlan\",\"type\":\"uint8\"},{\"internalType\":\"int64\",\"name\":\"location\",\"type\":\"int64\"},{\"internalType\":\"uint8\",\"name\":\"altitude\",\"type\":\"uint8\"}],\"internalType\":\"structIGatewayRegistry.Gateway\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"end\",\"type\":\"uint256\"}],\"name\":\"gatewaysPaged\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"publicKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"antennaGain\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"frequencyPlan\",\"type\":\"uint8\"},{\"internalType\":\"int64\",\"name\":\"location\",\"type\":\"int64\"},{\"internalType\":\"uint8\",\"name\":\"altitude\",\"type\":\"uint8\"}],\"internalType\":\"structIGatewayRegistry.Gateway[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"gatewayId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"offboard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"gatewayId\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"onboard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registeredGateways\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"fp\",\"type\":\"uint8\"}],\"name\":\"removeFrequencyPlan\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"onboards\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"offboards\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"updates\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"transfers\",\"type\":\"bool\"}],\"name\":\"setPauseStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"gatewayId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"currentOwner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"gatewayId\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"antennaGain\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"frequencyPlan\",\"type\":\"uint8\"},{\"internalType\":\"int64\",\"name\":\"location\",\"type\":\"int64\"},{\"internalType\":\"uint8\",\"name\":\"altitude\",\"type\":\"uint8\"}],\"name\":\"update\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

GatewayRegistryMetaData contains all meta data concerning the GatewayRegistry contract.

Functions

This section is empty.

Types

type GatewayRegistry

type GatewayRegistry struct {
	GatewayRegistryCaller     // Read-only binding to the contract
	GatewayRegistryTransactor // Write-only binding to the contract
	GatewayRegistryFilterer   // Log filterer for contract events
}

GatewayRegistry is an auto generated Go binding around an Ethereum contract.

func NewGatewayRegistry

func NewGatewayRegistry(address common.Address, backend bind.ContractBackend) (*GatewayRegistry, error)

NewGatewayRegistry creates a new instance of GatewayRegistry, bound to a specific deployed contract.

type GatewayRegistryCaller

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

GatewayRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewGatewayRegistryCaller

func NewGatewayRegistryCaller(address common.Address, caller bind.ContractCaller) (*GatewayRegistryCaller, error)

NewGatewayRegistryCaller creates a new read-only instance of GatewayRegistry, bound to a specific deployed contract.

func (*GatewayRegistryCaller) DEFAULTADMINROLE

func (_GatewayRegistry *GatewayRegistryCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*GatewayRegistryCaller) FrequencyPlans

func (_GatewayRegistry *GatewayRegistryCaller) FrequencyPlans(opts *bind.CallOpts, arg0 uint8) (string, error)

FrequencyPlans is a free data retrieval call binding the contract method 0x809ae202.

Solidity: function frequencyPlans(uint8 ) view returns(string)

func (*GatewayRegistryCaller) GATEWAYOFFBOARDROLE

func (_GatewayRegistry *GatewayRegistryCaller) GATEWAYOFFBOARDROLE(opts *bind.CallOpts) ([32]byte, error)

GATEWAYOFFBOARDROLE is a free data retrieval call binding the contract method 0xd9044941.

Solidity: function GATEWAY_OFFBOARD_ROLE() view returns(bytes32)

func (*GatewayRegistryCaller) GATEWAYONBOARDERROLE

func (_GatewayRegistry *GatewayRegistryCaller) GATEWAYONBOARDERROLE(opts *bind.CallOpts) ([32]byte, error)

GATEWAYONBOARDERROLE is a free data retrieval call binding the contract method 0x473682c3.

Solidity: function GATEWAY_ONBOARDER_ROLE() view returns(bytes32)

func (*GatewayRegistryCaller) GATEWAYTRANSFERROLE

func (_GatewayRegistry *GatewayRegistryCaller) GATEWAYTRANSFERROLE(opts *bind.CallOpts) ([32]byte, error)

GATEWAYTRANSFERROLE is a free data retrieval call binding the contract method 0x569b9c5f.

Solidity: function GATEWAY_TRANSFER_ROLE() view returns(bytes32)

func (*GatewayRegistryCaller) GATEWAYUPDATERROLE

func (_GatewayRegistry *GatewayRegistryCaller) GATEWAYUPDATERROLE(opts *bind.CallOpts) ([32]byte, error)

GATEWAYUPDATERROLE is a free data retrieval call binding the contract method 0xff1d8d5f.

Solidity: function GATEWAY_UPDATER_ROLE() view returns(bytes32)

func (*GatewayRegistryCaller) GatewayCount

func (_GatewayRegistry *GatewayRegistryCaller) GatewayCount(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

GatewayCount is a free data retrieval call binding the contract method 0xbe1e5aa5.

Solidity: function gatewayCount(address owner) view returns(uint256)

func (*GatewayRegistryCaller) GatewayOwner

func (_GatewayRegistry *GatewayRegistryCaller) GatewayOwner(opts *bind.CallOpts, id [32]byte) (common.Address, error)

GatewayOwner is a free data retrieval call binding the contract method 0x78c8ae5f.

Solidity: function gatewayOwner(bytes32 id) view returns(address)

func (*GatewayRegistryCaller) Gateways

func (_GatewayRegistry *GatewayRegistryCaller) Gateways(opts *bind.CallOpts, id [32]byte) (IGatewayRegistryGateway, error)

Gateways is a free data retrieval call binding the contract method 0xfbe336ff.

Solidity: function gateways(bytes32 id) view returns((bytes32,uint8,address,uint8,uint8,int64,uint8))

func (*GatewayRegistryCaller) GatewaysPaged

func (_GatewayRegistry *GatewayRegistryCaller) GatewaysPaged(opts *bind.CallOpts, owner common.Address, start *big.Int, end *big.Int) ([]IGatewayRegistryGateway, error)

GatewaysPaged is a free data retrieval call binding the contract method 0xd3fa7495.

Solidity: function gatewaysPaged(address owner, uint256 start, uint256 end) view returns((bytes32,uint8,address,uint8,uint8,int64,uint8)[])

func (*GatewayRegistryCaller) GetRoleAdmin

func (_GatewayRegistry *GatewayRegistryCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*GatewayRegistryCaller) HasRole

func (_GatewayRegistry *GatewayRegistryCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*GatewayRegistryCaller) RegisteredGateways

func (_GatewayRegistry *GatewayRegistryCaller) RegisteredGateways(opts *bind.CallOpts) (*big.Int, error)

RegisteredGateways is a free data retrieval call binding the contract method 0x06543c1a.

Solidity: function registeredGateways() view returns(uint256)

func (*GatewayRegistryCaller) SupportsInterface

func (_GatewayRegistry *GatewayRegistryCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*GatewayRegistryCaller) TRUSTEDFORWARDERROLE

func (_GatewayRegistry *GatewayRegistryCaller) TRUSTEDFORWARDERROLE(opts *bind.CallOpts) ([32]byte, error)

TRUSTEDFORWARDERROLE is a free data retrieval call binding the contract method 0x00cba943.

Solidity: function TRUSTED_FORWARDER_ROLE() view returns(bytes32)

type GatewayRegistryCallerRaw

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

GatewayRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*GatewayRegistryCallerRaw) Call

func (_GatewayRegistry *GatewayRegistryCallerRaw) 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 GatewayRegistryCallerSession

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

GatewayRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*GatewayRegistryCallerSession) DEFAULTADMINROLE

func (_GatewayRegistry *GatewayRegistryCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*GatewayRegistryCallerSession) FrequencyPlans

func (_GatewayRegistry *GatewayRegistryCallerSession) FrequencyPlans(arg0 uint8) (string, error)

FrequencyPlans is a free data retrieval call binding the contract method 0x809ae202.

Solidity: function frequencyPlans(uint8 ) view returns(string)

func (*GatewayRegistryCallerSession) GATEWAYOFFBOARDROLE

func (_GatewayRegistry *GatewayRegistryCallerSession) GATEWAYOFFBOARDROLE() ([32]byte, error)

GATEWAYOFFBOARDROLE is a free data retrieval call binding the contract method 0xd9044941.

Solidity: function GATEWAY_OFFBOARD_ROLE() view returns(bytes32)

func (*GatewayRegistryCallerSession) GATEWAYONBOARDERROLE

func (_GatewayRegistry *GatewayRegistryCallerSession) GATEWAYONBOARDERROLE() ([32]byte, error)

GATEWAYONBOARDERROLE is a free data retrieval call binding the contract method 0x473682c3.

Solidity: function GATEWAY_ONBOARDER_ROLE() view returns(bytes32)

func (*GatewayRegistryCallerSession) GATEWAYTRANSFERROLE

func (_GatewayRegistry *GatewayRegistryCallerSession) GATEWAYTRANSFERROLE() ([32]byte, error)

GATEWAYTRANSFERROLE is a free data retrieval call binding the contract method 0x569b9c5f.

Solidity: function GATEWAY_TRANSFER_ROLE() view returns(bytes32)

func (*GatewayRegistryCallerSession) GATEWAYUPDATERROLE

func (_GatewayRegistry *GatewayRegistryCallerSession) GATEWAYUPDATERROLE() ([32]byte, error)

GATEWAYUPDATERROLE is a free data retrieval call binding the contract method 0xff1d8d5f.

Solidity: function GATEWAY_UPDATER_ROLE() view returns(bytes32)

func (*GatewayRegistryCallerSession) GatewayCount

func (_GatewayRegistry *GatewayRegistryCallerSession) GatewayCount(owner common.Address) (*big.Int, error)

GatewayCount is a free data retrieval call binding the contract method 0xbe1e5aa5.

Solidity: function gatewayCount(address owner) view returns(uint256)

func (*GatewayRegistryCallerSession) GatewayOwner

func (_GatewayRegistry *GatewayRegistryCallerSession) GatewayOwner(id [32]byte) (common.Address, error)

GatewayOwner is a free data retrieval call binding the contract method 0x78c8ae5f.

Solidity: function gatewayOwner(bytes32 id) view returns(address)

func (*GatewayRegistryCallerSession) Gateways

func (_GatewayRegistry *GatewayRegistryCallerSession) Gateways(id [32]byte) (IGatewayRegistryGateway, error)

Gateways is a free data retrieval call binding the contract method 0xfbe336ff.

Solidity: function gateways(bytes32 id) view returns((bytes32,uint8,address,uint8,uint8,int64,uint8))

func (*GatewayRegistryCallerSession) GatewaysPaged

func (_GatewayRegistry *GatewayRegistryCallerSession) GatewaysPaged(owner common.Address, start *big.Int, end *big.Int) ([]IGatewayRegistryGateway, error)

GatewaysPaged is a free data retrieval call binding the contract method 0xd3fa7495.

Solidity: function gatewaysPaged(address owner, uint256 start, uint256 end) view returns((bytes32,uint8,address,uint8,uint8,int64,uint8)[])

func (*GatewayRegistryCallerSession) GetRoleAdmin

func (_GatewayRegistry *GatewayRegistryCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*GatewayRegistryCallerSession) HasRole

func (_GatewayRegistry *GatewayRegistryCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*GatewayRegistryCallerSession) RegisteredGateways

func (_GatewayRegistry *GatewayRegistryCallerSession) RegisteredGateways() (*big.Int, error)

RegisteredGateways is a free data retrieval call binding the contract method 0x06543c1a.

Solidity: function registeredGateways() view returns(uint256)

func (*GatewayRegistryCallerSession) SupportsInterface

func (_GatewayRegistry *GatewayRegistryCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*GatewayRegistryCallerSession) TRUSTEDFORWARDERROLE

func (_GatewayRegistry *GatewayRegistryCallerSession) TRUSTEDFORWARDERROLE() ([32]byte, error)

TRUSTEDFORWARDERROLE is a free data retrieval call binding the contract method 0x00cba943.

Solidity: function TRUSTED_FORWARDER_ROLE() view returns(bytes32)

type GatewayRegistryFilterer

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

GatewayRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewGatewayRegistryFilterer

func NewGatewayRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*GatewayRegistryFilterer, error)

NewGatewayRegistryFilterer creates a new log filterer instance of GatewayRegistry, bound to a specific deployed contract.

func (*GatewayRegistryFilterer) FilterFrequencyPlanAdded

func (_GatewayRegistry *GatewayRegistryFilterer) FilterFrequencyPlanAdded(opts *bind.FilterOpts, arg0 []uint8) (*GatewayRegistryFrequencyPlanAddedIterator, error)

FilterFrequencyPlanAdded is a free log retrieval operation binding the contract event 0x5eb1afacf56fce1c91289feeed93783eefc45e3111990d01a42bde4078ec6198.

Solidity: event FrequencyPlanAdded(uint8 indexed arg0)

func (*GatewayRegistryFilterer) FilterFrequencyPlanRemoved

func (_GatewayRegistry *GatewayRegistryFilterer) FilterFrequencyPlanRemoved(opts *bind.FilterOpts, arg0 []uint8) (*GatewayRegistryFrequencyPlanRemovedIterator, error)

FilterFrequencyPlanRemoved is a free log retrieval operation binding the contract event 0x898a81f51a8979704f8c50be34010e7d8aac481090dbff9badfd49079b58f06f.

Solidity: event FrequencyPlanRemoved(uint8 indexed arg0)

func (*GatewayRegistryFilterer) FilterGatewayOffboarded

func (_GatewayRegistry *GatewayRegistryFilterer) FilterGatewayOffboarded(opts *bind.FilterOpts, gatewayId [][32]byte) (*GatewayRegistryGatewayOffboardedIterator, error)

FilterGatewayOffboarded is a free log retrieval operation binding the contract event 0x3fdaf0b55cfef0439169d60405b136ee3fd10646dd858e08a8334f9000c3eba7.

Solidity: event GatewayOffboarded(bytes32 indexed gatewayId)

func (*GatewayRegistryFilterer) FilterGatewayOnboarded

func (_GatewayRegistry *GatewayRegistryFilterer) FilterGatewayOnboarded(opts *bind.FilterOpts, gatewayId [][32]byte, owner []common.Address) (*GatewayRegistryGatewayOnboardedIterator, error)

FilterGatewayOnboarded is a free log retrieval operation binding the contract event 0xa60d6768fbd8c6717e7c8635f5bdf299dca6ff32aac817950e620eec5da47fdb.

Solidity: event GatewayOnboarded(bytes32 indexed gatewayId, address indexed owner)

func (*GatewayRegistryFilterer) FilterGatewayRegistryPaused

func (_GatewayRegistry *GatewayRegistryFilterer) FilterGatewayRegistryPaused(opts *bind.FilterOpts) (*GatewayRegistryGatewayRegistryPausedIterator, error)

FilterGatewayRegistryPaused is a free log retrieval operation binding the contract event 0x0d30b4d10c0e924cbf1332f59500d2f843b7f4910bebc4e6347a492cf2dfdee5.

Solidity: event GatewayRegistryPaused(bool onboards, bool offboards, bool updates, bool transfers)

func (*GatewayRegistryFilterer) FilterGatewayTransferred

func (_GatewayRegistry *GatewayRegistryFilterer) FilterGatewayTransferred(opts *bind.FilterOpts, gatewayId [][32]byte, oldOwner []common.Address, newOwner []common.Address) (*GatewayRegistryGatewayTransferredIterator, error)

FilterGatewayTransferred is a free log retrieval operation binding the contract event 0xd83561db967da60f545e3a0538a24a25874f4aa9b3b14ac2e63415c8dea21c0e.

Solidity: event GatewayTransferred(bytes32 indexed gatewayId, address indexed oldOwner, address indexed newOwner)

func (*GatewayRegistryFilterer) FilterGatewayUpdated

func (_GatewayRegistry *GatewayRegistryFilterer) FilterGatewayUpdated(opts *bind.FilterOpts, gatewayId [][32]byte) (*GatewayRegistryGatewayUpdatedIterator, error)

FilterGatewayUpdated is a free log retrieval operation binding the contract event 0x6d07f738d8b7adf4f097fc73b96bb18ceeebfc0d2274b8b8e138973b5dc84016.

Solidity: event GatewayUpdated(bytes32 indexed gatewayId)

func (*GatewayRegistryFilterer) FilterRoleAdminChanged

func (_GatewayRegistry *GatewayRegistryFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*GatewayRegistryRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*GatewayRegistryFilterer) FilterRoleGranted

func (_GatewayRegistry *GatewayRegistryFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*GatewayRegistryRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*GatewayRegistryFilterer) FilterRoleRevoked

func (_GatewayRegistry *GatewayRegistryFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*GatewayRegistryRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*GatewayRegistryFilterer) ParseFrequencyPlanAdded

func (_GatewayRegistry *GatewayRegistryFilterer) ParseFrequencyPlanAdded(log types.Log) (*GatewayRegistryFrequencyPlanAdded, error)

ParseFrequencyPlanAdded is a log parse operation binding the contract event 0x5eb1afacf56fce1c91289feeed93783eefc45e3111990d01a42bde4078ec6198.

Solidity: event FrequencyPlanAdded(uint8 indexed arg0)

func (*GatewayRegistryFilterer) ParseFrequencyPlanRemoved

func (_GatewayRegistry *GatewayRegistryFilterer) ParseFrequencyPlanRemoved(log types.Log) (*GatewayRegistryFrequencyPlanRemoved, error)

ParseFrequencyPlanRemoved is a log parse operation binding the contract event 0x898a81f51a8979704f8c50be34010e7d8aac481090dbff9badfd49079b58f06f.

Solidity: event FrequencyPlanRemoved(uint8 indexed arg0)

func (*GatewayRegistryFilterer) ParseGatewayOffboarded

func (_GatewayRegistry *GatewayRegistryFilterer) ParseGatewayOffboarded(log types.Log) (*GatewayRegistryGatewayOffboarded, error)

ParseGatewayOffboarded is a log parse operation binding the contract event 0x3fdaf0b55cfef0439169d60405b136ee3fd10646dd858e08a8334f9000c3eba7.

Solidity: event GatewayOffboarded(bytes32 indexed gatewayId)

func (*GatewayRegistryFilterer) ParseGatewayOnboarded

func (_GatewayRegistry *GatewayRegistryFilterer) ParseGatewayOnboarded(log types.Log) (*GatewayRegistryGatewayOnboarded, error)

ParseGatewayOnboarded is a log parse operation binding the contract event 0xa60d6768fbd8c6717e7c8635f5bdf299dca6ff32aac817950e620eec5da47fdb.

Solidity: event GatewayOnboarded(bytes32 indexed gatewayId, address indexed owner)

func (*GatewayRegistryFilterer) ParseGatewayRegistryPaused

func (_GatewayRegistry *GatewayRegistryFilterer) ParseGatewayRegistryPaused(log types.Log) (*GatewayRegistryGatewayRegistryPaused, error)

ParseGatewayRegistryPaused is a log parse operation binding the contract event 0x0d30b4d10c0e924cbf1332f59500d2f843b7f4910bebc4e6347a492cf2dfdee5.

Solidity: event GatewayRegistryPaused(bool onboards, bool offboards, bool updates, bool transfers)

func (*GatewayRegistryFilterer) ParseGatewayTransferred

func (_GatewayRegistry *GatewayRegistryFilterer) ParseGatewayTransferred(log types.Log) (*GatewayRegistryGatewayTransferred, error)

ParseGatewayTransferred is a log parse operation binding the contract event 0xd83561db967da60f545e3a0538a24a25874f4aa9b3b14ac2e63415c8dea21c0e.

Solidity: event GatewayTransferred(bytes32 indexed gatewayId, address indexed oldOwner, address indexed newOwner)

func (*GatewayRegistryFilterer) ParseGatewayUpdated

func (_GatewayRegistry *GatewayRegistryFilterer) ParseGatewayUpdated(log types.Log) (*GatewayRegistryGatewayUpdated, error)

ParseGatewayUpdated is a log parse operation binding the contract event 0x6d07f738d8b7adf4f097fc73b96bb18ceeebfc0d2274b8b8e138973b5dc84016.

Solidity: event GatewayUpdated(bytes32 indexed gatewayId)

func (*GatewayRegistryFilterer) ParseRoleAdminChanged

func (_GatewayRegistry *GatewayRegistryFilterer) ParseRoleAdminChanged(log types.Log) (*GatewayRegistryRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*GatewayRegistryFilterer) ParseRoleGranted

func (_GatewayRegistry *GatewayRegistryFilterer) ParseRoleGranted(log types.Log) (*GatewayRegistryRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*GatewayRegistryFilterer) ParseRoleRevoked

func (_GatewayRegistry *GatewayRegistryFilterer) ParseRoleRevoked(log types.Log) (*GatewayRegistryRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*GatewayRegistryFilterer) WatchFrequencyPlanAdded

func (_GatewayRegistry *GatewayRegistryFilterer) WatchFrequencyPlanAdded(opts *bind.WatchOpts, sink chan<- *GatewayRegistryFrequencyPlanAdded, arg0 []uint8) (event.Subscription, error)

WatchFrequencyPlanAdded is a free log subscription operation binding the contract event 0x5eb1afacf56fce1c91289feeed93783eefc45e3111990d01a42bde4078ec6198.

Solidity: event FrequencyPlanAdded(uint8 indexed arg0)

func (*GatewayRegistryFilterer) WatchFrequencyPlanRemoved

func (_GatewayRegistry *GatewayRegistryFilterer) WatchFrequencyPlanRemoved(opts *bind.WatchOpts, sink chan<- *GatewayRegistryFrequencyPlanRemoved, arg0 []uint8) (event.Subscription, error)

WatchFrequencyPlanRemoved is a free log subscription operation binding the contract event 0x898a81f51a8979704f8c50be34010e7d8aac481090dbff9badfd49079b58f06f.

Solidity: event FrequencyPlanRemoved(uint8 indexed arg0)

func (*GatewayRegistryFilterer) WatchGatewayOffboarded

func (_GatewayRegistry *GatewayRegistryFilterer) WatchGatewayOffboarded(opts *bind.WatchOpts, sink chan<- *GatewayRegistryGatewayOffboarded, gatewayId [][32]byte) (event.Subscription, error)

WatchGatewayOffboarded is a free log subscription operation binding the contract event 0x3fdaf0b55cfef0439169d60405b136ee3fd10646dd858e08a8334f9000c3eba7.

Solidity: event GatewayOffboarded(bytes32 indexed gatewayId)

func (*GatewayRegistryFilterer) WatchGatewayOnboarded

func (_GatewayRegistry *GatewayRegistryFilterer) WatchGatewayOnboarded(opts *bind.WatchOpts, sink chan<- *GatewayRegistryGatewayOnboarded, gatewayId [][32]byte, owner []common.Address) (event.Subscription, error)

WatchGatewayOnboarded is a free log subscription operation binding the contract event 0xa60d6768fbd8c6717e7c8635f5bdf299dca6ff32aac817950e620eec5da47fdb.

Solidity: event GatewayOnboarded(bytes32 indexed gatewayId, address indexed owner)

func (*GatewayRegistryFilterer) WatchGatewayRegistryPaused

func (_GatewayRegistry *GatewayRegistryFilterer) WatchGatewayRegistryPaused(opts *bind.WatchOpts, sink chan<- *GatewayRegistryGatewayRegistryPaused) (event.Subscription, error)

WatchGatewayRegistryPaused is a free log subscription operation binding the contract event 0x0d30b4d10c0e924cbf1332f59500d2f843b7f4910bebc4e6347a492cf2dfdee5.

Solidity: event GatewayRegistryPaused(bool onboards, bool offboards, bool updates, bool transfers)

func (*GatewayRegistryFilterer) WatchGatewayTransferred

func (_GatewayRegistry *GatewayRegistryFilterer) WatchGatewayTransferred(opts *bind.WatchOpts, sink chan<- *GatewayRegistryGatewayTransferred, gatewayId [][32]byte, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchGatewayTransferred is a free log subscription operation binding the contract event 0xd83561db967da60f545e3a0538a24a25874f4aa9b3b14ac2e63415c8dea21c0e.

Solidity: event GatewayTransferred(bytes32 indexed gatewayId, address indexed oldOwner, address indexed newOwner)

func (*GatewayRegistryFilterer) WatchGatewayUpdated

func (_GatewayRegistry *GatewayRegistryFilterer) WatchGatewayUpdated(opts *bind.WatchOpts, sink chan<- *GatewayRegistryGatewayUpdated, gatewayId [][32]byte) (event.Subscription, error)

WatchGatewayUpdated is a free log subscription operation binding the contract event 0x6d07f738d8b7adf4f097fc73b96bb18ceeebfc0d2274b8b8e138973b5dc84016.

Solidity: event GatewayUpdated(bytes32 indexed gatewayId)

func (*GatewayRegistryFilterer) WatchRoleAdminChanged

func (_GatewayRegistry *GatewayRegistryFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *GatewayRegistryRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*GatewayRegistryFilterer) WatchRoleGranted

func (_GatewayRegistry *GatewayRegistryFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *GatewayRegistryRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*GatewayRegistryFilterer) WatchRoleRevoked

func (_GatewayRegistry *GatewayRegistryFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *GatewayRegistryRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

type GatewayRegistryFrequencyPlanAdded

type GatewayRegistryFrequencyPlanAdded struct {
	Arg0 uint8
	Raw  types.Log // Blockchain specific contextual infos
}

GatewayRegistryFrequencyPlanAdded represents a FrequencyPlanAdded event raised by the GatewayRegistry contract.

type GatewayRegistryFrequencyPlanAddedIterator

type GatewayRegistryFrequencyPlanAddedIterator struct {
	Event *GatewayRegistryFrequencyPlanAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GatewayRegistryFrequencyPlanAddedIterator is returned from FilterFrequencyPlanAdded and is used to iterate over the raw logs and unpacked data for FrequencyPlanAdded events raised by the GatewayRegistry contract.

func (*GatewayRegistryFrequencyPlanAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GatewayRegistryFrequencyPlanAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayRegistryFrequencyPlanAddedIterator) Next

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 GatewayRegistryFrequencyPlanRemoved

type GatewayRegistryFrequencyPlanRemoved struct {
	Arg0 uint8
	Raw  types.Log // Blockchain specific contextual infos
}

GatewayRegistryFrequencyPlanRemoved represents a FrequencyPlanRemoved event raised by the GatewayRegistry contract.

type GatewayRegistryFrequencyPlanRemovedIterator

type GatewayRegistryFrequencyPlanRemovedIterator struct {
	Event *GatewayRegistryFrequencyPlanRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GatewayRegistryFrequencyPlanRemovedIterator is returned from FilterFrequencyPlanRemoved and is used to iterate over the raw logs and unpacked data for FrequencyPlanRemoved events raised by the GatewayRegistry contract.

func (*GatewayRegistryFrequencyPlanRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GatewayRegistryFrequencyPlanRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayRegistryFrequencyPlanRemovedIterator) Next

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 GatewayRegistryGatewayOffboarded

type GatewayRegistryGatewayOffboarded struct {
	GatewayId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

GatewayRegistryGatewayOffboarded represents a GatewayOffboarded event raised by the GatewayRegistry contract.

type GatewayRegistryGatewayOffboardedIterator

type GatewayRegistryGatewayOffboardedIterator struct {
	Event *GatewayRegistryGatewayOffboarded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GatewayRegistryGatewayOffboardedIterator is returned from FilterGatewayOffboarded and is used to iterate over the raw logs and unpacked data for GatewayOffboarded events raised by the GatewayRegistry contract.

func (*GatewayRegistryGatewayOffboardedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GatewayRegistryGatewayOffboardedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayRegistryGatewayOffboardedIterator) Next

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 GatewayRegistryGatewayOnboarded

type GatewayRegistryGatewayOnboarded struct {
	GatewayId [32]byte
	Owner     common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

GatewayRegistryGatewayOnboarded represents a GatewayOnboarded event raised by the GatewayRegistry contract.

type GatewayRegistryGatewayOnboardedIterator

type GatewayRegistryGatewayOnboardedIterator struct {
	Event *GatewayRegistryGatewayOnboarded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GatewayRegistryGatewayOnboardedIterator is returned from FilterGatewayOnboarded and is used to iterate over the raw logs and unpacked data for GatewayOnboarded events raised by the GatewayRegistry contract.

func (*GatewayRegistryGatewayOnboardedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GatewayRegistryGatewayOnboardedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayRegistryGatewayOnboardedIterator) Next

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 GatewayRegistryGatewayRegistryPaused

type GatewayRegistryGatewayRegistryPaused struct {
	Onboards  bool
	Offboards bool
	Updates   bool
	Transfers bool
	Raw       types.Log // Blockchain specific contextual infos
}

GatewayRegistryGatewayRegistryPaused represents a GatewayRegistryPaused event raised by the GatewayRegistry contract.

type GatewayRegistryGatewayRegistryPausedIterator

type GatewayRegistryGatewayRegistryPausedIterator struct {
	Event *GatewayRegistryGatewayRegistryPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GatewayRegistryGatewayRegistryPausedIterator is returned from FilterGatewayRegistryPaused and is used to iterate over the raw logs and unpacked data for GatewayRegistryPaused events raised by the GatewayRegistry contract.

func (*GatewayRegistryGatewayRegistryPausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GatewayRegistryGatewayRegistryPausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayRegistryGatewayRegistryPausedIterator) Next

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 GatewayRegistryGatewayTransferred

type GatewayRegistryGatewayTransferred struct {
	GatewayId [32]byte
	OldOwner  common.Address
	NewOwner  common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

GatewayRegistryGatewayTransferred represents a GatewayTransferred event raised by the GatewayRegistry contract.

type GatewayRegistryGatewayTransferredIterator

type GatewayRegistryGatewayTransferredIterator struct {
	Event *GatewayRegistryGatewayTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GatewayRegistryGatewayTransferredIterator is returned from FilterGatewayTransferred and is used to iterate over the raw logs and unpacked data for GatewayTransferred events raised by the GatewayRegistry contract.

func (*GatewayRegistryGatewayTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GatewayRegistryGatewayTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayRegistryGatewayTransferredIterator) Next

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 GatewayRegistryGatewayUpdated

type GatewayRegistryGatewayUpdated struct {
	GatewayId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

GatewayRegistryGatewayUpdated represents a GatewayUpdated event raised by the GatewayRegistry contract.

type GatewayRegistryGatewayUpdatedIterator

type GatewayRegistryGatewayUpdatedIterator struct {
	Event *GatewayRegistryGatewayUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GatewayRegistryGatewayUpdatedIterator is returned from FilterGatewayUpdated and is used to iterate over the raw logs and unpacked data for GatewayUpdated events raised by the GatewayRegistry contract.

func (*GatewayRegistryGatewayUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GatewayRegistryGatewayUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayRegistryGatewayUpdatedIterator) Next

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 GatewayRegistryRaw

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

GatewayRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*GatewayRegistryRaw) Call

func (_GatewayRegistry *GatewayRegistryRaw) 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 (*GatewayRegistryRaw) Transact

func (_GatewayRegistry *GatewayRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

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

func (*GatewayRegistryRaw) Transfer

func (_GatewayRegistry *GatewayRegistryRaw) 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 GatewayRegistryRoleAdminChanged

type GatewayRegistryRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

GatewayRegistryRoleAdminChanged represents a RoleAdminChanged event raised by the GatewayRegistry contract.

type GatewayRegistryRoleAdminChangedIterator

type GatewayRegistryRoleAdminChangedIterator struct {
	Event *GatewayRegistryRoleAdminChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GatewayRegistryRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the GatewayRegistry contract.

func (*GatewayRegistryRoleAdminChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GatewayRegistryRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayRegistryRoleAdminChangedIterator) Next

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 GatewayRegistryRoleGranted

type GatewayRegistryRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

GatewayRegistryRoleGranted represents a RoleGranted event raised by the GatewayRegistry contract.

type GatewayRegistryRoleGrantedIterator

type GatewayRegistryRoleGrantedIterator struct {
	Event *GatewayRegistryRoleGranted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GatewayRegistryRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the GatewayRegistry contract.

func (*GatewayRegistryRoleGrantedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GatewayRegistryRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayRegistryRoleGrantedIterator) Next

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 GatewayRegistryRoleRevoked

type GatewayRegistryRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

GatewayRegistryRoleRevoked represents a RoleRevoked event raised by the GatewayRegistry contract.

type GatewayRegistryRoleRevokedIterator

type GatewayRegistryRoleRevokedIterator struct {
	Event *GatewayRegistryRoleRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GatewayRegistryRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the GatewayRegistry contract.

func (*GatewayRegistryRoleRevokedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GatewayRegistryRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayRegistryRoleRevokedIterator) Next

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 GatewayRegistrySession

type GatewayRegistrySession struct {
	Contract     *GatewayRegistry  // 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
}

GatewayRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*GatewayRegistrySession) AddFrequencyPlan

func (_GatewayRegistry *GatewayRegistrySession) AddFrequencyPlan(fp uint8, name string) (*types.Transaction, error)

AddFrequencyPlan is a paid mutator transaction binding the contract method 0x640335c7.

Solidity: function addFrequencyPlan(uint8 fp, string name) returns()

func (*GatewayRegistrySession) DEFAULTADMINROLE

func (_GatewayRegistry *GatewayRegistrySession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*GatewayRegistrySession) Destroy

func (_GatewayRegistry *GatewayRegistrySession) Destroy(beneficiary common.Address) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.

Solidity: function destroy(address beneficiary) returns()

func (*GatewayRegistrySession) FrequencyPlans

func (_GatewayRegistry *GatewayRegistrySession) FrequencyPlans(arg0 uint8) (string, error)

FrequencyPlans is a free data retrieval call binding the contract method 0x809ae202.

Solidity: function frequencyPlans(uint8 ) view returns(string)

func (*GatewayRegistrySession) GATEWAYOFFBOARDROLE

func (_GatewayRegistry *GatewayRegistrySession) GATEWAYOFFBOARDROLE() ([32]byte, error)

GATEWAYOFFBOARDROLE is a free data retrieval call binding the contract method 0xd9044941.

Solidity: function GATEWAY_OFFBOARD_ROLE() view returns(bytes32)

func (*GatewayRegistrySession) GATEWAYONBOARDERROLE

func (_GatewayRegistry *GatewayRegistrySession) GATEWAYONBOARDERROLE() ([32]byte, error)

GATEWAYONBOARDERROLE is a free data retrieval call binding the contract method 0x473682c3.

Solidity: function GATEWAY_ONBOARDER_ROLE() view returns(bytes32)

func (*GatewayRegistrySession) GATEWAYTRANSFERROLE

func (_GatewayRegistry *GatewayRegistrySession) GATEWAYTRANSFERROLE() ([32]byte, error)

GATEWAYTRANSFERROLE is a free data retrieval call binding the contract method 0x569b9c5f.

Solidity: function GATEWAY_TRANSFER_ROLE() view returns(bytes32)

func (*GatewayRegistrySession) GATEWAYUPDATERROLE

func (_GatewayRegistry *GatewayRegistrySession) GATEWAYUPDATERROLE() ([32]byte, error)

GATEWAYUPDATERROLE is a free data retrieval call binding the contract method 0xff1d8d5f.

Solidity: function GATEWAY_UPDATER_ROLE() view returns(bytes32)

func (*GatewayRegistrySession) GatewayCount

func (_GatewayRegistry *GatewayRegistrySession) GatewayCount(owner common.Address) (*big.Int, error)

GatewayCount is a free data retrieval call binding the contract method 0xbe1e5aa5.

Solidity: function gatewayCount(address owner) view returns(uint256)

func (*GatewayRegistrySession) GatewayOwner

func (_GatewayRegistry *GatewayRegistrySession) GatewayOwner(id [32]byte) (common.Address, error)

GatewayOwner is a free data retrieval call binding the contract method 0x78c8ae5f.

Solidity: function gatewayOwner(bytes32 id) view returns(address)

func (*GatewayRegistrySession) Gateways

func (_GatewayRegistry *GatewayRegistrySession) Gateways(id [32]byte) (IGatewayRegistryGateway, error)

Gateways is a free data retrieval call binding the contract method 0xfbe336ff.

Solidity: function gateways(bytes32 id) view returns((bytes32,uint8,address,uint8,uint8,int64,uint8))

func (*GatewayRegistrySession) GatewaysPaged

func (_GatewayRegistry *GatewayRegistrySession) GatewaysPaged(owner common.Address, start *big.Int, end *big.Int) ([]IGatewayRegistryGateway, error)

GatewaysPaged is a free data retrieval call binding the contract method 0xd3fa7495.

Solidity: function gatewaysPaged(address owner, uint256 start, uint256 end) view returns((bytes32,uint8,address,uint8,uint8,int64,uint8)[])

func (*GatewayRegistrySession) GetRoleAdmin

func (_GatewayRegistry *GatewayRegistrySession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*GatewayRegistrySession) GrantRole

func (_GatewayRegistry *GatewayRegistrySession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*GatewayRegistrySession) HasRole

func (_GatewayRegistry *GatewayRegistrySession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*GatewayRegistrySession) Offboard

func (_GatewayRegistry *GatewayRegistrySession) Offboard(gatewayId [32]byte, owner common.Address) (*types.Transaction, error)

Offboard is a paid mutator transaction binding the contract method 0x55bb316c.

Solidity: function offboard(bytes32 gatewayId, address owner) returns()

func (*GatewayRegistrySession) Onboard

func (_GatewayRegistry *GatewayRegistrySession) Onboard(gatewayId [32]byte, version uint8, owner common.Address) (*types.Transaction, error)

Onboard is a paid mutator transaction binding the contract method 0x5a5bc82b.

Solidity: function onboard(bytes32 gatewayId, uint8 version, address owner) returns()

func (*GatewayRegistrySession) RegisteredGateways

func (_GatewayRegistry *GatewayRegistrySession) RegisteredGateways() (*big.Int, error)

RegisteredGateways is a free data retrieval call binding the contract method 0x06543c1a.

Solidity: function registeredGateways() view returns(uint256)

func (*GatewayRegistrySession) RemoveFrequencyPlan

func (_GatewayRegistry *GatewayRegistrySession) RemoveFrequencyPlan(fp uint8) (*types.Transaction, error)

RemoveFrequencyPlan is a paid mutator transaction binding the contract method 0x893729b3.

Solidity: function removeFrequencyPlan(uint8 fp) returns()

func (*GatewayRegistrySession) RenounceRole

func (_GatewayRegistry *GatewayRegistrySession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*GatewayRegistrySession) RevokeRole

func (_GatewayRegistry *GatewayRegistrySession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*GatewayRegistrySession) SetPauseStatus

func (_GatewayRegistry *GatewayRegistrySession) SetPauseStatus(onboards bool, offboards bool, updates bool, transfers bool) (*types.Transaction, error)

SetPauseStatus is a paid mutator transaction binding the contract method 0x1c6fd6ab.

Solidity: function setPauseStatus(bool onboards, bool offboards, bool updates, bool transfers) returns()

func (*GatewayRegistrySession) SupportsInterface

func (_GatewayRegistry *GatewayRegistrySession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*GatewayRegistrySession) TRUSTEDFORWARDERROLE

func (_GatewayRegistry *GatewayRegistrySession) TRUSTEDFORWARDERROLE() ([32]byte, error)

TRUSTEDFORWARDERROLE is a free data retrieval call binding the contract method 0x00cba943.

Solidity: function TRUSTED_FORWARDER_ROLE() view returns(bytes32)

func (*GatewayRegistrySession) Transfer

func (_GatewayRegistry *GatewayRegistrySession) Transfer(gatewayId [32]byte, currentOwner common.Address, newOwner common.Address) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x3d6028ca.

Solidity: function transfer(bytes32 gatewayId, address currentOwner, address newOwner) returns()

func (*GatewayRegistrySession) Update

func (_GatewayRegistry *GatewayRegistrySession) Update(gatewayId [32]byte, version uint8, owner common.Address, antennaGain uint8, frequencyPlan uint8, location int64, altitude uint8) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x5f7bca1c.

Solidity: function update(bytes32 gatewayId, uint8 version, address owner, uint8 antennaGain, uint8 frequencyPlan, int64 location, uint8 altitude) returns()

type GatewayRegistryTransactor

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

GatewayRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewGatewayRegistryTransactor

func NewGatewayRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*GatewayRegistryTransactor, error)

NewGatewayRegistryTransactor creates a new write-only instance of GatewayRegistry, bound to a specific deployed contract.

func (*GatewayRegistryTransactor) AddFrequencyPlan

func (_GatewayRegistry *GatewayRegistryTransactor) AddFrequencyPlan(opts *bind.TransactOpts, fp uint8, name string) (*types.Transaction, error)

AddFrequencyPlan is a paid mutator transaction binding the contract method 0x640335c7.

Solidity: function addFrequencyPlan(uint8 fp, string name) returns()

func (*GatewayRegistryTransactor) Destroy

func (_GatewayRegistry *GatewayRegistryTransactor) Destroy(opts *bind.TransactOpts, beneficiary common.Address) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.

Solidity: function destroy(address beneficiary) returns()

func (*GatewayRegistryTransactor) GrantRole

func (_GatewayRegistry *GatewayRegistryTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*GatewayRegistryTransactor) Offboard

func (_GatewayRegistry *GatewayRegistryTransactor) Offboard(opts *bind.TransactOpts, gatewayId [32]byte, owner common.Address) (*types.Transaction, error)

Offboard is a paid mutator transaction binding the contract method 0x55bb316c.

Solidity: function offboard(bytes32 gatewayId, address owner) returns()

func (*GatewayRegistryTransactor) Onboard

func (_GatewayRegistry *GatewayRegistryTransactor) Onboard(opts *bind.TransactOpts, gatewayId [32]byte, version uint8, owner common.Address) (*types.Transaction, error)

Onboard is a paid mutator transaction binding the contract method 0x5a5bc82b.

Solidity: function onboard(bytes32 gatewayId, uint8 version, address owner) returns()

func (*GatewayRegistryTransactor) RemoveFrequencyPlan

func (_GatewayRegistry *GatewayRegistryTransactor) RemoveFrequencyPlan(opts *bind.TransactOpts, fp uint8) (*types.Transaction, error)

RemoveFrequencyPlan is a paid mutator transaction binding the contract method 0x893729b3.

Solidity: function removeFrequencyPlan(uint8 fp) returns()

func (*GatewayRegistryTransactor) RenounceRole

func (_GatewayRegistry *GatewayRegistryTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*GatewayRegistryTransactor) RevokeRole

func (_GatewayRegistry *GatewayRegistryTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*GatewayRegistryTransactor) SetPauseStatus

func (_GatewayRegistry *GatewayRegistryTransactor) SetPauseStatus(opts *bind.TransactOpts, onboards bool, offboards bool, updates bool, transfers bool) (*types.Transaction, error)

SetPauseStatus is a paid mutator transaction binding the contract method 0x1c6fd6ab.

Solidity: function setPauseStatus(bool onboards, bool offboards, bool updates, bool transfers) returns()

func (*GatewayRegistryTransactor) Transfer

func (_GatewayRegistry *GatewayRegistryTransactor) Transfer(opts *bind.TransactOpts, gatewayId [32]byte, currentOwner common.Address, newOwner common.Address) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x3d6028ca.

Solidity: function transfer(bytes32 gatewayId, address currentOwner, address newOwner) returns()

func (*GatewayRegistryTransactor) Update

func (_GatewayRegistry *GatewayRegistryTransactor) Update(opts *bind.TransactOpts, gatewayId [32]byte, version uint8, owner common.Address, antennaGain uint8, frequencyPlan uint8, location int64, altitude uint8) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x5f7bca1c.

Solidity: function update(bytes32 gatewayId, uint8 version, address owner, uint8 antennaGain, uint8 frequencyPlan, int64 location, uint8 altitude) returns()

type GatewayRegistryTransactorRaw

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

GatewayRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*GatewayRegistryTransactorRaw) Transact

func (_GatewayRegistry *GatewayRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

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

func (*GatewayRegistryTransactorRaw) Transfer

func (_GatewayRegistry *GatewayRegistryTransactorRaw) 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 GatewayRegistryTransactorSession

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

GatewayRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*GatewayRegistryTransactorSession) AddFrequencyPlan

func (_GatewayRegistry *GatewayRegistryTransactorSession) AddFrequencyPlan(fp uint8, name string) (*types.Transaction, error)

AddFrequencyPlan is a paid mutator transaction binding the contract method 0x640335c7.

Solidity: function addFrequencyPlan(uint8 fp, string name) returns()

func (*GatewayRegistryTransactorSession) Destroy

func (_GatewayRegistry *GatewayRegistryTransactorSession) Destroy(beneficiary common.Address) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.

Solidity: function destroy(address beneficiary) returns()

func (*GatewayRegistryTransactorSession) GrantRole

func (_GatewayRegistry *GatewayRegistryTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*GatewayRegistryTransactorSession) Offboard

func (_GatewayRegistry *GatewayRegistryTransactorSession) Offboard(gatewayId [32]byte, owner common.Address) (*types.Transaction, error)

Offboard is a paid mutator transaction binding the contract method 0x55bb316c.

Solidity: function offboard(bytes32 gatewayId, address owner) returns()

func (*GatewayRegistryTransactorSession) Onboard

func (_GatewayRegistry *GatewayRegistryTransactorSession) Onboard(gatewayId [32]byte, version uint8, owner common.Address) (*types.Transaction, error)

Onboard is a paid mutator transaction binding the contract method 0x5a5bc82b.

Solidity: function onboard(bytes32 gatewayId, uint8 version, address owner) returns()

func (*GatewayRegistryTransactorSession) RemoveFrequencyPlan

func (_GatewayRegistry *GatewayRegistryTransactorSession) RemoveFrequencyPlan(fp uint8) (*types.Transaction, error)

RemoveFrequencyPlan is a paid mutator transaction binding the contract method 0x893729b3.

Solidity: function removeFrequencyPlan(uint8 fp) returns()

func (*GatewayRegistryTransactorSession) RenounceRole

func (_GatewayRegistry *GatewayRegistryTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*GatewayRegistryTransactorSession) RevokeRole

func (_GatewayRegistry *GatewayRegistryTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*GatewayRegistryTransactorSession) SetPauseStatus

func (_GatewayRegistry *GatewayRegistryTransactorSession) SetPauseStatus(onboards bool, offboards bool, updates bool, transfers bool) (*types.Transaction, error)

SetPauseStatus is a paid mutator transaction binding the contract method 0x1c6fd6ab.

Solidity: function setPauseStatus(bool onboards, bool offboards, bool updates, bool transfers) returns()

func (*GatewayRegistryTransactorSession) Transfer

func (_GatewayRegistry *GatewayRegistryTransactorSession) Transfer(gatewayId [32]byte, currentOwner common.Address, newOwner common.Address) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x3d6028ca.

Solidity: function transfer(bytes32 gatewayId, address currentOwner, address newOwner) returns()

func (*GatewayRegistryTransactorSession) Update

func (_GatewayRegistry *GatewayRegistryTransactorSession) Update(gatewayId [32]byte, version uint8, owner common.Address, antennaGain uint8, frequencyPlan uint8, location int64, altitude uint8) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x5f7bca1c.

Solidity: function update(bytes32 gatewayId, uint8 version, address owner, uint8 antennaGain, uint8 frequencyPlan, int64 location, uint8 altitude) returns()

type IGatewayRegistryGateway

type IGatewayRegistryGateway struct {
	PublicKey     [32]byte
	Version       uint8
	Owner         common.Address
	AntennaGain   uint8
	FrequencyPlan uint8
	Location      int64
	Altitude      uint8
}

IGatewayRegistryGateway is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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