Documentation
¶
Index ¶
- Variables
- type Ioidregistry
- type IoidregistryCaller
- func (_Ioidregistry *IoidregistryCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_Ioidregistry *IoidregistryCaller) DeviceTokenId(opts *bind.CallOpts, device common.Address) (*big.Int, error)
- func (_Ioidregistry *IoidregistryCaller) DocumentHash(opts *bind.CallOpts, device common.Address) ([32]byte, error)
- func (_Ioidregistry *IoidregistryCaller) DocumentID(opts *bind.CallOpts, device common.Address) (string, error)
- func (_Ioidregistry *IoidregistryCaller) DocumentURI(opts *bind.CallOpts, device common.Address) (string, error)
- func (_Ioidregistry *IoidregistryCaller) EIP712DOMAINTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Ioidregistry *IoidregistryCaller) Exists(opts *bind.CallOpts, device common.Address) (bool, error)
- func (_Ioidregistry *IoidregistryCaller) IoID(opts *bind.CallOpts) (common.Address, error)
- func (_Ioidregistry *IoidregistryCaller) IoIDStore(opts *bind.CallOpts) (common.Address, error)
- func (_Ioidregistry *IoidregistryCaller) METHOD(opts *bind.CallOpts) (string, error)
- func (_Ioidregistry *IoidregistryCaller) Nonces(opts *bind.CallOpts, device common.Address) (*big.Int, error)
- func (_Ioidregistry *IoidregistryCaller) PermitHash(opts *bind.CallOpts, owner common.Address, device common.Address) ([32]byte, error)
- func (_Ioidregistry *IoidregistryCaller) RegisteredNFT(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (bool, error)
- type IoidregistryCallerRaw
- type IoidregistryCallerSession
- func (_Ioidregistry *IoidregistryCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_Ioidregistry *IoidregistryCallerSession) DeviceTokenId(device common.Address) (*big.Int, error)
- func (_Ioidregistry *IoidregistryCallerSession) DocumentHash(device common.Address) ([32]byte, error)
- func (_Ioidregistry *IoidregistryCallerSession) DocumentID(device common.Address) (string, error)
- func (_Ioidregistry *IoidregistryCallerSession) DocumentURI(device common.Address) (string, error)
- func (_Ioidregistry *IoidregistryCallerSession) EIP712DOMAINTYPEHASH() ([32]byte, error)
- func (_Ioidregistry *IoidregistryCallerSession) Exists(device common.Address) (bool, error)
- func (_Ioidregistry *IoidregistryCallerSession) IoID() (common.Address, error)
- func (_Ioidregistry *IoidregistryCallerSession) IoIDStore() (common.Address, error)
- func (_Ioidregistry *IoidregistryCallerSession) METHOD() (string, error)
- func (_Ioidregistry *IoidregistryCallerSession) Nonces(device common.Address) (*big.Int, error)
- func (_Ioidregistry *IoidregistryCallerSession) PermitHash(owner common.Address, device common.Address) ([32]byte, error)
- func (_Ioidregistry *IoidregistryCallerSession) RegisteredNFT(arg0 common.Address, arg1 *big.Int) (bool, error)
- type IoidregistryFilterer
- func (_Ioidregistry *IoidregistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*IoidregistryInitializedIterator, error)
- func (_Ioidregistry *IoidregistryFilterer) FilterNewDevice(opts *bind.FilterOpts, device []common.Address) (*IoidregistryNewDeviceIterator, error)
- func (_Ioidregistry *IoidregistryFilterer) FilterRemoveDevice(opts *bind.FilterOpts, device []common.Address) (*IoidregistryRemoveDeviceIterator, error)
- func (_Ioidregistry *IoidregistryFilterer) FilterSetIoIdStore(opts *bind.FilterOpts, store []common.Address) (*IoidregistrySetIoIdStoreIterator, error)
- func (_Ioidregistry *IoidregistryFilterer) FilterUpdateDevice(opts *bind.FilterOpts, device []common.Address) (*IoidregistryUpdateDeviceIterator, error)
- func (_Ioidregistry *IoidregistryFilterer) ParseInitialized(log types.Log) (*IoidregistryInitialized, error)
- func (_Ioidregistry *IoidregistryFilterer) ParseNewDevice(log types.Log) (*IoidregistryNewDevice, error)
- func (_Ioidregistry *IoidregistryFilterer) ParseRemoveDevice(log types.Log) (*IoidregistryRemoveDevice, error)
- func (_Ioidregistry *IoidregistryFilterer) ParseSetIoIdStore(log types.Log) (*IoidregistrySetIoIdStore, error)
- func (_Ioidregistry *IoidregistryFilterer) ParseUpdateDevice(log types.Log) (*IoidregistryUpdateDevice, error)
- func (_Ioidregistry *IoidregistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *IoidregistryInitialized) (event.Subscription, error)
- func (_Ioidregistry *IoidregistryFilterer) WatchNewDevice(opts *bind.WatchOpts, sink chan<- *IoidregistryNewDevice, ...) (event.Subscription, error)
- func (_Ioidregistry *IoidregistryFilterer) WatchRemoveDevice(opts *bind.WatchOpts, sink chan<- *IoidregistryRemoveDevice, ...) (event.Subscription, error)
- func (_Ioidregistry *IoidregistryFilterer) WatchSetIoIdStore(opts *bind.WatchOpts, sink chan<- *IoidregistrySetIoIdStore, ...) (event.Subscription, error)
- func (_Ioidregistry *IoidregistryFilterer) WatchUpdateDevice(opts *bind.WatchOpts, sink chan<- *IoidregistryUpdateDevice, ...) (event.Subscription, error)
- type IoidregistryInitialized
- type IoidregistryInitializedIterator
- type IoidregistryNewDevice
- type IoidregistryNewDeviceIterator
- type IoidregistryRaw
- func (_Ioidregistry *IoidregistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Ioidregistry *IoidregistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IoidregistryRemoveDevice
- type IoidregistryRemoveDeviceIterator
- type IoidregistrySession
- func (_Ioidregistry *IoidregistrySession) DOMAINSEPARATOR() ([32]byte, error)
- func (_Ioidregistry *IoidregistrySession) DeviceTokenId(device common.Address) (*big.Int, error)
- func (_Ioidregistry *IoidregistrySession) DocumentHash(device common.Address) ([32]byte, error)
- func (_Ioidregistry *IoidregistrySession) DocumentID(device common.Address) (string, error)
- func (_Ioidregistry *IoidregistrySession) DocumentURI(device common.Address) (string, error)
- func (_Ioidregistry *IoidregistrySession) EIP712DOMAINTYPEHASH() ([32]byte, error)
- func (_Ioidregistry *IoidregistrySession) Exists(device common.Address) (bool, error)
- func (_Ioidregistry *IoidregistrySession) Initialize(_ioIDStore common.Address, _ioID common.Address) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistrySession) IoID() (common.Address, error)
- func (_Ioidregistry *IoidregistrySession) IoIDStore() (common.Address, error)
- func (_Ioidregistry *IoidregistrySession) METHOD() (string, error)
- func (_Ioidregistry *IoidregistrySession) Nonces(device common.Address) (*big.Int, error)
- func (_Ioidregistry *IoidregistrySession) PermitHash(owner common.Address, device common.Address) ([32]byte, error)
- func (_Ioidregistry *IoidregistrySession) Register(deviceContract common.Address, tokenId *big.Int, device common.Address, ...) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistrySession) Register0(deviceContract common.Address, tokenId *big.Int, user common.Address, ...) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistrySession) RegisteredNFT(arg0 common.Address, arg1 *big.Int) (bool, error)
- func (_Ioidregistry *IoidregistrySession) Remove(device common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistrySession) SetIoIDStore(_ioIDStore common.Address) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistrySession) Update(device common.Address, hash [32]byte, uri string, v uint8, r [32]byte, ...) (*types.Transaction, error)
- type IoidregistrySetIoIdStore
- type IoidregistrySetIoIdStoreIterator
- type IoidregistryTransactor
- func (_Ioidregistry *IoidregistryTransactor) Initialize(opts *bind.TransactOpts, _ioIDStore common.Address, _ioID common.Address) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistryTransactor) Register(opts *bind.TransactOpts, deviceContract common.Address, tokenId *big.Int, ...) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistryTransactor) Register0(opts *bind.TransactOpts, deviceContract common.Address, tokenId *big.Int, ...) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistryTransactor) Remove(opts *bind.TransactOpts, device common.Address, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistryTransactor) SetIoIDStore(opts *bind.TransactOpts, _ioIDStore common.Address) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistryTransactor) Update(opts *bind.TransactOpts, device common.Address, hash [32]byte, uri string, ...) (*types.Transaction, error)
- type IoidregistryTransactorRaw
- type IoidregistryTransactorSession
- func (_Ioidregistry *IoidregistryTransactorSession) Initialize(_ioIDStore common.Address, _ioID common.Address) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistryTransactorSession) Register(deviceContract common.Address, tokenId *big.Int, device common.Address, ...) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistryTransactorSession) Register0(deviceContract common.Address, tokenId *big.Int, user common.Address, ...) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistryTransactorSession) Remove(device common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistryTransactorSession) SetIoIDStore(_ioIDStore common.Address) (*types.Transaction, error)
- func (_Ioidregistry *IoidregistryTransactorSession) Update(device common.Address, hash [32]byte, uri string, v uint8, r [32]byte, ...) (*types.Transaction, error)
- type IoidregistryUpdateDevice
- type IoidregistryUpdateDeviceIterator
Constants ¶
This section is empty.
Variables ¶
var IoidregistryABI = IoidregistryMetaData.ABI
IoidregistryABI is the input ABI used to generate the binding from. Deprecated: Use IoidregistryMetaData.ABI instead.
var IoidregistryMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"NewDevice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"RemoveDevice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"store\",\"type\":\"address\"}],\"name\":\"SetIoIdStore\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"UpdateDevice\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EIP712DOMAIN_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"METHOD\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"}],\"name\":\"deviceTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"}],\"name\":\"documentHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"}],\"name\":\"documentID\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"}],\"name\":\"documentURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"}],\"name\":\"exists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ioIDStore\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_ioID\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ioID\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ioIDStore\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"}],\"name\":\"permitHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deviceContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deviceContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"registeredNFT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"remove\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ioIDStore\",\"type\":\"address\"}],\"name\":\"setIoIDStore\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"update\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IoidregistryMetaData contains all meta data concerning the Ioidregistry contract.
Functions ¶
This section is empty.
Types ¶
type Ioidregistry ¶
type Ioidregistry struct {
IoidregistryCaller // Read-only binding to the contract
IoidregistryTransactor // Write-only binding to the contract
IoidregistryFilterer // Log filterer for contract events
}
Ioidregistry is an auto generated Go binding around an Ethereum contract.
func NewIoidregistry ¶
func NewIoidregistry(address common.Address, backend bind.ContractBackend) (*Ioidregistry, error)
NewIoidregistry creates a new instance of Ioidregistry, bound to a specific deployed contract.
type IoidregistryCaller ¶
type IoidregistryCaller struct {
// contains filtered or unexported fields
}
IoidregistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIoidregistryCaller ¶
func NewIoidregistryCaller(address common.Address, caller bind.ContractCaller) (*IoidregistryCaller, error)
NewIoidregistryCaller creates a new read-only instance of Ioidregistry, bound to a specific deployed contract.
func (*IoidregistryCaller) DOMAINSEPARATOR ¶
func (_Ioidregistry *IoidregistryCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*IoidregistryCaller) DeviceTokenId ¶
func (_Ioidregistry *IoidregistryCaller) DeviceTokenId(opts *bind.CallOpts, device common.Address) (*big.Int, error)
DeviceTokenId is a free data retrieval call binding the contract method 0x4965c7e1.
Solidity: function deviceTokenId(address device) view returns(uint256)
func (*IoidregistryCaller) DocumentHash ¶
func (_Ioidregistry *IoidregistryCaller) DocumentHash(opts *bind.CallOpts, device common.Address) ([32]byte, error)
DocumentHash is a free data retrieval call binding the contract method 0x35984678.
Solidity: function documentHash(address device) view returns(bytes32)
func (*IoidregistryCaller) DocumentID ¶
func (_Ioidregistry *IoidregistryCaller) DocumentID(opts *bind.CallOpts, device common.Address) (string, error)
DocumentID is a free data retrieval call binding the contract method 0x4e93257e.
Solidity: function documentID(address device) pure returns(string)
func (*IoidregistryCaller) DocumentURI ¶
func (_Ioidregistry *IoidregistryCaller) DocumentURI(opts *bind.CallOpts, device common.Address) (string, error)
DocumentURI is a free data retrieval call binding the contract method 0x1d9dbae4.
Solidity: function documentURI(address device) view returns(string)
func (*IoidregistryCaller) EIP712DOMAINTYPEHASH ¶
func (_Ioidregistry *IoidregistryCaller) EIP712DOMAINTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
EIP712DOMAINTYPEHASH is a free data retrieval call binding the contract method 0xc49f91d3.
Solidity: function EIP712DOMAIN_TYPEHASH() view returns(bytes32)
func (*IoidregistryCaller) Exists ¶
func (_Ioidregistry *IoidregistryCaller) Exists(opts *bind.CallOpts, device common.Address) (bool, error)
Exists is a free data retrieval call binding the contract method 0xf6a3d24e.
Solidity: function exists(address device) view returns(bool)
func (*IoidregistryCaller) IoID ¶
IoID is a free data retrieval call binding the contract method 0xc3b3135e.
Solidity: function ioID() view returns(address)
func (*IoidregistryCaller) IoIDStore ¶
IoIDStore is a free data retrieval call binding the contract method 0xb6d32d69.
Solidity: function ioIDStore() view returns(address)
func (*IoidregistryCaller) METHOD ¶
func (_Ioidregistry *IoidregistryCaller) METHOD(opts *bind.CallOpts) (string, error)
METHOD is a free data retrieval call binding the contract method 0x67efe82e.
Solidity: function METHOD() view returns(string)
func (*IoidregistryCaller) Nonces ¶
func (_Ioidregistry *IoidregistryCaller) Nonces(opts *bind.CallOpts, device common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address device) view returns(uint256)
func (*IoidregistryCaller) PermitHash ¶
func (_Ioidregistry *IoidregistryCaller) PermitHash(opts *bind.CallOpts, owner common.Address, device common.Address) ([32]byte, error)
PermitHash is a free data retrieval call binding the contract method 0xb274703d.
Solidity: function permitHash(address owner, address device) view returns(bytes32)
func (*IoidregistryCaller) RegisteredNFT ¶
func (_Ioidregistry *IoidregistryCaller) RegisteredNFT(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (bool, error)
RegisteredNFT is a free data retrieval call binding the contract method 0xb9d959fd.
Solidity: function registeredNFT(address , uint256 ) view returns(bool)
type IoidregistryCallerRaw ¶
type IoidregistryCallerRaw struct {
Contract *IoidregistryCaller // Generic read-only contract binding to access the raw methods on
}
IoidregistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IoidregistryCallerRaw) Call ¶
func (_Ioidregistry *IoidregistryCallerRaw) 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 IoidregistryCallerSession ¶
type IoidregistryCallerSession struct {
Contract *IoidregistryCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
IoidregistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IoidregistryCallerSession) DOMAINSEPARATOR ¶
func (_Ioidregistry *IoidregistryCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*IoidregistryCallerSession) DeviceTokenId ¶
func (_Ioidregistry *IoidregistryCallerSession) DeviceTokenId(device common.Address) (*big.Int, error)
DeviceTokenId is a free data retrieval call binding the contract method 0x4965c7e1.
Solidity: function deviceTokenId(address device) view returns(uint256)
func (*IoidregistryCallerSession) DocumentHash ¶
func (_Ioidregistry *IoidregistryCallerSession) DocumentHash(device common.Address) ([32]byte, error)
DocumentHash is a free data retrieval call binding the contract method 0x35984678.
Solidity: function documentHash(address device) view returns(bytes32)
func (*IoidregistryCallerSession) DocumentID ¶
func (_Ioidregistry *IoidregistryCallerSession) DocumentID(device common.Address) (string, error)
DocumentID is a free data retrieval call binding the contract method 0x4e93257e.
Solidity: function documentID(address device) pure returns(string)
func (*IoidregistryCallerSession) DocumentURI ¶
func (_Ioidregistry *IoidregistryCallerSession) DocumentURI(device common.Address) (string, error)
DocumentURI is a free data retrieval call binding the contract method 0x1d9dbae4.
Solidity: function documentURI(address device) view returns(string)
func (*IoidregistryCallerSession) EIP712DOMAINTYPEHASH ¶
func (_Ioidregistry *IoidregistryCallerSession) EIP712DOMAINTYPEHASH() ([32]byte, error)
EIP712DOMAINTYPEHASH is a free data retrieval call binding the contract method 0xc49f91d3.
Solidity: function EIP712DOMAIN_TYPEHASH() view returns(bytes32)
func (*IoidregistryCallerSession) Exists ¶
func (_Ioidregistry *IoidregistryCallerSession) Exists(device common.Address) (bool, error)
Exists is a free data retrieval call binding the contract method 0xf6a3d24e.
Solidity: function exists(address device) view returns(bool)
func (*IoidregistryCallerSession) IoID ¶
func (_Ioidregistry *IoidregistryCallerSession) IoID() (common.Address, error)
IoID is a free data retrieval call binding the contract method 0xc3b3135e.
Solidity: function ioID() view returns(address)
func (*IoidregistryCallerSession) IoIDStore ¶
func (_Ioidregistry *IoidregistryCallerSession) IoIDStore() (common.Address, error)
IoIDStore is a free data retrieval call binding the contract method 0xb6d32d69.
Solidity: function ioIDStore() view returns(address)
func (*IoidregistryCallerSession) METHOD ¶
func (_Ioidregistry *IoidregistryCallerSession) METHOD() (string, error)
METHOD is a free data retrieval call binding the contract method 0x67efe82e.
Solidity: function METHOD() view returns(string)
func (*IoidregistryCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address device) view returns(uint256)
func (*IoidregistryCallerSession) PermitHash ¶
func (_Ioidregistry *IoidregistryCallerSession) PermitHash(owner common.Address, device common.Address) ([32]byte, error)
PermitHash is a free data retrieval call binding the contract method 0xb274703d.
Solidity: function permitHash(address owner, address device) view returns(bytes32)
func (*IoidregistryCallerSession) RegisteredNFT ¶
func (_Ioidregistry *IoidregistryCallerSession) RegisteredNFT(arg0 common.Address, arg1 *big.Int) (bool, error)
RegisteredNFT is a free data retrieval call binding the contract method 0xb9d959fd.
Solidity: function registeredNFT(address , uint256 ) view returns(bool)
type IoidregistryFilterer ¶
type IoidregistryFilterer struct {
// contains filtered or unexported fields
}
IoidregistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIoidregistryFilterer ¶
func NewIoidregistryFilterer(address common.Address, filterer bind.ContractFilterer) (*IoidregistryFilterer, error)
NewIoidregistryFilterer creates a new log filterer instance of Ioidregistry, bound to a specific deployed contract.
func (*IoidregistryFilterer) FilterInitialized ¶
func (_Ioidregistry *IoidregistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*IoidregistryInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*IoidregistryFilterer) FilterNewDevice ¶
func (_Ioidregistry *IoidregistryFilterer) FilterNewDevice(opts *bind.FilterOpts, device []common.Address) (*IoidregistryNewDeviceIterator, error)
FilterNewDevice is a free log retrieval operation binding the contract event 0x9b3397f29f76b91430e368033ed86df2fc794753ab8239898fb655ab0213f888.
Solidity: event NewDevice(address indexed device, address owner, bytes32 hash, string uri)
func (*IoidregistryFilterer) FilterRemoveDevice ¶
func (_Ioidregistry *IoidregistryFilterer) FilterRemoveDevice(opts *bind.FilterOpts, device []common.Address) (*IoidregistryRemoveDeviceIterator, error)
FilterRemoveDevice is a free log retrieval operation binding the contract event 0x7fb1f1a379ee4b2c5e787bdcba983dff2cb148ae93c6341beafaca37b8ce8abe.
Solidity: event RemoveDevice(address indexed device, address owner)
func (*IoidregistryFilterer) FilterSetIoIdStore ¶
func (_Ioidregistry *IoidregistryFilterer) FilterSetIoIdStore(opts *bind.FilterOpts, store []common.Address) (*IoidregistrySetIoIdStoreIterator, error)
FilterSetIoIdStore is a free log retrieval operation binding the contract event 0xc64dd2865233a317a221a0952325ee30744b237e5b6e4367fff3aeea454dfee9.
Solidity: event SetIoIdStore(address indexed store)
func (*IoidregistryFilterer) FilterUpdateDevice ¶
func (_Ioidregistry *IoidregistryFilterer) FilterUpdateDevice(opts *bind.FilterOpts, device []common.Address) (*IoidregistryUpdateDeviceIterator, error)
FilterUpdateDevice is a free log retrieval operation binding the contract event 0x56c4adbfac097b5bec49fa8c702ae682a2d4c10bee1ac0aad3af7f3768d0fc0f.
Solidity: event UpdateDevice(address indexed device, address owner, bytes32 hash, string uri)
func (*IoidregistryFilterer) ParseInitialized ¶
func (_Ioidregistry *IoidregistryFilterer) ParseInitialized(log types.Log) (*IoidregistryInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*IoidregistryFilterer) ParseNewDevice ¶
func (_Ioidregistry *IoidregistryFilterer) ParseNewDevice(log types.Log) (*IoidregistryNewDevice, error)
ParseNewDevice is a log parse operation binding the contract event 0x9b3397f29f76b91430e368033ed86df2fc794753ab8239898fb655ab0213f888.
Solidity: event NewDevice(address indexed device, address owner, bytes32 hash, string uri)
func (*IoidregistryFilterer) ParseRemoveDevice ¶
func (_Ioidregistry *IoidregistryFilterer) ParseRemoveDevice(log types.Log) (*IoidregistryRemoveDevice, error)
ParseRemoveDevice is a log parse operation binding the contract event 0x7fb1f1a379ee4b2c5e787bdcba983dff2cb148ae93c6341beafaca37b8ce8abe.
Solidity: event RemoveDevice(address indexed device, address owner)
func (*IoidregistryFilterer) ParseSetIoIdStore ¶
func (_Ioidregistry *IoidregistryFilterer) ParseSetIoIdStore(log types.Log) (*IoidregistrySetIoIdStore, error)
ParseSetIoIdStore is a log parse operation binding the contract event 0xc64dd2865233a317a221a0952325ee30744b237e5b6e4367fff3aeea454dfee9.
Solidity: event SetIoIdStore(address indexed store)
func (*IoidregistryFilterer) ParseUpdateDevice ¶
func (_Ioidregistry *IoidregistryFilterer) ParseUpdateDevice(log types.Log) (*IoidregistryUpdateDevice, error)
ParseUpdateDevice is a log parse operation binding the contract event 0x56c4adbfac097b5bec49fa8c702ae682a2d4c10bee1ac0aad3af7f3768d0fc0f.
Solidity: event UpdateDevice(address indexed device, address owner, bytes32 hash, string uri)
func (*IoidregistryFilterer) WatchInitialized ¶
func (_Ioidregistry *IoidregistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *IoidregistryInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*IoidregistryFilterer) WatchNewDevice ¶
func (_Ioidregistry *IoidregistryFilterer) WatchNewDevice(opts *bind.WatchOpts, sink chan<- *IoidregistryNewDevice, device []common.Address) (event.Subscription, error)
WatchNewDevice is a free log subscription operation binding the contract event 0x9b3397f29f76b91430e368033ed86df2fc794753ab8239898fb655ab0213f888.
Solidity: event NewDevice(address indexed device, address owner, bytes32 hash, string uri)
func (*IoidregistryFilterer) WatchRemoveDevice ¶
func (_Ioidregistry *IoidregistryFilterer) WatchRemoveDevice(opts *bind.WatchOpts, sink chan<- *IoidregistryRemoveDevice, device []common.Address) (event.Subscription, error)
WatchRemoveDevice is a free log subscription operation binding the contract event 0x7fb1f1a379ee4b2c5e787bdcba983dff2cb148ae93c6341beafaca37b8ce8abe.
Solidity: event RemoveDevice(address indexed device, address owner)
func (*IoidregistryFilterer) WatchSetIoIdStore ¶
func (_Ioidregistry *IoidregistryFilterer) WatchSetIoIdStore(opts *bind.WatchOpts, sink chan<- *IoidregistrySetIoIdStore, store []common.Address) (event.Subscription, error)
WatchSetIoIdStore is a free log subscription operation binding the contract event 0xc64dd2865233a317a221a0952325ee30744b237e5b6e4367fff3aeea454dfee9.
Solidity: event SetIoIdStore(address indexed store)
func (*IoidregistryFilterer) WatchUpdateDevice ¶
func (_Ioidregistry *IoidregistryFilterer) WatchUpdateDevice(opts *bind.WatchOpts, sink chan<- *IoidregistryUpdateDevice, device []common.Address) (event.Subscription, error)
WatchUpdateDevice is a free log subscription operation binding the contract event 0x56c4adbfac097b5bec49fa8c702ae682a2d4c10bee1ac0aad3af7f3768d0fc0f.
Solidity: event UpdateDevice(address indexed device, address owner, bytes32 hash, string uri)
type IoidregistryInitialized ¶
type IoidregistryInitialized struct {
Version uint8
Raw types.Log // Blockchain specific contextual infos
}
IoidregistryInitialized represents a Initialized event raised by the Ioidregistry contract.
type IoidregistryInitializedIterator ¶
type IoidregistryInitializedIterator struct {
Event *IoidregistryInitialized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
IoidregistryInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Ioidregistry contract.
func (*IoidregistryInitializedIterator) Close ¶
func (it *IoidregistryInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IoidregistryInitializedIterator) Error ¶
func (it *IoidregistryInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IoidregistryInitializedIterator) Next ¶
func (it *IoidregistryInitializedIterator) 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 IoidregistryNewDevice ¶
type IoidregistryNewDevice struct {
Device common.Address
Owner common.Address
Hash [32]byte
Uri string
Raw types.Log // Blockchain specific contextual infos
}
IoidregistryNewDevice represents a NewDevice event raised by the Ioidregistry contract.
type IoidregistryNewDeviceIterator ¶
type IoidregistryNewDeviceIterator struct {
Event *IoidregistryNewDevice // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
IoidregistryNewDeviceIterator is returned from FilterNewDevice and is used to iterate over the raw logs and unpacked data for NewDevice events raised by the Ioidregistry contract.
func (*IoidregistryNewDeviceIterator) Close ¶
func (it *IoidregistryNewDeviceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IoidregistryNewDeviceIterator) Error ¶
func (it *IoidregistryNewDeviceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IoidregistryNewDeviceIterator) Next ¶
func (it *IoidregistryNewDeviceIterator) 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 IoidregistryRaw ¶
type IoidregistryRaw struct {
Contract *Ioidregistry // Generic contract binding to access the raw methods on
}
IoidregistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IoidregistryRaw) Call ¶
func (_Ioidregistry *IoidregistryRaw) 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 (*IoidregistryRaw) Transact ¶
func (_Ioidregistry *IoidregistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IoidregistryRaw) Transfer ¶
func (_Ioidregistry *IoidregistryRaw) 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 IoidregistryRemoveDevice ¶
type IoidregistryRemoveDevice struct {
Device common.Address
Owner common.Address
Raw types.Log // Blockchain specific contextual infos
}
IoidregistryRemoveDevice represents a RemoveDevice event raised by the Ioidregistry contract.
type IoidregistryRemoveDeviceIterator ¶
type IoidregistryRemoveDeviceIterator struct {
Event *IoidregistryRemoveDevice // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
IoidregistryRemoveDeviceIterator is returned from FilterRemoveDevice and is used to iterate over the raw logs and unpacked data for RemoveDevice events raised by the Ioidregistry contract.
func (*IoidregistryRemoveDeviceIterator) Close ¶
func (it *IoidregistryRemoveDeviceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IoidregistryRemoveDeviceIterator) Error ¶
func (it *IoidregistryRemoveDeviceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IoidregistryRemoveDeviceIterator) Next ¶
func (it *IoidregistryRemoveDeviceIterator) 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 IoidregistrySession ¶
type IoidregistrySession struct {
Contract *Ioidregistry // 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
}
IoidregistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IoidregistrySession) DOMAINSEPARATOR ¶
func (_Ioidregistry *IoidregistrySession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*IoidregistrySession) DeviceTokenId ¶
DeviceTokenId is a free data retrieval call binding the contract method 0x4965c7e1.
Solidity: function deviceTokenId(address device) view returns(uint256)
func (*IoidregistrySession) DocumentHash ¶
func (_Ioidregistry *IoidregistrySession) DocumentHash(device common.Address) ([32]byte, error)
DocumentHash is a free data retrieval call binding the contract method 0x35984678.
Solidity: function documentHash(address device) view returns(bytes32)
func (*IoidregistrySession) DocumentID ¶
func (_Ioidregistry *IoidregistrySession) DocumentID(device common.Address) (string, error)
DocumentID is a free data retrieval call binding the contract method 0x4e93257e.
Solidity: function documentID(address device) pure returns(string)
func (*IoidregistrySession) DocumentURI ¶
func (_Ioidregistry *IoidregistrySession) DocumentURI(device common.Address) (string, error)
DocumentURI is a free data retrieval call binding the contract method 0x1d9dbae4.
Solidity: function documentURI(address device) view returns(string)
func (*IoidregistrySession) EIP712DOMAINTYPEHASH ¶
func (_Ioidregistry *IoidregistrySession) EIP712DOMAINTYPEHASH() ([32]byte, error)
EIP712DOMAINTYPEHASH is a free data retrieval call binding the contract method 0xc49f91d3.
Solidity: function EIP712DOMAIN_TYPEHASH() view returns(bytes32)
func (*IoidregistrySession) Exists ¶
func (_Ioidregistry *IoidregistrySession) Exists(device common.Address) (bool, error)
Exists is a free data retrieval call binding the contract method 0xf6a3d24e.
Solidity: function exists(address device) view returns(bool)
func (*IoidregistrySession) Initialize ¶
func (_Ioidregistry *IoidregistrySession) Initialize(_ioIDStore common.Address, _ioID common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _ioIDStore, address _ioID) returns()
func (*IoidregistrySession) IoID ¶
func (_Ioidregistry *IoidregistrySession) IoID() (common.Address, error)
IoID is a free data retrieval call binding the contract method 0xc3b3135e.
Solidity: function ioID() view returns(address)
func (*IoidregistrySession) IoIDStore ¶
func (_Ioidregistry *IoidregistrySession) IoIDStore() (common.Address, error)
IoIDStore is a free data retrieval call binding the contract method 0xb6d32d69.
Solidity: function ioIDStore() view returns(address)
func (*IoidregistrySession) METHOD ¶
func (_Ioidregistry *IoidregistrySession) METHOD() (string, error)
METHOD is a free data retrieval call binding the contract method 0x67efe82e.
Solidity: function METHOD() view returns(string)
func (*IoidregistrySession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address device) view returns(uint256)
func (*IoidregistrySession) PermitHash ¶
func (_Ioidregistry *IoidregistrySession) PermitHash(owner common.Address, device common.Address) ([32]byte, error)
PermitHash is a free data retrieval call binding the contract method 0xb274703d.
Solidity: function permitHash(address owner, address device) view returns(bytes32)
func (*IoidregistrySession) Register ¶
func (_Ioidregistry *IoidregistrySession) Register(deviceContract common.Address, tokenId *big.Int, device common.Address, hash [32]byte, uri string, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x39a4a241.
Solidity: function register(address deviceContract, uint256 tokenId, address device, bytes32 hash, string uri, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*IoidregistrySession) Register0 ¶
func (_Ioidregistry *IoidregistrySession) Register0(deviceContract common.Address, tokenId *big.Int, user common.Address, device common.Address, hash [32]byte, uri string, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Register0 is a paid mutator transaction binding the contract method 0xb20187f1.
Solidity: function register(address deviceContract, uint256 tokenId, address user, address device, bytes32 hash, string uri, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*IoidregistrySession) RegisteredNFT ¶
func (_Ioidregistry *IoidregistrySession) RegisteredNFT(arg0 common.Address, arg1 *big.Int) (bool, error)
RegisteredNFT is a free data retrieval call binding the contract method 0xb9d959fd.
Solidity: function registeredNFT(address , uint256 ) view returns(bool)
func (*IoidregistrySession) Remove ¶
func (_Ioidregistry *IoidregistrySession) Remove(device common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Remove is a paid mutator transaction binding the contract method 0x937a7b2e.
Solidity: function remove(address device, uint8 v, bytes32 r, bytes32 s) returns()
func (*IoidregistrySession) SetIoIDStore ¶
func (_Ioidregistry *IoidregistrySession) SetIoIDStore(_ioIDStore common.Address) (*types.Transaction, error)
SetIoIDStore is a paid mutator transaction binding the contract method 0x4b38b385.
Solidity: function setIoIDStore(address _ioIDStore) returns()
func (*IoidregistrySession) Update ¶
func (_Ioidregistry *IoidregistrySession) Update(device common.Address, hash [32]byte, uri string, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Update is a paid mutator transaction binding the contract method 0xfd8fa0c1.
Solidity: function update(address device, bytes32 hash, string uri, uint8 v, bytes32 r, bytes32 s) returns()
type IoidregistrySetIoIdStore ¶
type IoidregistrySetIoIdStore struct {
Store common.Address
Raw types.Log // Blockchain specific contextual infos
}
IoidregistrySetIoIdStore represents a SetIoIdStore event raised by the Ioidregistry contract.
type IoidregistrySetIoIdStoreIterator ¶
type IoidregistrySetIoIdStoreIterator struct {
Event *IoidregistrySetIoIdStore // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
IoidregistrySetIoIdStoreIterator is returned from FilterSetIoIdStore and is used to iterate over the raw logs and unpacked data for SetIoIdStore events raised by the Ioidregistry contract.
func (*IoidregistrySetIoIdStoreIterator) Close ¶
func (it *IoidregistrySetIoIdStoreIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IoidregistrySetIoIdStoreIterator) Error ¶
func (it *IoidregistrySetIoIdStoreIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IoidregistrySetIoIdStoreIterator) Next ¶
func (it *IoidregistrySetIoIdStoreIterator) 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 IoidregistryTransactor ¶
type IoidregistryTransactor struct {
// contains filtered or unexported fields
}
IoidregistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIoidregistryTransactor ¶
func NewIoidregistryTransactor(address common.Address, transactor bind.ContractTransactor) (*IoidregistryTransactor, error)
NewIoidregistryTransactor creates a new write-only instance of Ioidregistry, bound to a specific deployed contract.
func (*IoidregistryTransactor) Initialize ¶
func (_Ioidregistry *IoidregistryTransactor) Initialize(opts *bind.TransactOpts, _ioIDStore common.Address, _ioID common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _ioIDStore, address _ioID) returns()
func (*IoidregistryTransactor) Register ¶
func (_Ioidregistry *IoidregistryTransactor) Register(opts *bind.TransactOpts, deviceContract common.Address, tokenId *big.Int, device common.Address, hash [32]byte, uri string, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x39a4a241.
Solidity: function register(address deviceContract, uint256 tokenId, address device, bytes32 hash, string uri, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*IoidregistryTransactor) Register0 ¶
func (_Ioidregistry *IoidregistryTransactor) Register0(opts *bind.TransactOpts, deviceContract common.Address, tokenId *big.Int, user common.Address, device common.Address, hash [32]byte, uri string, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Register0 is a paid mutator transaction binding the contract method 0xb20187f1.
Solidity: function register(address deviceContract, uint256 tokenId, address user, address device, bytes32 hash, string uri, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*IoidregistryTransactor) Remove ¶
func (_Ioidregistry *IoidregistryTransactor) Remove(opts *bind.TransactOpts, device common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Remove is a paid mutator transaction binding the contract method 0x937a7b2e.
Solidity: function remove(address device, uint8 v, bytes32 r, bytes32 s) returns()
func (*IoidregistryTransactor) SetIoIDStore ¶
func (_Ioidregistry *IoidregistryTransactor) SetIoIDStore(opts *bind.TransactOpts, _ioIDStore common.Address) (*types.Transaction, error)
SetIoIDStore is a paid mutator transaction binding the contract method 0x4b38b385.
Solidity: function setIoIDStore(address _ioIDStore) returns()
func (*IoidregistryTransactor) Update ¶
func (_Ioidregistry *IoidregistryTransactor) Update(opts *bind.TransactOpts, device common.Address, hash [32]byte, uri string, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Update is a paid mutator transaction binding the contract method 0xfd8fa0c1.
Solidity: function update(address device, bytes32 hash, string uri, uint8 v, bytes32 r, bytes32 s) returns()
type IoidregistryTransactorRaw ¶
type IoidregistryTransactorRaw struct {
Contract *IoidregistryTransactor // Generic write-only contract binding to access the raw methods on
}
IoidregistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IoidregistryTransactorRaw) Transact ¶
func (_Ioidregistry *IoidregistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IoidregistryTransactorRaw) Transfer ¶
func (_Ioidregistry *IoidregistryTransactorRaw) 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 IoidregistryTransactorSession ¶
type IoidregistryTransactorSession struct {
Contract *IoidregistryTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
IoidregistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IoidregistryTransactorSession) Initialize ¶
func (_Ioidregistry *IoidregistryTransactorSession) Initialize(_ioIDStore common.Address, _ioID common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _ioIDStore, address _ioID) returns()
func (*IoidregistryTransactorSession) Register ¶
func (_Ioidregistry *IoidregistryTransactorSession) Register(deviceContract common.Address, tokenId *big.Int, device common.Address, hash [32]byte, uri string, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x39a4a241.
Solidity: function register(address deviceContract, uint256 tokenId, address device, bytes32 hash, string uri, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*IoidregistryTransactorSession) Register0 ¶
func (_Ioidregistry *IoidregistryTransactorSession) Register0(deviceContract common.Address, tokenId *big.Int, user common.Address, device common.Address, hash [32]byte, uri string, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Register0 is a paid mutator transaction binding the contract method 0xb20187f1.
Solidity: function register(address deviceContract, uint256 tokenId, address user, address device, bytes32 hash, string uri, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*IoidregistryTransactorSession) Remove ¶
func (_Ioidregistry *IoidregistryTransactorSession) Remove(device common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Remove is a paid mutator transaction binding the contract method 0x937a7b2e.
Solidity: function remove(address device, uint8 v, bytes32 r, bytes32 s) returns()
func (*IoidregistryTransactorSession) SetIoIDStore ¶
func (_Ioidregistry *IoidregistryTransactorSession) SetIoIDStore(_ioIDStore common.Address) (*types.Transaction, error)
SetIoIDStore is a paid mutator transaction binding the contract method 0x4b38b385.
Solidity: function setIoIDStore(address _ioIDStore) returns()
func (*IoidregistryTransactorSession) Update ¶
func (_Ioidregistry *IoidregistryTransactorSession) Update(device common.Address, hash [32]byte, uri string, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Update is a paid mutator transaction binding the contract method 0xfd8fa0c1.
Solidity: function update(address device, bytes32 hash, string uri, uint8 v, bytes32 r, bytes32 s) returns()
type IoidregistryUpdateDevice ¶
type IoidregistryUpdateDevice struct {
Device common.Address
Owner common.Address
Hash [32]byte
Uri string
Raw types.Log // Blockchain specific contextual infos
}
IoidregistryUpdateDevice represents a UpdateDevice event raised by the Ioidregistry contract.
type IoidregistryUpdateDeviceIterator ¶
type IoidregistryUpdateDeviceIterator struct {
Event *IoidregistryUpdateDevice // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
IoidregistryUpdateDeviceIterator is returned from FilterUpdateDevice and is used to iterate over the raw logs and unpacked data for UpdateDevice events raised by the Ioidregistry contract.
func (*IoidregistryUpdateDeviceIterator) Close ¶
func (it *IoidregistryUpdateDeviceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IoidregistryUpdateDeviceIterator) Error ¶
func (it *IoidregistryUpdateDeviceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IoidregistryUpdateDeviceIterator) Next ¶
func (it *IoidregistryUpdateDeviceIterator) 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.