mockioidregistry

package
v0.24.3 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MockioidregistryABI = MockioidregistryMetaData.ABI

MockioidregistryABI is the input ABI used to generate the binding from. Deprecated: Use MockioidregistryMetaData.ABI instead.

View Source
var MockioidregistryMetaData = &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\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ioid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_device\",\"type\":\"address\"}],\"name\":\"bind\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"_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\":\"ioid\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

MockioidregistryMetaData contains all meta data concerning the Mockioidregistry contract.

Functions

This section is empty.

Types

type Mockioidregistry

type Mockioidregistry struct {
	MockioidregistryCaller     // Read-only binding to the contract
	MockioidregistryTransactor // Write-only binding to the contract
	MockioidregistryFilterer   // Log filterer for contract events
}

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

func NewMockioidregistry

func NewMockioidregistry(address common.Address, backend bind.ContractBackend) (*Mockioidregistry, error)

NewMockioidregistry creates a new instance of Mockioidregistry, bound to a specific deployed contract.

type MockioidregistryCaller

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

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

func NewMockioidregistryCaller

func NewMockioidregistryCaller(address common.Address, caller bind.ContractCaller) (*MockioidregistryCaller, error)

NewMockioidregistryCaller creates a new read-only instance of Mockioidregistry, bound to a specific deployed contract.

func (*MockioidregistryCaller) DeviceTokenId

func (_Mockioidregistry *MockioidregistryCaller) 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 (*MockioidregistryCaller) IoID

func (_Mockioidregistry *MockioidregistryCaller) IoID(opts *bind.CallOpts) (common.Address, error)

IoID is a free data retrieval call binding the contract method 0xc3b3135e.

Solidity: function ioID() view returns(address)

func (*MockioidregistryCaller) Ioid

func (_Mockioidregistry *MockioidregistryCaller) Ioid(opts *bind.CallOpts) (common.Address, error)

Ioid is a free data retrieval call binding the contract method 0x50230d20.

Solidity: function ioid() view returns(address)

func (*MockioidregistryCaller) Owner

func (_Mockioidregistry *MockioidregistryCaller) 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)

type MockioidregistryCallerRaw

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

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

func (*MockioidregistryCallerRaw) Call

func (_Mockioidregistry *MockioidregistryCallerRaw) 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 MockioidregistryCallerSession

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

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

func (*MockioidregistryCallerSession) DeviceTokenId

func (_Mockioidregistry *MockioidregistryCallerSession) 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 (*MockioidregistryCallerSession) IoID

func (_Mockioidregistry *MockioidregistryCallerSession) IoID() (common.Address, error)

IoID is a free data retrieval call binding the contract method 0xc3b3135e.

Solidity: function ioID() view returns(address)

func (*MockioidregistryCallerSession) Ioid

func (_Mockioidregistry *MockioidregistryCallerSession) Ioid() (common.Address, error)

Ioid is a free data retrieval call binding the contract method 0x50230d20.

Solidity: function ioid() view returns(address)

func (*MockioidregistryCallerSession) Owner

