abis

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GroupMessagesABI = GroupMessagesMetaData.ABI

GroupMessagesABI is the input ABI used to generate the binding from. Deprecated: Use GroupMessagesMetaData.ABI instead.

View Source
var GroupMessagesMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"addMessage\",\"inputs\":[{\"name\":\"groupId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"message\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"MessageSent\",\"inputs\":[{\"name\":\"groupId\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"message\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"sequenceId\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false}]",
}

GroupMessagesMetaData contains all meta data concerning the GroupMessages contract.

View Source
var IdentityUpdatesABI = IdentityUpdatesMetaData.ABI

IdentityUpdatesABI is the input ABI used to generate the binding from. Deprecated: Use IdentityUpdatesMetaData.ABI instead.

View Source
var IdentityUpdatesMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"addIdentityUpdate\",\"inputs\":[{\"name\":\"inboxId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"update\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"IdentityUpdateCreated\",\"inputs\":[{\"name\":\"inboxId\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"update\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"sequenceId\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false}]",
}

IdentityUpdatesMetaData contains all meta data concerning the IdentityUpdates contract.

View Source
var NodesABI = NodesMetaData.ABI

NodesABI is the input ABI used to generate the binding from. Deprecated: Use NodesMetaData.ABI instead.

View Source
var NodesMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"addNode\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"signingKeyPub\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"httpAddress\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"allNodes\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"internalType\":\"structNodes.NodeWithId[]\",\"components\":[{\"name\":\"nodeId\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"node\",\"type\":\"tuple\",\"internalType\":\"structNodes.Node\",\"components\":[{\"name\":\"signingKeyPub\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"httpAddress\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"isHealthy\",\"type\":\"bool\",\"internalType\":\"bool\"}]}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getApproved\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getNode\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structNodes.Node\",\"components\":[{\"name\":\"signingKeyPub\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"httpAddress\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"isHealthy\",\"type\":\"bool\",\"internalType\":\"bool\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"healthyNodes\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"internalType\":\"structNodes.NodeWithId[]\",\"components\":[{\"name\":\"nodeId\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"node\",\"type\":\"tuple\",\"internalType\":\"structNodes.Node\",\"components\":[{\"name\":\"signingKeyPub\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"httpAddress\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"isHealthy\",\"type\":\"bool\",\"internalType\":\"bool\"}]}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isApprovedForAll\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ownerOf\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"safeTransferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"safeTransferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setApprovalForAll\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"approved\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"tokenURI\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateHealth\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"isHealthy\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateHttpAddress\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"httpAddress\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"approved\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ApprovalForAll\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"approved\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"NodeUpdated\",\"inputs\":[{\"name\":\"nodeId\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"node\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structNodes.Node\",\"components\":[{\"name\":\"signingKeyPub\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"httpAddress\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"isHealthy\",\"type\":\"bool\",\"internalType\":\"bool\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ERC721IncorrectOwner\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721InsufficientApproval\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ERC721InvalidApprover\",\"inputs\":[{\"name\":\"approver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721InvalidOperator\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721InvalidOwner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721InvalidReceiver\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721InvalidSender\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721NonexistentToken\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"OwnableInvalidOwner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"OwnableUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}]}]",
}

NodesMetaData contains all meta data concerning the Nodes contract.

Functions

This section is empty.

Types

type GroupMessages

type GroupMessages struct {
	GroupMessagesCaller     // Read-only binding to the contract
	GroupMessagesTransactor // Write-only binding to the contract
	GroupMessagesFilterer   // Log filterer for contract events
}

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

func NewGroupMessages

func NewGroupMessages(address common.Address, backend bind.ContractBackend) (*GroupMessages, error)

NewGroupMessages creates a new instance of GroupMessages, bound to a specific deployed contract.

type GroupMessagesCaller

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

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

func NewGroupMessagesCaller

func NewGroupMessagesCaller(address common.Address, caller bind.ContractCaller) (*GroupMessagesCaller, error)

NewGroupMessagesCaller creates a new read-only instance of GroupMessages, bound to a specific deployed contract.

