ioid

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IoidABI = IoidMetaData.ABI

IoidABI is the input ABI used to generate the binding from. Deprecated: Use IoidMetaData.ABI instead.

View Source
var IoidMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"wallet\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"CreateIoID\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"wallet\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"RemoveDIDWallet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"}],\"name\":\"SetMinter\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"SetResolver\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"deviceProject\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_device\",\"type\":\"address\"}],\"name\":\"did\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_minter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_walletRegistry\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_walletImplementation\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_device\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"projectDeviceCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_start\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pageSize\",\"type\":\"uint256\"}],\"name\":\"projectIDs\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"array\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"next\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_device\",\"type\":\"address\"}],\"name\":\"removeDID\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"resolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_minter\",\"type\":\"address\"}],\"name\":\"setMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_resolver\",\"type\":\"address\"}],\"name\":\"setResolver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"wallet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"wallet_\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"did_\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_did\",\"type\":\"string\"}],\"name\":\"wallet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"walletImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"walletRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

IoidMetaData contains all meta data concerning the Ioid contract.

Functions

This section is empty.

Types

type Ioid

type Ioid struct {
	IoidCaller     // Read-only binding to the contract
	IoidTransactor // Write-only binding to the contract
	IoidFilterer   // Log filterer for contract events
}

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

func NewIoid

func NewIoid(address common.Address, backend bind.ContractBackend) (*Ioid, error)

NewIoid creates a new instance of Ioid, bound to a specific deployed contract.

type IoidApproval

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

IoidApproval represents a Approval event raised by the Ioid contract.

type IoidApprovalForAll

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

IoidApprovalForAll represents a ApprovalForAll event raised by the Ioid contract.

type IoidApprovalForAllIterator

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

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

func (*IoidApprovalForAllIterator) Close

func (it *IoidApprovalForAllIterator) Close() error

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

func (*IoidApprovalForAllIterator) Error

func (it *IoidApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoidApprovalForAllIterator) Next

func (it *IoidApprovalForAllIterator) 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 IoidApprovalIterator

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

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

func (*IoidApprovalIterator) Close

func (it *IoidApprovalIterator) Close() error

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

func (*IoidApprovalIterator) Error

func (it *IoidApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoidApprovalIterator) Next

func (it *IoidApprovalIterator) 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 IoidCaller

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

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

func NewIoidCaller

func NewIoidCaller(address common.Address, caller bind.ContractCaller) (*IoidCaller, error)

NewIoidCaller creates a new read-only instance of Ioid, bound to a specific deployed contract.

func (*IoidCaller) BalanceOf

func (_Ioid *IoidCaller) 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 (*IoidCaller) DeviceProject