func (_Mockioidregistry *MockioidregistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type MockioidregistryFilterer

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

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

func NewMockioidregistryFilterer

func NewMockioidregistryFilterer(address common.Address, filterer bind.ContractFilterer) (*MockioidregistryFilterer, error)

NewMockioidregistryFilterer creates a new log filterer instance of Mockioidregistry, bound to a specific deployed contract.

func (*MockioidregistryFilterer) FilterInitialized

func (_Mockioidregistry *MockioidregistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*MockioidregistryInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*MockioidregistryFilterer) FilterOwnershipTransferred

func (_Mockioidregistry *MockioidregistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MockioidregistryOwnershipTransferredIterator, error)

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

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

func (*MockioidregistryFilterer) ParseInitialized

func (_Mockioidregistry *MockioidregistryFilterer) ParseInitialized(log types.Log) (*MockioidregistryInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*MockioidregistryFilterer) ParseOwnershipTransferred

func (_Mockioidregistry *MockioidregistryFilterer) ParseOwnershipTransferred(log types.Log) (*MockioidregistryOwnershipTransferred, error)

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

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

func (*MockioidregistryFilterer) WatchInitialized

func (_Mockioidregistry *MockioidregistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MockioidregistryInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*MockioidregistryFilterer) WatchOwnershipTransferred

func (_Mockioidregistry *MockioidregistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MockioidregistryOwnershipTransferred, 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)

type MockioidregistryInitialized

type MockioidregistryInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

MockioidregistryInitialized represents a Initialized event raised by the Mockioidregistry contract.

type MockioidregistryInitializedIterator

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

MockioidregistryInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Mockioidregistry contract.

func (*MockioidregistryInitializedIterator) Close

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

func (*MockioidregistryInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MockioidregistryInitializedIterator) 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 MockioidregistryOwnershipTransferred

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

MockioidregistryOwnershipTransferred represents a OwnershipTransferred event raised by the Mockioidregistry contract.

type MockioidregistryOwnershipTransferredIterator

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

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

func (*MockioidregistryOwnershipTransferredIterator) Close

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

func (*MockioidregistryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MockioidregistryOwnershipTransferredIterator) 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 MockioidregistryRaw

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

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

func (*MockioidregistryRaw) Call

func (_Mockioidregistry *MockioidregistryRaw) 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 (*MockioidregistryRaw) Transact

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

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

func (*MockioidregistryRaw) Transfer

func (_Mockioidregistry *MockioidregistryRaw) 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 MockioidregistrySession

type MockioidregistrySession struct {
	Contract     *Mockioidregistry // 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
}

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

func (*MockioidregistrySession) Bind

func (_Mockioidregistry *MockioidregistrySession) Bind(_ioid *big.Int, _device common.Address) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0x09088532.

Solidity: function bind(uint256 _ioid, address _device) returns()

func (*MockioidregistrySession) DeviceTokenId

func (_Mockioidregistry *MockioidregistrySession) 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 (*MockioidregistrySession) Initialize

func (_Mockioidregistry *MockioidregistrySession) Initialize(_ioid common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _ioid) returns()

func (*MockioidregistrySession) IoID

func (_Mockioidregistry *MockioidregistrySession) IoID() (common.Address, error)

IoID is a free data retrieval call binding the contract method 0xc3b3135e.

Solidity: function ioID() view returns(address)

func (*MockioidregistrySession) Ioid

func (_Mockioidregistry *MockioidregistrySession) Ioid() (common.Address, error)

Ioid is a free data retrieval call binding the contract method 0x50230d20.

Solidity: function ioid() view returns(address)

func (*MockioidregistrySession) Owner

func (_Mockioidregistry *MockioidregistrySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MockioidregistrySession) RenounceOwnership

func (_Mockioidregistry *MockioidregistrySession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MockioidregistrySession) TransferOwnership

func (_Mockioidregistry *MockioidregistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type MockioidregistryTransactor

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

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

func NewMockioidregistryTransactor

func NewMockioidregistryTransactor(address common.Address, transactor bind.ContractTransactor) (*MockioidregistryTransactor, error)

NewMockioidregistryTransactor creates a new write-only instance of Mockioidregistry, bound to a specific deployed contract.

func (*MockioidregistryTransactor) Bind

func (_Mockioidregistry *MockioidregistryTransactor) Bind(opts *bind.TransactOpts, _ioid *big.Int, _device common.Address) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0x09088532.

Solidity: function bind(uint256 _ioid, address _device) returns()

func (*MockioidregistryTransactor) Initialize

func (_Mockioidregistry *MockioidregistryTransactor) Initialize(opts *bind.TransactOpts, _ioid common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _ioid) returns()

func (*MockioidregistryTransactor) RenounceOwnership

func (_Mockioidregistry *MockioidregistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MockioidregistryTransactor) TransferOwnership

func (_Mockioidregistry *MockioidregistryTransactor) 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()

type MockioidregistryTransactorRaw

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

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

func (*MockioidregistryTransactorRaw) Transact

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

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

func (*MockioidregistryTransactorRaw) Transfer

func (_Mockioidregistry *MockioidregistryTransactorRaw) 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 MockioidregistryTransactorSession

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

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

func (*MockioidregistryTransactorSession) Bind

func (_Mockioidregistry *MockioidregistryTransactorSession) Bind(_ioid *big.Int, _device common.Address) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0x09088532.

Solidity: function bind(uint256 _ioid, address _device) returns()

func (*MockioidregistryTransactorSession) Initialize

func (_Mockioidregistry *MockioidregistryTransactorSession) Initialize(_ioid common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _ioid) returns()

func (*MockioidregistryTransactorSession) RenounceOwnership

func (_Mockioidregistry *MockioidregistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MockioidregistryTransactorSession) TransferOwnership

func (_Mockioidregistry *MockioidregistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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