type GroupMessagesCallerRaw

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

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

func (*GroupMessagesCallerRaw) Call

func (_GroupMessages *GroupMessagesCallerRaw) 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 GroupMessagesCallerSession

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

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

type GroupMessagesFilterer

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

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

func NewGroupMessagesFilterer

func NewGroupMessagesFilterer(address common.Address, filterer bind.ContractFilterer) (*GroupMessagesFilterer, error)

NewGroupMessagesFilterer creates a new log filterer instance of GroupMessages, bound to a specific deployed contract.

func (*GroupMessagesFilterer) FilterMessageSent

func (_GroupMessages *GroupMessagesFilterer) FilterMessageSent(opts *bind.FilterOpts) (*GroupMessagesMessageSentIterator, error)

FilterMessageSent is a free log retrieval operation binding the contract event 0x91f47151424884a46811ed593aa8a02ee5012e9332a4dcf1e9236a8ed4443c3e.

Solidity: event MessageSent(bytes32 groupId, bytes message, uint64 sequenceId)

func (*GroupMessagesFilterer) ParseMessageSent

func (_GroupMessages *GroupMessagesFilterer) ParseMessageSent(log types.Log) (*GroupMessagesMessageSent, error)

ParseMessageSent is a log parse operation binding the contract event 0x91f47151424884a46811ed593aa8a02ee5012e9332a4dcf1e9236a8ed4443c3e.

Solidity: event MessageSent(bytes32 groupId, bytes message, uint64 sequenceId)

func (*GroupMessagesFilterer) WatchMessageSent

func (_GroupMessages *GroupMessagesFilterer) WatchMessageSent(opts *bind.WatchOpts, sink chan<- *GroupMessagesMessageSent) (event.Subscription, error)

WatchMessageSent is a free log subscription operation binding the contract event 0x91f47151424884a46811ed593aa8a02ee5012e9332a4dcf1e9236a8ed4443c3e.

Solidity: event MessageSent(bytes32 groupId, bytes message, uint64 sequenceId)

type GroupMessagesMessageSent

type GroupMessagesMessageSent struct {
	GroupId    [32]byte
	Message    []byte
	SequenceId uint64
	Raw        types.Log // Blockchain specific contextual infos
}

GroupMessagesMessageSent represents a MessageSent event raised by the GroupMessages contract.

type GroupMessagesMessageSentIterator

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

GroupMessagesMessageSentIterator is returned from FilterMessageSent and is used to iterate over the raw logs and unpacked data for MessageSent events raised by the GroupMessages contract.

func (*GroupMessagesMessageSentIterator) Close

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

func (*GroupMessagesMessageSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GroupMessagesMessageSentIterator) 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 GroupMessagesRaw

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

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

func (*GroupMessagesRaw) Call

func (_GroupMessages *GroupMessagesRaw) 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 (*GroupMessagesRaw) Transact

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

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

func (*GroupMessagesRaw) Transfer

func (_GroupMessages *GroupMessagesRaw) 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 GroupMessagesSession

type GroupMessagesSession struct {
	Contract     *GroupMessages    // 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
}

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

func (*GroupMessagesSession) AddMessage

func (_GroupMessages *GroupMessagesSession) AddMessage(groupId [32]byte, message []byte) (*types.Transaction, error)

AddMessage is a paid mutator transaction binding the contract method 0x4dff26b5.

Solidity: function addMessage(bytes32 groupId, bytes message) returns()

type GroupMessagesTransactor

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

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

func NewGroupMessagesTransactor

func NewGroupMessagesTransactor(address common.Address, transactor bind.ContractTransactor) (*GroupMessagesTransactor, error)

NewGroupMessagesTransactor creates a new write-only instance of GroupMessages, bound to a specific deployed contract.

func (*GroupMessagesTransactor) AddMessage

func (_GroupMessages *GroupMessagesTransactor) AddMessage(opts *bind.TransactOpts, groupId [32]byte, message []byte) (*types.Transaction, error)

AddMessage is a paid mutator transaction binding the contract method 0x4dff26b5.