func (_Ioid *IoidCaller) DeviceProject(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

DeviceProject is a free data retrieval call binding the contract method 0x7ba0ef27.

Solidity: function deviceProject(address ) view returns(uint256)

func (*IoidCaller) Did

func (_Ioid *IoidCaller) Did(opts *bind.CallOpts, _device common.Address) (string, error)

Did is a free data retrieval call binding the contract method 0xb292c335.

Solidity: function did(address _device) view returns(string)

func (*IoidCaller) GetApproved

func (_Ioid *IoidCaller) 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 (*IoidCaller) IsApprovedForAll

func (_Ioid *IoidCaller) 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 (*IoidCaller) Minter

func (_Ioid *IoidCaller) Minter(opts *bind.CallOpts) (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*IoidCaller) Name

func (_Ioid *IoidCaller) 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 (*IoidCaller) OwnerOf

func (_Ioid *IoidCaller) 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 (*IoidCaller) ProjectDeviceCount

func (_Ioid *IoidCaller) ProjectDeviceCount(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

ProjectDeviceCount is a free data retrieval call binding the contract method 0xf62ce247.

Solidity: function projectDeviceCount(uint256 ) view returns(uint256)

func (*IoidCaller) ProjectIDs

func (_Ioid *IoidCaller) ProjectIDs(opts *bind.CallOpts, _projectId *big.Int, _start common.Address, _pageSize *big.Int) (struct {
	Array []common.Address
	Next  common.Address
}, error)

ProjectIDs is a free data retrieval call binding the contract method 0x95f8243a.

Solidity: function projectIDs(uint256 _projectId, address _start, uint256 _pageSize) view returns(address[] array, address next)

func (*IoidCaller) Resolver

func (_Ioid *IoidCaller) Resolver(opts *bind.CallOpts, _id *big.Int) (common.Address, error)

Resolver is a free data retrieval call binding the contract method 0x108eaa4e.

Solidity: function resolver(uint256 _id) view returns(address)

func (*IoidCaller) SupportsInterface

func (_Ioid *IoidCaller) 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 (*IoidCaller) Symbol

func (_Ioid *IoidCaller) 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 (*IoidCaller) TokenByIndex

func (_Ioid *IoidCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*IoidCaller) TokenOfOwnerByIndex

func (_Ioid *IoidCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*IoidCaller) TokenURI

func (_Ioid *IoidCaller) 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)

func (*IoidCaller) TotalSupply

func (_Ioid *IoidCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*IoidCaller) Wallet

func (_Ioid *IoidCaller) Wallet(opts *bind.CallOpts, _id *big.Int) (struct {
	Wallet common.Address
	Did    string
}, error)

Wallet is a free data retrieval call binding the contract method 0xa2781335.

Solidity: function wallet(uint256 _id) view returns(address wallet_, string did_)

func (*IoidCaller) Wallet0

func (_Ioid *IoidCaller) Wallet0(opts *bind.CallOpts, _did string) (common.Address, error)

Wallet0 is a free data retrieval call binding the contract method 0xaf0be257.

Solidity: function wallet(string _did) view returns(address)

func (*IoidCaller) WalletImplementation

func (_Ioid *IoidCaller) WalletImplementation(opts *bind.CallOpts) (common.Address, error)

WalletImplementation is a free data retrieval call binding the contract method 0x8117abc1.

Solidity: function walletImplementation() view returns(address)

func (*IoidCaller) WalletRegistry

func (_Ioid *IoidCaller) WalletRegistry(opts *bind.CallOpts) (common.Address, error)

WalletRegistry is a free data retrieval call binding the contract method 0xab7aa6ad.

Solidity: function walletRegistry() view returns(address)

type IoidCallerRaw

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

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

func (*IoidCallerRaw) Call

func (_Ioid *IoidCallerRaw) 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 IoidCallerSession

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

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

func (*IoidCallerSession) BalanceOf

func (_Ioid *IoidCallerSession) 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 (*IoidCallerSession) DeviceProject

func (_Ioid *IoidCallerSession) DeviceProject(arg0 common.Address) (*big.Int, error)

DeviceProject is a free data retrieval call binding the contract method 0x7ba0ef27.

Solidity: function deviceProject(address ) view returns(uint256)

func (*IoidCallerSession) Did

func (_Ioid *IoidCallerSession) Did(_device common.Address) (string, error)

Did is a free data retrieval call binding the contract method 0xb292c335.

Solidity: function did(address _device) view returns(string)

func (*IoidCallerSession) GetApproved

func (_Ioid *IoidCallerSession) 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 (*IoidCallerSession) IsApprovedForAll

func (_Ioid *IoidCallerSession) 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 (*IoidCallerSession) Minter

func (_Ioid *IoidCallerSession) Minter() (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*IoidCallerSession) Name

func (_Ioid *IoidCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*IoidCallerSession) OwnerOf

func (_Ioid *IoidCallerSession) 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 (*IoidCallerSession) ProjectDeviceCount

func (_Ioid *IoidCallerSession) ProjectDeviceCount(arg0 *big.Int) (*big.Int, error)

ProjectDeviceCount is a free data retrieval call binding the contract method 0xf62ce247.

Solidity: function projectDeviceCount(uint256 ) view returns(uint256)

func (*IoidCallerSession) ProjectIDs

func (_Ioid *IoidCallerSession) ProjectIDs(_projectId *big.Int, _start common.Address, _pageSize *big.Int) (struct {
	Array []common.Address
	Next  common.Address
}, error)

ProjectIDs is a free data retrieval call binding the contract method 0x95f8243a.

Solidity: function projectIDs(uint256 _projectId, address _start, uint256 _pageSize) view returns(address[] array, address next)

func (*IoidCallerSession) Resolver

func (_Ioid *IoidCallerSession) Resolver(_id *big.Int) (common.Address, error)

Resolver is a free data retrieval call binding the contract method 0x108eaa4e.

Solidity: function resolver(uint256 _id) view returns(address)

func (*IoidCallerSession) SupportsInterface

func (_Ioid *IoidCallerSession) 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 (*IoidCallerSession) Symbol

func (_Ioid *IoidCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*IoidCallerSession) TokenByIndex

func (_Ioid *IoidCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*IoidCallerSession) TokenOfOwnerByIndex

func (_Ioid *IoidCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*IoidCallerSession) TokenURI

func (_Ioid *IoidCallerSession) 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 (*IoidCallerSession) TotalSupply

func (_Ioid *IoidCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*IoidCallerSession) Wallet

func (_Ioid *IoidCallerSession) Wallet(_id *big.Int) (struct {
	Wallet common.Address
	Did    string
}, error)

Wallet is a free data retrieval call binding the contract method 0xa2781335.

Solidity: function wallet(uint256 _id) view returns(address wallet_, string did_)

func (*IoidCallerSession) Wallet0

func (_Ioid *IoidCallerSession) Wallet0(_did string) (common.Address, error)

Wallet0 is a free data retrieval call binding the contract method 0xaf0be257.

Solidity: function wallet(string _did) view returns(address)

func (*IoidCallerSession) WalletImplementation

func (_Ioid *IoidCallerSession) WalletImplementation() (common.Address, error)

WalletImplementation is a free data retrieval call binding the contract method 0x8117abc1.

Solidity: function walletImplementation() view returns(address)

func (*IoidCallerSession) WalletRegistry

func (_Ioid *IoidCallerSession) WalletRegistry() (common.Address, error)

WalletRegistry is a free data retrieval call binding the contract method 0xab7aa6ad.

Solidity: function walletRegistry() view returns(address)

type IoidCreateIoID

type IoidCreateIoID struct {
	Owner  common.Address
	Id     *big.Int
	Wallet common.Address
	Did    string
	Raw    types.Log // Blockchain specific contextual infos
}

IoidCreateIoID represents a CreateIoID event raised by the Ioid contract.

type IoidCreateIoIDIterator

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

IoidCreateIoIDIterator is returned from FilterCreateIoID and is used to iterate over the raw logs and unpacked data for CreateIoID events raised by the Ioid contract.

func (*IoidCreateIoIDIterator) Close

func (it *IoidCreateIoIDIterator) Close() error

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

func (*IoidCreateIoIDIterator) Error

func (it *IoidCreateIoIDIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoidCreateIoIDIterator) Next

func (it *IoidCreateIoIDIterator) 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 IoidFilterer

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

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

func NewIoidFilterer

func NewIoidFilterer(address common.Address, filterer bind.ContractFilterer) (*IoidFilterer, error)

NewIoidFilterer creates a new log filterer instance of Ioid, bound to a specific deployed contract.

func (*IoidFilterer) FilterApproval

func (_Ioid *IoidFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*IoidApprovalIterator, 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 (*IoidFilterer) FilterApprovalForAll

func (_Ioid *IoidFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*IoidApprovalForAllIterator, 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 (*IoidFilterer) FilterCreateIoID

func (_Ioid *IoidFilterer) FilterCreateIoID(opts *bind.FilterOpts, owner []common.Address) (*IoidCreateIoIDIterator, error)

FilterCreateIoID is a free log retrieval operation binding the contract event 0x313a15bccdaa3cc35e31f4e2f6a0c398a1c735a9231dd4684399ea0307373062.

Solidity: event CreateIoID(address indexed owner, uint256 id, address wallet, string did)

func (*IoidFilterer) FilterInitialized

func (_Ioid *IoidFilterer) FilterInitialized(opts *bind.FilterOpts) (*IoidInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*IoidFilterer) FilterRemoveDIDWallet

func (_Ioid *IoidFilterer) FilterRemoveDIDWallet(opts *bind.FilterOpts, wallet []common.Address) (*IoidRemoveDIDWalletIterator, error)

FilterRemoveDIDWallet is a free log retrieval operation binding the contract event 0x5be405c75c3aee195a3c337b5ad1503937083fff6e6a6c29f9135252f379c64b.

Solidity: event RemoveDIDWallet(address indexed wallet, string did)

func (*IoidFilterer) FilterSetMinter

func (_Ioid *IoidFilterer) FilterSetMinter(opts *bind.FilterOpts, minter []common.Address) (*IoidSetMinterIterator, error)

FilterSetMinter is a free log retrieval operation binding the contract event 0xcec52196e972044edde8689a1b608e459c5946b7f3e5c8cd3d6d8e126d422e1c.

Solidity: event SetMinter(address indexed minter)

func (*IoidFilterer) FilterSetResolver

func (_Ioid *IoidFilterer) FilterSetResolver(opts *bind.FilterOpts, resolver []common.Address) (*IoidSetResolverIterator, error)

FilterSetResolver is a free log retrieval operation binding the contract event 0x8566ab8e572a998d53ba054eff8f4d5e3577cf95e3d2a0cb76ee8b2ca84e5d95.

Solidity: event SetResolver(uint256 id, address indexed resolver)

func (*IoidFilterer) FilterTransfer

func (_Ioid *IoidFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*IoidTransferIterator, 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 (*IoidFilterer) ParseApproval

func (_Ioid *IoidFilterer) ParseApproval(log types.Log) (*IoidApproval, 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 (*IoidFilterer) ParseApprovalForAll

func (_Ioid *IoidFilterer) ParseApprovalForAll(log types.Log) (*IoidApprovalForAll, error)

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

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

func (*IoidFilterer) ParseCreateIoID

func (_Ioid *IoidFilterer) ParseCreateIoID(log types.Log) (*IoidCreateIoID, error)

ParseCreateIoID is a log parse operation binding the contract event 0x313a15bccdaa3cc35e31f4e2f6a0c398a1c735a9231dd4684399ea0307373062.

Solidity: event CreateIoID(address indexed owner, uint256 id, address wallet, string did)

func (*IoidFilterer) ParseInitialized

func (_Ioid *IoidFilterer) ParseInitialized(log types.Log) (*IoidInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*IoidFilterer) ParseRemoveDIDWallet

func (_Ioid *IoidFilterer) ParseRemoveDIDWallet(log types.Log) (*IoidRemoveDIDWallet, error)

ParseRemoveDIDWallet is a log parse operation binding the contract event 0x5be405c75c3aee195a3c337b5ad1503937083fff6e6a6c29f9135252f379c64b.

Solidity: event RemoveDIDWallet(address indexed wallet, string did)

func (*IoidFilterer) ParseSetMinter

func (_Ioid *IoidFilterer) ParseSetMinter(log types.Log) (*IoidSetMinter, error)

ParseSetMinter is a log parse operation binding the contract event 0xcec52196e972044edde8689a1b608e459c5946b7f3e5c8cd3d6d8e126d422e1c.

Solidity: event SetMinter(address indexed minter)

func (*IoidFilterer) ParseSetResolver

func (_Ioid *IoidFilterer) ParseSetResolver(log types.Log) (*IoidSetResolver, error)

ParseSetResolver is a log parse operation binding the contract event 0x8566ab8e572a998d53ba054eff8f4d5e3577cf95e3d2a0cb76ee8b2ca84e5d95.

Solidity: event SetResolver(uint256 id, address indexed resolver)

func (*IoidFilterer) ParseTransfer

func (_Ioid *IoidFilterer) ParseTransfer(log types.Log) (*IoidTransfer, 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 (*IoidFilterer) WatchApproval

func (_Ioid *IoidFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IoidApproval, 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 (*IoidFilterer) WatchApprovalForAll

func (_Ioid *IoidFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *IoidApprovalForAll, 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 (*IoidFilterer) WatchCreateIoID

func (_Ioid *IoidFilterer) WatchCreateIoID(opts *bind.WatchOpts, sink chan<- *IoidCreateIoID, owner []common.Address) (event.Subscription, error)

WatchCreateIoID is a free log subscription operation binding the contract event 0x313a15bccdaa3cc35e31f4e2f6a0c398a1c735a9231dd4684399ea0307373062.

Solidity: event CreateIoID(address indexed owner, uint256 id, address wallet, string did)

func (*IoidFilterer) WatchInitialized

func (_Ioid *IoidFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *IoidInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*IoidFilterer) WatchRemoveDIDWallet

func (_Ioid *IoidFilterer) WatchRemoveDIDWallet(opts *bind.WatchOpts, sink chan<- *IoidRemoveDIDWallet, wallet []common.Address) (event.Subscription, error)

WatchRemoveDIDWallet is a free log subscription operation binding the contract event 0x5be405c75c3aee195a3c337b5ad1503937083fff6e6a6c29f9135252f379c64b.

Solidity: event RemoveDIDWallet(address indexed wallet, string did)

func (*IoidFilterer) WatchSetMinter

func (_Ioid *IoidFilterer) WatchSetMinter(opts *bind.WatchOpts, sink chan<- *IoidSetMinter, minter []common.Address) (event.Subscription, error)

WatchSetMinter is a free log subscription operation binding the contract event 0xcec52196e972044edde8689a1b608e459c5946b7f3e5c8cd3d6d8e126d422e1c.

Solidity: event SetMinter(address indexed minter)

func (*IoidFilterer) WatchSetResolver

func (_Ioid *IoidFilterer) WatchSetResolver(opts *bind.WatchOpts, sink chan<- *IoidSetResolver, resolver []common.Address) (event.Subscription, error)

WatchSetResolver is a free log subscription operation binding the contract event 0x8566ab8e572a998d53ba054eff8f4d5e3577cf95e3d2a0cb76ee8b2ca84e5d95.

Solidity: event SetResolver(uint256 id, address indexed resolver)

func (*IoidFilterer) WatchTransfer

func (_Ioid *IoidFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IoidTransfer, 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 IoidInitialized

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

IoidInitialized represents a Initialized event raised by the Ioid contract.

type IoidInitializedIterator

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

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

func (*IoidInitializedIterator) Close

func (it *IoidInitializedIterator) Close() error

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

func (*IoidInitializedIterator) Error

func (it *IoidInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoidInitializedIterator) Next

func (it *IoidInitializedIterator) 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 IoidRaw

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

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

func (*IoidRaw) Call

func (_Ioid *IoidRaw) 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 (*IoidRaw) Transact

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

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

func (*IoidRaw) Transfer

func (_Ioid *IoidRaw) 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 IoidRemoveDIDWallet

type IoidRemoveDIDWallet struct {
	Wallet common.Address
	Did    string
	Raw    types.Log // Blockchain specific contextual infos
}

IoidRemoveDIDWallet represents a RemoveDIDWallet event raised by the Ioid contract.

type IoidRemoveDIDWalletIterator

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

IoidRemoveDIDWalletIterator is returned from FilterRemoveDIDWallet and is used to iterate over the raw logs and unpacked data for RemoveDIDWallet events raised by the Ioid contract.

func (*IoidRemoveDIDWalletIterator) Close

func (it *IoidRemoveDIDWalletIterator) Close() error

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

func (*IoidRemoveDIDWalletIterator) Error

func (it *IoidRemoveDIDWalletIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoidRemoveDIDWalletIterator) Next

func (it *IoidRemoveDIDWalletIterator) 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 IoidSession

type IoidSession struct {
	Contract     *Ioid             // 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
}

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

func (*IoidSession) Approve

func (_Ioid *IoidSession) 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 (*IoidSession) BalanceOf

func (_Ioid *IoidSession) 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 (*IoidSession) DeviceProject

func (_Ioid *IoidSession) DeviceProject(arg0 common.Address) (*big.Int, error)

DeviceProject is a free data retrieval call binding the contract method 0x7ba0ef27.

Solidity: function deviceProject(address ) view returns(uint256)

func (*IoidSession) Did

func (_Ioid *IoidSession) Did(_device common.Address) (string, error)

Did is a free data retrieval call binding the contract method 0xb292c335.

Solidity: function did(address _device) view returns(string)

func (*IoidSession) GetApproved

func (_Ioid *IoidSession) 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 (*IoidSession) Initialize

func (_Ioid *IoidSession) Initialize(_minter common.Address, _walletRegistry common.Address, _walletImplementation common.Address, _name string, _symbol string) (*types.Transaction, error)

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

Solidity: function initialize(address _minter, address _walletRegistry, address _walletImplementation, string _name, string _symbol) returns()

func (*IoidSession) IsApprovedForAll

func (_Ioid *IoidSession) 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 (*IoidSession) Mint

func (_Ioid *IoidSession) Mint(_projectId *big.Int, _device common.Address, _owner common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xda39b3e7.

Solidity: function mint(uint256 _projectId, address _device, address _owner) returns(uint256)

func (*IoidSession) Minter

func (_Ioid *IoidSession) Minter() (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*IoidSession) Name

func (_Ioid *IoidSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*IoidSession) OwnerOf

func (_Ioid *IoidSession) 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 (*IoidSession) ProjectDeviceCount

func (_Ioid *IoidSession) ProjectDeviceCount(arg0 *big.Int) (*big.Int, error)

ProjectDeviceCount is a free data retrieval call binding the contract method 0xf62ce247.

Solidity: function projectDeviceCount(uint256 ) view returns(uint256)

func (*IoidSession) ProjectIDs

func (_Ioid *IoidSession) ProjectIDs(_projectId *big.Int, _start common.Address, _pageSize *big.Int) (struct {
	Array []common.Address
	Next  common.Address
}, error)

ProjectIDs is a free data retrieval call binding the contract method 0x95f8243a.

Solidity: function projectIDs(uint256 _projectId, address _start, uint256 _pageSize) view returns(address[] array, address next)

func (*IoidSession) RemoveDID

func (_Ioid *IoidSession) RemoveDID(_device common.Address) (*types.Transaction, error)

RemoveDID is a paid mutator transaction binding the contract method 0x330c5a0e.

Solidity: function removeDID(address _device) returns()

func (*IoidSession) Resolver

func (_Ioid *IoidSession) Resolver(_id *big.Int) (common.Address, error)

Resolver is a free data retrieval call binding the contract method 0x108eaa4e.

Solidity: function resolver(uint256 _id) view returns(address)

func (*IoidSession) SafeTransferFrom

func (_Ioid *IoidSession) 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 (*IoidSession) SafeTransferFrom0

func (_Ioid *IoidSession) 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 (*IoidSession) SetApprovalForAll

func (_Ioid *IoidSession) 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 (*IoidSession) SetMinter

func (_Ioid *IoidSession) SetMinter(_minter common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address _minter) returns()

func (*IoidSession) SetResolver

func (_Ioid *IoidSession) SetResolver(_id *big.Int, _resolver common.Address) (*types.Transaction, error)

SetResolver is a paid mutator transaction binding the contract method 0xbc7b6d62.

Solidity: function setResolver(uint256 _id, address _resolver) returns()

func (*IoidSession) SupportsInterface

func (_Ioid *IoidSession) 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 (*IoidSession) Symbol

func (_Ioid *IoidSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*IoidSession) TokenByIndex

func (_Ioid *IoidSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*IoidSession) TokenOfOwnerByIndex

func (_Ioid *IoidSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*IoidSession) TokenURI

func (_Ioid *IoidSession) 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 (*IoidSession) TotalSupply

func (_Ioid *IoidSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*IoidSession) TransferFrom

func (_Ioid *IoidSession) 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 (*IoidSession) Wallet

func (_Ioid *IoidSession) Wallet(_id *big.Int) (struct {
	Wallet common.Address
	Did    string
}, error)

Wallet is a free data retrieval call binding the contract method 0xa2781335.

Solidity: function wallet(uint256 _id) view returns(address wallet_, string did_)

func (*IoidSession) Wallet0

func (_Ioid *IoidSession) Wallet0(_did string) (common.Address, error)

Wallet0 is a free data retrieval call binding the contract method 0xaf0be257.

Solidity: function wallet(string _did) view returns(address)

func (*IoidSession) WalletImplementation

func (_Ioid *IoidSession) WalletImplementation() (common.Address, error)

WalletImplementation is a free data retrieval call binding the contract method 0x8117abc1.

Solidity: function walletImplementation() view returns(address)

func (*IoidSession) WalletRegistry

func (_Ioid *IoidSession) WalletRegistry() (common.Address, error)

WalletRegistry is a free data retrieval call binding the contract method 0xab7aa6ad.

Solidity: function walletRegistry() view returns(address)

type IoidSetMinter

type IoidSetMinter struct {
	Minter common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

IoidSetMinter represents a SetMinter event raised by the Ioid contract.

type IoidSetMinterIterator

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

IoidSetMinterIterator is returned from FilterSetMinter and is used to iterate over the raw logs and unpacked data for SetMinter events raised by the Ioid contract.

func (*IoidSetMinterIterator) Close

func (it *IoidSetMinterIterator) Close() error

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

func (*IoidSetMinterIterator) Error

func (it *IoidSetMinterIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoidSetMinterIterator) Next

func (it *IoidSetMinterIterator) 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 IoidSetResolver

type IoidSetResolver struct {
	Id       *big.Int
	Resolver common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

IoidSetResolver represents a SetResolver event raised by the Ioid contract.

type IoidSetResolverIterator

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

IoidSetResolverIterator is returned from FilterSetResolver and is used to iterate over the raw logs and unpacked data for SetResolver events raised by the Ioid contract.

func (*IoidSetResolverIterator) Close

func (it *IoidSetResolverIterator) Close() error

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

func (*IoidSetResolverIterator) Error

func (it *IoidSetResolverIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoidSetResolverIterator) Next

func (it *IoidSetResolverIterator) 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 IoidTransactor

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

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

func NewIoidTransactor

func NewIoidTransactor(address common.Address, transactor bind.ContractTransactor) (*IoidTransactor, error)

NewIoidTransactor creates a new write-only instance of Ioid, bound to a specific deployed contract.

func (*IoidTransactor) Approve

func (_Ioid *IoidTransactor) 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 (*IoidTransactor) Initialize

func (_Ioid *IoidTransactor) Initialize(opts *bind.TransactOpts, _minter common.Address, _walletRegistry common.Address, _walletImplementation common.Address, _name string, _symbol string) (*types.Transaction, error)

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

Solidity: function initialize(address _minter, address _walletRegistry, address _walletImplementation, string _name, string _symbol) returns()

func (*IoidTransactor) Mint

func (_Ioid *IoidTransactor) Mint(opts *bind.TransactOpts, _projectId *big.Int, _device common.Address, _owner common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xda39b3e7.

Solidity: function mint(uint256 _projectId, address _device, address _owner) returns(uint256)

func (*IoidTransactor) RemoveDID

func (_Ioid *IoidTransactor) RemoveDID(opts *bind.TransactOpts, _device common.Address) (*types.Transaction, error)

RemoveDID is a paid mutator transaction binding the contract method 0x330c5a0e.

Solidity: function removeDID(address _device) returns()

func (*IoidTransactor) SafeTransferFrom

func (_Ioid *IoidTransactor) 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 (*IoidTransactor) SafeTransferFrom0

func (_Ioid *IoidTransactor) 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 (*IoidTransactor) SetApprovalForAll

func (_Ioid *IoidTransactor) 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 (*IoidTransactor) SetMinter

func (_Ioid *IoidTransactor) SetMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address _minter) returns()

func (*IoidTransactor) SetResolver

func (_Ioid *IoidTransactor) SetResolver(opts *bind.TransactOpts, _id *big.Int, _resolver common.Address) (*types.Transaction, error)

SetResolver is a paid mutator transaction binding the contract method 0xbc7b6d62.

Solidity: function setResolver(uint256 _id, address _resolver) returns()

func (*IoidTransactor) TransferFrom

func (_Ioid *IoidTransactor) 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()

type IoidTransactorRaw

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

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

func (*IoidTransactorRaw) Transact

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

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

func (*IoidTransactorRaw) Transfer

func (_Ioid *IoidTransactorRaw) 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 IoidTransactorSession

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

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

func (*IoidTransactorSession) Approve

func (_Ioid *IoidTransactorSession) 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 (*IoidTransactorSession) Initialize

func (_Ioid *IoidTransactorSession) Initialize(_minter common.Address, _walletRegistry common.Address, _walletImplementation common.Address, _name string, _symbol string) (*types.Transaction, error)

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

Solidity: function initialize(address _minter, address _walletRegistry, address _walletImplementation, string _name, string _symbol) returns()

func (*IoidTransactorSession) Mint

func (_Ioid *IoidTransactorSession) Mint(_projectId *big.Int, _device common.Address, _owner common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xda39b3e7.

Solidity: function mint(uint256 _projectId, address _device, address _owner) returns(uint256)

func (*IoidTransactorSession) RemoveDID

func (_Ioid *IoidTransactorSession) RemoveDID(_device common.Address) (*types.Transaction, error)

RemoveDID is a paid mutator transaction binding the contract method 0x330c5a0e.

Solidity: function removeDID(address _device) returns()

func (*IoidTransactorSession) SafeTransferFrom

func (_Ioid *IoidTransactorSession) 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 (*IoidTransactorSession) SafeTransferFrom0

func (_Ioid *IoidTransactorSession) 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 (*IoidTransactorSession) SetApprovalForAll

func (_Ioid *IoidTransactorSession) 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 (*IoidTransactorSession) SetMinter

func (_Ioid *IoidTransactorSession) SetMinter(_minter common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address _minter) returns()

func (*IoidTransactorSession) SetResolver

func (_Ioid *IoidTransactorSession) SetResolver(_id *big.Int, _resolver common.Address) (*types.Transaction, error)

SetResolver is a paid mutator transaction binding the contract method 0xbc7b6d62.

Solidity: function setResolver(uint256 _id, address _resolver) returns()

func (*IoidTransactorSession) TransferFrom

func (_Ioid *IoidTransactorSession) 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()

type IoidTransfer

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

IoidTransfer represents a Transfer event raised by the Ioid contract.

type IoidTransferIterator

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

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

func (*IoidTransferIterator) Close

func (it *IoidTransferIterator) Close() error

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

func (*IoidTransferIterator) Error

func (it *IoidTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IoidTransferIterator) Next

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