Solidity: function addMessage(bytes32 groupId, bytes message) returns()

type GroupMessagesTransactorRaw

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

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

func (*GroupMessagesTransactorRaw) Transact

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

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

func (*GroupMessagesTransactorRaw) Transfer

func (_GroupMessages *GroupMessagesTransactorRaw) 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 GroupMessagesTransactorSession

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

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

func (*GroupMessagesTransactorSession) AddMessage

func (_GroupMessages *GroupMessagesTransactorSession) AddMessage(groupId [32]byte, message []byte) (*types.Transaction, error)

AddMessage is a paid mutator transaction binding the contract method 0x4dff26b5.

Solidity: function addMessage(bytes32 groupId, bytes message) returns()

type IdentityUpdates

type IdentityUpdates struct {
	IdentityUpdatesCaller     // Read-only binding to the contract
	IdentityUpdatesTransactor // Write-only binding to the contract
	IdentityUpdatesFilterer   // Log filterer for contract events
}

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

func NewIdentityUpdates

func NewIdentityUpdates(address common.Address, backend bind.ContractBackend) (*IdentityUpdates, error)

NewIdentityUpdates creates a new instance of IdentityUpdates, bound to a specific deployed contract.

type IdentityUpdatesCaller

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

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

func NewIdentityUpdatesCaller

func NewIdentityUpdatesCaller(address common.Address, caller bind.ContractCaller) (*IdentityUpdatesCaller, error)

NewIdentityUpdatesCaller creates a new read-only instance of IdentityUpdates, bound to a specific deployed contract.

type IdentityUpdatesCallerRaw

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

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

func (*IdentityUpdatesCallerRaw) Call

func (_IdentityUpdates *IdentityUpdatesCallerRaw) 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 IdentityUpdatesCallerSession

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

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

type IdentityUpdatesFilterer

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

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

func NewIdentityUpdatesFilterer

func NewIdentityUpdatesFilterer(address common.Address, filterer bind.ContractFilterer) (*IdentityUpdatesFilterer, error)

NewIdentityUpdatesFilterer creates a new log filterer instance of IdentityUpdates, bound to a specific deployed contract.

func (*IdentityUpdatesFilterer) FilterIdentityUpdateCreated

func (_IdentityUpdates *IdentityUpdatesFilterer) FilterIdentityUpdateCreated(opts *bind.FilterOpts) (*IdentityUpdatesIdentityUpdateCreatedIterator, error)

FilterIdentityUpdateCreated is a free log retrieval operation binding the contract event 0xc1a40f292090ec0435e939cdfe248e0322a88566679a90a50c4e9e5ef762dbd5.

Solidity: event IdentityUpdateCreated(bytes32 inboxId, bytes update, uint64 sequenceId)

func (*IdentityUpdatesFilterer) ParseIdentityUpdateCreated

func (_IdentityUpdates *IdentityUpdatesFilterer) ParseIdentityUpdateCreated(log types.Log) (*IdentityUpdatesIdentityUpdateCreated, error)

ParseIdentityUpdateCreated is a log parse operation binding the contract event 0xc1a40f292090ec0435e939cdfe248e0322a88566679a90a50c4e9e5ef762dbd5.

Solidity: event IdentityUpdateCreated(bytes32 inboxId, bytes update, uint64 sequenceId)

func (*IdentityUpdatesFilterer) WatchIdentityUpdateCreated

func (_IdentityUpdates *IdentityUpdatesFilterer) WatchIdentityUpdateCreated(opts *bind.WatchOpts, sink chan<- *IdentityUpdatesIdentityUpdateCreated) (event.Subscription, error)

WatchIdentityUpdateCreated is a free log subscription operation binding the contract event 0xc1a40f292090ec0435e939cdfe248e0322a88566679a90a50c4e9e5ef762dbd5.

Solidity: event IdentityUpdateCreated(bytes32 inboxId, bytes update, uint64 sequenceId)

type IdentityUpdatesIdentityUpdateCreated

type IdentityUpdatesIdentityUpdateCreated struct {
	InboxId    [32]byte
	Update     []byte
	SequenceId uint64
	Raw        types.Log // Blockchain specific contextual infos
}

IdentityUpdatesIdentityUpdateCreated represents a IdentityUpdateCreated event raised by the IdentityUpdates contract.

type IdentityUpdatesIdentityUpdateCreatedIterator

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

IdentityUpdatesIdentityUpdateCreatedIterator is returned from FilterIdentityUpdateCreated and is used to iterate over the raw logs and unpacked data for IdentityUpdateCreated events raised by the IdentityUpdates contract.

func (*IdentityUpdatesIdentityUpdateCreatedIterator) Close

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

func (*IdentityUpdatesIdentityUpdateCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IdentityUpdatesIdentityUpdateCreatedIterator) 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 IdentityUpdatesRaw

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

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

func (*IdentityUpdatesRaw) Call

func (_IdentityUpdates *IdentityUpdatesRaw) 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 (*IdentityUpdatesRaw) Transact

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

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

func (*IdentityUpdatesRaw) Transfer

func (_IdentityUpdates *IdentityUpdatesRaw) 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 IdentityUpdatesSession

type IdentityUpdatesSession struct {
	Contract     *IdentityUpdates  // 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
}

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

func (*IdentityUpdatesSession) AddIdentityUpdate

func (_IdentityUpdates *IdentityUpdatesSession) AddIdentityUpdate(inboxId [32]byte, update []byte) (*types.Transaction, error)

AddIdentityUpdate is a paid mutator transaction binding the contract method 0xba74fc7c.

Solidity: function addIdentityUpdate(bytes32 inboxId, bytes update) returns()

type IdentityUpdatesTransactor

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

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

func NewIdentityUpdatesTransactor

func NewIdentityUpdatesTransactor(address common.Address, transactor bind.ContractTransactor) (*IdentityUpdatesTransactor, error)

NewIdentityUpdatesTransactor creates a new write-only instance of IdentityUpdates, bound to a specific deployed contract.

func (*IdentityUpdatesTransactor) AddIdentityUpdate

func (_IdentityUpdates *IdentityUpdatesTransactor) AddIdentityUpdate(opts *bind.TransactOpts, inboxId [32]byte, update []byte) (*types.Transaction, error)

AddIdentityUpdate is a paid mutator transaction binding the contract method 0xba74fc7c.

Solidity: function addIdentityUpdate(bytes32 inboxId, bytes update) returns()

type IdentityUpdatesTransactorRaw

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

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

func (*IdentityUpdatesTransactorRaw) Transact

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

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

func (*IdentityUpdatesTransactorRaw) Transfer

func (_IdentityUpdates *IdentityUpdatesTransactorRaw) 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 IdentityUpdatesTransactorSession

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

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

func (*IdentityUpdatesTransactorSession) AddIdentityUpdate

func (_IdentityUpdates *IdentityUpdatesTransactorSession) AddIdentityUpdate(inboxId [32]byte, update []byte) (*types.Transaction, error)

AddIdentityUpdate is a paid mutator transaction binding the contract method 0xba74fc7c.

Solidity: function addIdentityUpdate(bytes32 inboxId, bytes update) returns()

type Nodes

type Nodes struct {
	NodesCaller     // Read-only binding to the contract
	NodesTransactor // Write-only binding to the contract
	NodesFilterer   // Log filterer for contract events
}

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

func NewNodes

func NewNodes(address common.Address, backend bind.ContractBackend) (*Nodes, error)

NewNodes creates a new instance of Nodes, bound to a specific deployed contract.

type NodesApproval

type NodesApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

NodesApproval represents a Approval event raised by the Nodes contract.

type NodesApprovalForAll

type NodesApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

NodesApprovalForAll represents a ApprovalForAll event raised by the Nodes contract.

type NodesApprovalForAllIterator

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

NodesApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Nodes contract.

func (*NodesApprovalForAllIterator) Close

func (it *NodesApprovalForAllIterator) Close() error

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

func (*NodesApprovalForAllIterator) Error

func (it *NodesApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodesApprovalForAllIterator) Next

func (it *NodesApprovalForAllIterator) 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 NodesApprovalIterator

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

NodesApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Nodes contract.

func (*NodesApprovalIterator) Close

func (it *NodesApprovalIterator) Close() error

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

func (*NodesApprovalIterator) Error

func (it *NodesApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodesApprovalIterator) Next

func (it *NodesApprovalIterator) 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 NodesCaller

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

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

func NewNodesCaller

func NewNodesCaller(address common.Address, caller bind.ContractCaller) (*NodesCaller, error)

NewNodesCaller creates a new read-only instance of Nodes, bound to a specific deployed contract.

func (*NodesCaller) AllNodes

func (_Nodes *NodesCaller) AllNodes(opts *bind.CallOpts) ([]NodesNodeWithId, error)

AllNodes is a free data retrieval call binding the contract method 0x02f6f1ba.

Solidity: function allNodes() view returns((uint32,(bytes,string,bool))[])

func (*NodesCaller) BalanceOf

func (_Nodes *NodesCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*NodesCaller) GetApproved

func (_Nodes *NodesCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*NodesCaller) GetNode

func (_Nodes *NodesCaller) GetNode(opts *bind.CallOpts, tokenId *big.Int) (NodesNode, error)

GetNode is a free data retrieval call binding the contract method 0x4f0f4aa9.

Solidity: function getNode(uint256 tokenId) view returns((bytes,string,bool))

func (*NodesCaller) HealthyNodes

func (_Nodes *NodesCaller) HealthyNodes(opts *bind.CallOpts) ([]NodesNodeWithId, error)

HealthyNodes is a free data retrieval call binding the contract method 0x17b5b840.

Solidity: function healthyNodes() view returns((uint32,(bytes,string,bool))[])

func (*NodesCaller) IsApprovedForAll

func (_Nodes *NodesCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*NodesCaller) Name

func (_Nodes *NodesCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*NodesCaller) Owner

func (_Nodes *NodesCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*NodesCaller) OwnerOf

func (_Nodes *NodesCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*NodesCaller) SupportsInterface

func (_Nodes *NodesCaller) 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 (*NodesCaller) Symbol

func (_Nodes *NodesCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*NodesCaller) TokenURI

func (_Nodes *NodesCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

type NodesCallerRaw

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

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

func (*NodesCallerRaw) Call

func (_Nodes *NodesCallerRaw) 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 NodesCallerSession

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

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

func (*NodesCallerSession) AllNodes

func (_Nodes *NodesCallerSession) AllNodes() ([]NodesNodeWithId, error)

AllNodes is a free data retrieval call binding the contract method 0x02f6f1ba.

Solidity: function allNodes() view returns((uint32,(bytes,string,bool))[])

func (*NodesCallerSession) BalanceOf

func (_Nodes *NodesCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*NodesCallerSession) GetApproved

func (_Nodes *NodesCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*NodesCallerSession) GetNode

func (_Nodes *NodesCallerSession) GetNode(tokenId *big.Int) (NodesNode, error)

GetNode is a free data retrieval call binding the contract method 0x4f0f4aa9.

Solidity: function getNode(uint256 tokenId) view returns((bytes,string,bool))

func (*NodesCallerSession) HealthyNodes

func (_Nodes *NodesCallerSession) HealthyNodes() ([]NodesNodeWithId, error)

HealthyNodes is a free data retrieval call binding the contract method 0x17b5b840.

Solidity: function healthyNodes() view returns((uint32,(bytes,string,bool))[])

func (*NodesCallerSession) IsApprovedForAll

func (_Nodes *NodesCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*NodesCallerSession) Name

func (_Nodes *NodesCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*NodesCallerSession) Owner

func (_Nodes *NodesCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*NodesCallerSession) OwnerOf

func (_Nodes *NodesCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*NodesCallerSession) SupportsInterface

func (_Nodes *NodesCallerSession) 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 (*NodesCallerSession) Symbol

func (_Nodes *NodesCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*NodesCallerSession) TokenURI

func (_Nodes *NodesCallerSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

type NodesFilterer

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

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

func NewNodesFilterer

func NewNodesFilterer(address common.Address, filterer bind.ContractFilterer) (*NodesFilterer, error)

NewNodesFilterer creates a new log filterer instance of Nodes, bound to a specific deployed contract.

func (*NodesFilterer) FilterApproval

func (_Nodes *NodesFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*NodesApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*NodesFilterer) FilterApprovalForAll

func (_Nodes *NodesFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*NodesApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*NodesFilterer) FilterNodeUpdated

func (_Nodes *NodesFilterer) FilterNodeUpdated(opts *bind.FilterOpts) (*NodesNodeUpdatedIterator, error)

FilterNodeUpdated is a free log retrieval operation binding the contract event 0x925a803604a97550dcfaba2eb298fb6e6f828340bdf9d467d2a34c50cfbba96a.

Solidity: event NodeUpdated(uint256 nodeId, (bytes,string,bool) node)

func (*NodesFilterer) FilterOwnershipTransferred

func (_Nodes *NodesFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*NodesOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*NodesFilterer) FilterTransfer

func (_Nodes *NodesFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*NodesTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*NodesFilterer) ParseApproval

func (_Nodes *NodesFilterer) ParseApproval(log types.Log) (*NodesApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*NodesFilterer) ParseApprovalForAll

func (_Nodes *NodesFilterer) ParseApprovalForAll(log types.Log) (*NodesApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*NodesFilterer) ParseNodeUpdated

func (_Nodes *NodesFilterer) ParseNodeUpdated(log types.Log) (*NodesNodeUpdated, error)

ParseNodeUpdated is a log parse operation binding the contract event 0x925a803604a97550dcfaba2eb298fb6e6f828340bdf9d467d2a34c50cfbba96a.

Solidity: event NodeUpdated(uint256 nodeId, (bytes,string,bool) node)

func (*NodesFilterer) ParseOwnershipTransferred

func (_Nodes *NodesFilterer) ParseOwnershipTransferred(log types.Log) (*NodesOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*NodesFilterer) ParseTransfer

func (_Nodes *NodesFilterer) ParseTransfer(log types.Log) (*NodesTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*NodesFilterer) WatchApproval

func (_Nodes *NodesFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *NodesApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*NodesFilterer) WatchApprovalForAll

func (_Nodes *NodesFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *NodesApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*NodesFilterer) WatchNodeUpdated

func (_Nodes *NodesFilterer) WatchNodeUpdated(opts *bind.WatchOpts, sink chan<- *NodesNodeUpdated) (event.Subscription, error)

WatchNodeUpdated is a free log subscription operation binding the contract event 0x925a803604a97550dcfaba2eb298fb6e6f828340bdf9d467d2a34c50cfbba96a.

Solidity: event NodeUpdated(uint256 nodeId, (bytes,string,bool) node)

func (*NodesFilterer) WatchOwnershipTransferred

func (_Nodes *NodesFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *NodesOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*NodesFilterer) WatchTransfer

func (_Nodes *NodesFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *NodesTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

type NodesNode

type NodesNode struct {
	SigningKeyPub []byte
	HttpAddress   string
	IsHealthy     bool
}

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

type NodesNodeUpdated

type NodesNodeUpdated struct {
	NodeId *big.Int
	Node   NodesNode
	Raw    types.Log // Blockchain specific contextual infos
}

NodesNodeUpdated represents a NodeUpdated event raised by the Nodes contract.

type NodesNodeUpdatedIterator

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

NodesNodeUpdatedIterator is returned from FilterNodeUpdated and is used to iterate over the raw logs and unpacked data for NodeUpdated events raised by the Nodes contract.

func (*NodesNodeUpdatedIterator) Close

func (it *NodesNodeUpdatedIterator) Close() error

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

func (*NodesNodeUpdatedIterator) Error

func (it *NodesNodeUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodesNodeUpdatedIterator) Next

func (it *NodesNodeUpdatedIterator) 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 NodesNodeWithId

type NodesNodeWithId struct {
	NodeId uint32
	Node   NodesNode
}

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

type NodesOwnershipTransferred

type NodesOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

NodesOwnershipTransferred represents a OwnershipTransferred event raised by the Nodes contract.

type NodesOwnershipTransferredIterator

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

NodesOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Nodes contract.

func (*NodesOwnershipTransferredIterator) Close

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

func (*NodesOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodesOwnershipTransferredIterator) 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 NodesRaw

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

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

func (*NodesRaw) Call

func (_Nodes *NodesRaw) 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 (*NodesRaw) Transact

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

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

func (*NodesRaw) Transfer

func (_Nodes *NodesRaw) 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 NodesSession

type NodesSession struct {
	Contract     *Nodes            // 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
}

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

func (*NodesSession) AddNode

func (_Nodes *NodesSession) AddNode(to common.Address, signingKeyPub []byte, httpAddress string) (*types.Transaction, error)

AddNode is a paid mutator transaction binding the contract method 0xa0eae81d.

Solidity: function addNode(address to, bytes signingKeyPub, string httpAddress) returns(uint32)

func (*NodesSession) AllNodes

func (_Nodes *NodesSession) AllNodes() ([]NodesNodeWithId, error)

AllNodes is a free data retrieval call binding the contract method 0x02f6f1ba.

Solidity: function allNodes() view returns((uint32,(bytes,string,bool))[])

func (*NodesSession) Approve

func (_Nodes *NodesSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*NodesSession) BalanceOf

func (_Nodes *NodesSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*NodesSession) GetApproved

func (_Nodes *NodesSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*NodesSession) GetNode

func (_Nodes *NodesSession) GetNode(tokenId *big.Int) (NodesNode, error)

GetNode is a free data retrieval call binding the contract method 0x4f0f4aa9.

Solidity: function getNode(uint256 tokenId) view returns((bytes,string,bool))

func (*NodesSession) HealthyNodes

func (_Nodes *NodesSession) HealthyNodes() ([]NodesNodeWithId, error)

HealthyNodes is a free data retrieval call binding the contract method 0x17b5b840.

Solidity: function healthyNodes() view returns((uint32,(bytes,string,bool))[])

func (*NodesSession) IsApprovedForAll

func (_Nodes *NodesSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*NodesSession) Name

func (_Nodes *NodesSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*NodesSession) Owner

func (_Nodes *NodesSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*NodesSession) OwnerOf

func (_Nodes *NodesSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*NodesSession) RenounceOwnership

func (_Nodes *NodesSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*NodesSession) SafeTransferFrom

func (_Nodes *NodesSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*NodesSession) SafeTransferFrom0

func (_Nodes *NodesSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*NodesSession) SetApprovalForAll

func (_Nodes *NodesSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*NodesSession) SupportsInterface

func (_Nodes *NodesSession) 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 (*NodesSession) Symbol

func (_Nodes *NodesSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*NodesSession) TokenURI

func (_Nodes *NodesSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*NodesSession) TransferFrom

func (_Nodes *NodesSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*NodesSession) TransferOwnership

func (_Nodes *NodesSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*NodesSession) UpdateHealth

func (_Nodes *NodesSession) UpdateHealth(tokenId *big.Int, isHealthy bool) (*types.Transaction, error)

UpdateHealth is a paid mutator transaction binding the contract method 0x8354196f.

Solidity: function updateHealth(uint256 tokenId, bool isHealthy) returns()

func (*NodesSession) UpdateHttpAddress

func (_Nodes *NodesSession) UpdateHttpAddress(tokenId *big.Int, httpAddress string) (*types.Transaction, error)

UpdateHttpAddress is a paid mutator transaction binding the contract method 0x50d80993.

Solidity: function updateHttpAddress(uint256 tokenId, string httpAddress) returns()

type NodesTransactor

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

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

func NewNodesTransactor

func NewNodesTransactor(address common.Address, transactor bind.ContractTransactor) (*NodesTransactor, error)

NewNodesTransactor creates a new write-only instance of Nodes, bound to a specific deployed contract.

func (*NodesTransactor) AddNode

func (_Nodes *NodesTransactor) AddNode(opts *bind.TransactOpts, to common.Address, signingKeyPub []byte, httpAddress string) (*types.Transaction, error)

AddNode is a paid mutator transaction binding the contract method 0xa0eae81d.

Solidity: function addNode(address to, bytes signingKeyPub, string httpAddress) returns(uint32)

func (*NodesTransactor) Approve

func (_Nodes *NodesTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*NodesTransactor) RenounceOwnership

func (_Nodes *NodesTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*NodesTransactor) SafeTransferFrom

func (_Nodes *NodesTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*NodesTransactor) SafeTransferFrom0

func (_Nodes *NodesTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*NodesTransactor) SetApprovalForAll

func (_Nodes *NodesTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*NodesTransactor) TransferFrom

func (_Nodes *NodesTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*NodesTransactor) TransferOwnership

func (_Nodes *NodesTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*NodesTransactor) UpdateHealth

func (_Nodes *NodesTransactor) UpdateHealth(opts *bind.TransactOpts, tokenId *big.Int, isHealthy bool) (*types.Transaction, error)

UpdateHealth is a paid mutator transaction binding the contract method 0x8354196f.

Solidity: function updateHealth(uint256 tokenId, bool isHealthy) returns()

func (*NodesTransactor) UpdateHttpAddress

func (_Nodes *NodesTransactor) UpdateHttpAddress(opts *bind.TransactOpts, tokenId *big.Int, httpAddress string) (*types.Transaction, error)

UpdateHttpAddress is a paid mutator transaction binding the contract method 0x50d80993.

Solidity: function updateHttpAddress(uint256 tokenId, string httpAddress) returns()

type NodesTransactorRaw

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

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

func (*NodesTransactorRaw) Transact

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

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

func (*NodesTransactorRaw) Transfer

func (_Nodes *NodesTransactorRaw) 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 NodesTransactorSession

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

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

func (*NodesTransactorSession) AddNode

func (_Nodes *NodesTransactorSession) AddNode(to common.Address, signingKeyPub []byte, httpAddress string) (*types.Transaction, error)

AddNode is a paid mutator transaction binding the contract method 0xa0eae81d.

Solidity: function addNode(address to, bytes signingKeyPub, string httpAddress) returns(uint32)

func (*NodesTransactorSession) Approve

func (_Nodes *NodesTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*NodesTransactorSession) RenounceOwnership

func (_Nodes *NodesTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*NodesTransactorSession) SafeTransferFrom

func (_Nodes *NodesTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*NodesTransactorSession) SafeTransferFrom0

func (_Nodes *NodesTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*NodesTransactorSession) SetApprovalForAll

func (_Nodes *NodesTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*NodesTransactorSession) TransferFrom

func (_Nodes *NodesTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*NodesTransactorSession) TransferOwnership

func (_Nodes *NodesTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*NodesTransactorSession) UpdateHealth

func (_Nodes *NodesTransactorSession) UpdateHealth(tokenId *big.Int, isHealthy bool) (*types.Transaction, error)

UpdateHealth is a paid mutator transaction binding the contract method 0x8354196f.

Solidity: function updateHealth(uint256 tokenId, bool isHealthy) returns()

func (*NodesTransactorSession) UpdateHttpAddress

func (_Nodes *NodesTransactorSession) UpdateHttpAddress(tokenId *big.Int, httpAddress string) (*types.Transaction, error)

UpdateHttpAddress is a paid mutator transaction binding the contract method 0x50d80993.

Solidity: function updateHttpAddress(uint256 tokenId, string httpAddress) returns()

type NodesTransfer

type NodesTransfer struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

NodesTransfer represents a Transfer event raised by the Nodes contract.

type NodesTransferIterator

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

NodesTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Nodes contract.

func (*NodesTransferIterator) Close

func (it *NodesTransferIterator) Close() error

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

func (*NodesTransferIterator) Error

func (it *NodesTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodesTransferIterator) Next

func (it *NodesTransferIterator) 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.

Jump to

Keyboard shortcuts

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