Documentation
¶
Index ¶
- Variables
- type Mockioid
- type MockioidApproval
- type MockioidApprovalForAll
- type MockioidApprovalForAllIterator
- type MockioidApprovalIterator
- type MockioidCaller
- func (_Mockioid *MockioidCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Mockioid *MockioidCaller) DeviceProject(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Mockioid *MockioidCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Mockioid *MockioidCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Mockioid *MockioidCaller) METHOD(opts *bind.CallOpts) (string, error)
- func (_Mockioid *MockioidCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Mockioid *MockioidCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Mockioid *MockioidCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Mockioid *MockioidCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Mockioid *MockioidCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- type MockioidCallerRaw
- type MockioidCallerSession
- func (_Mockioid *MockioidCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Mockioid *MockioidCallerSession) DeviceProject(arg0 common.Address) (*big.Int, error)
- func (_Mockioid *MockioidCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Mockioid *MockioidCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Mockioid *MockioidCallerSession) METHOD() (string, error)
- func (_Mockioid *MockioidCallerSession) Name() (string, error)
- func (_Mockioid *MockioidCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Mockioid *MockioidCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Mockioid *MockioidCallerSession) Symbol() (string, error)
- func (_Mockioid *MockioidCallerSession) TokenURI(tokenId *big.Int) (string, error)
- type MockioidCreateIoID
- type MockioidCreateIoIDIterator
- type MockioidFilterer
- func (_Mockioid *MockioidFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*MockioidApprovalIterator, error)
- func (_Mockioid *MockioidFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*MockioidApprovalForAllIterator, error)
- func (_Mockioid *MockioidFilterer) FilterCreateIoID(opts *bind.FilterOpts, owner []common.Address) (*MockioidCreateIoIDIterator, error)
- func (_Mockioid *MockioidFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*MockioidTransferIterator, error)
- func (_Mockioid *MockioidFilterer) ParseApproval(log types.Log) (*MockioidApproval, error)
- func (_Mockioid *MockioidFilterer) ParseApprovalForAll(log types.Log) (*MockioidApprovalForAll, error)
- func (_Mockioid *MockioidFilterer) ParseCreateIoID(log types.Log) (*MockioidCreateIoID, error)
- func (_Mockioid *MockioidFilterer) ParseTransfer(log types.Log) (*MockioidTransfer, error)
- func (_Mockioid *MockioidFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MockioidApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Mockioid *MockioidFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *MockioidApprovalForAll, ...) (event.Subscription, error)
- func (_Mockioid *MockioidFilterer) WatchCreateIoID(opts *bind.WatchOpts, sink chan<- *MockioidCreateIoID, owner []common.Address) (event.Subscription, error)
- func (_Mockioid *MockioidFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MockioidTransfer, from []common.Address, ...) (event.Subscription, error)
- type MockioidRaw
- func (_Mockioid *MockioidRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Mockioid *MockioidRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Mockioid *MockioidRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MockioidSession
- func (_Mockioid *MockioidSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Mockioid *MockioidSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Mockioid *MockioidSession) DeviceProject(arg0 common.Address) (*big.Int, error)
- func (_Mockioid *MockioidSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Mockioid *MockioidSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Mockioid *MockioidSession) METHOD() (string, error)
- func (_Mockioid *MockioidSession) Name() (string, error)
- func (_Mockioid *MockioidSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Mockioid *MockioidSession) Register(_projectId *big.Int, _device common.Address, _deviceDID string) (*types.Transaction, error)
- func (_Mockioid *MockioidSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Mockioid *MockioidSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Mockioid *MockioidSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Mockioid *MockioidSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Mockioid *MockioidSession) Symbol() (string, error)
- func (_Mockioid *MockioidSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Mockioid *MockioidSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type MockioidTransactor
- func (_Mockioid *MockioidTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Mockioid *MockioidTransactor) Register(opts *bind.TransactOpts, _projectId *big.Int, _device common.Address, ...) (*types.Transaction, error)
- func (_Mockioid *MockioidTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Mockioid *MockioidTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Mockioid *MockioidTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Mockioid *MockioidTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type MockioidTransactorRaw
- type MockioidTransactorSession
- func (_Mockioid *MockioidTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Mockioid *MockioidTransactorSession) Register(_projectId *big.Int, _device common.Address, _deviceDID string) (*types.Transaction, error)
- func (_Mockioid *MockioidTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Mockioid *MockioidTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Mockioid *MockioidTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Mockioid *MockioidTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type MockioidTransfer
- type MockioidTransferIterator
Constants ¶
This section is empty.
Variables ¶
var MockioidABI = MockioidMetaData.ABI
MockioidABI is the input ABI used to generate the binding from. Deprecated: Use MockioidMetaData.ABI instead.
var MockioidMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":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\":[],\"name\":\"METHOD\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":[],\"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\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_device\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_deviceDID\",\"type\":\"string\"}],\"name\":\"register\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"id_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"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\":\"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\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\"}]",
}
MockioidMetaData contains all meta data concerning the Mockioid contract.
Functions ¶
This section is empty.
Types ¶
type Mockioid ¶
type Mockioid struct {
MockioidCaller // Read-only binding to the contract
MockioidTransactor // Write-only binding to the contract
MockioidFilterer // Log filterer for contract events
}
Mockioid is an auto generated Go binding around an Ethereum contract.
func NewMockioid ¶
NewMockioid creates a new instance of Mockioid, bound to a specific deployed contract.
type MockioidApproval ¶
type MockioidApproval struct {
Owner common.Address
Approved common.Address
TokenId *big.Int
Raw types.Log // Blockchain specific contextual infos
}
MockioidApproval represents a Approval event raised by the Mockioid contract.
type MockioidApprovalForAll ¶
type MockioidApprovalForAll struct {
Owner common.Address
Operator common.Address
Approved bool
Raw types.Log // Blockchain specific contextual infos
}
MockioidApprovalForAll represents a ApprovalForAll event raised by the Mockioid contract.
type MockioidApprovalForAllIterator ¶
type MockioidApprovalForAllIterator struct {
Event *MockioidApprovalForAll // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
MockioidApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Mockioid contract.
func (*MockioidApprovalForAllIterator) Close ¶
func (it *MockioidApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MockioidApprovalForAllIterator) Error ¶
func (it *MockioidApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MockioidApprovalForAllIterator) Next ¶
func (it *MockioidApprovalForAllIterator) 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 MockioidApprovalIterator ¶
type MockioidApprovalIterator struct {
Event *MockioidApproval // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
MockioidApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Mockioid contract.
func (*MockioidApprovalIterator) Close ¶
func (it *MockioidApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MockioidApprovalIterator) Error ¶
func (it *MockioidApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MockioidApprovalIterator) Next ¶
func (it *MockioidApprovalIterator) 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 MockioidCaller ¶
type MockioidCaller struct {
// contains filtered or unexported fields
}
MockioidCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMockioidCaller ¶
func NewMockioidCaller(address common.Address, caller bind.ContractCaller) (*MockioidCaller, error)
NewMockioidCaller creates a new read-only instance of Mockioid, bound to a specific deployed contract.
func (*MockioidCaller) BalanceOf ¶
func (_Mockioid *MockioidCaller) 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 (*MockioidCaller) DeviceProject ¶ added in v0.21.0
func (_Mockioid *MockioidCaller) 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 (*MockioidCaller) GetApproved ¶
func (_Mockioid *MockioidCaller) 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 (*MockioidCaller) IsApprovedForAll ¶
func (_Mockioid *MockioidCaller) 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 (*MockioidCaller) METHOD ¶ added in v0.21.0
func (_Mockioid *MockioidCaller) 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 (*MockioidCaller) Name ¶
func (_Mockioid *MockioidCaller) 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 (*MockioidCaller) OwnerOf ¶
func (_Mockioid *MockioidCaller) 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 (*MockioidCaller) SupportsInterface ¶
func (_Mockioid *MockioidCaller) 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)
type MockioidCallerRaw ¶
type MockioidCallerRaw struct {
Contract *MockioidCaller // Generic read-only contract binding to access the raw methods on
}
MockioidCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MockioidCallerRaw) Call ¶
func (_Mockioid *MockioidCallerRaw) 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 MockioidCallerSession ¶
type MockioidCallerSession struct {
Contract *MockioidCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
MockioidCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MockioidCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*MockioidCallerSession) DeviceProject ¶ added in v0.21.0
DeviceProject is a free data retrieval call binding the contract method 0x7ba0ef27.
Solidity: function deviceProject(address ) view returns(uint256)
func (*MockioidCallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*MockioidCallerSession) IsApprovedForAll ¶
func (_Mockioid *MockioidCallerSession) 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 (*MockioidCallerSession) METHOD ¶ added in v0.21.0
func (_Mockioid *MockioidCallerSession) METHOD() (string, error)
METHOD is a free data retrieval call binding the contract method 0x67efe82e.
Solidity: function METHOD() view returns(string)
func (*MockioidCallerSession) Name ¶
func (_Mockioid *MockioidCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*MockioidCallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*MockioidCallerSession) SupportsInterface ¶
func (_Mockioid *MockioidCallerSession) 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 (*MockioidCallerSession) Symbol ¶
func (_Mockioid *MockioidCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
type MockioidCreateIoID ¶ added in v0.21.0
type MockioidCreateIoID struct {
Owner common.Address
Id *big.Int
Wallet common.Address
Did string
Raw types.Log // Blockchain specific contextual infos
}
MockioidCreateIoID represents a CreateIoID event raised by the Mockioid contract.
type MockioidCreateIoIDIterator ¶ added in v0.21.0
type MockioidCreateIoIDIterator struct {
Event *MockioidCreateIoID // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
MockioidCreateIoIDIterator is returned from FilterCreateIoID and is used to iterate over the raw logs and unpacked data for CreateIoID events raised by the Mockioid contract.
func (*MockioidCreateIoIDIterator) Close ¶ added in v0.21.0
func (it *MockioidCreateIoIDIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MockioidCreateIoIDIterator) Error ¶ added in v0.21.0
func (it *MockioidCreateIoIDIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MockioidCreateIoIDIterator) Next ¶ added in v0.21.0
func (it *MockioidCreateIoIDIterator) 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 MockioidFilterer ¶
type MockioidFilterer struct {
// contains filtered or unexported fields
}
MockioidFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMockioidFilterer ¶
func NewMockioidFilterer(address common.Address, filterer bind.ContractFilterer) (*MockioidFilterer, error)
NewMockioidFilterer creates a new log filterer instance of Mockioid, bound to a specific deployed contract.
func (*MockioidFilterer) FilterApproval ¶
func (_Mockioid *MockioidFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*MockioidApprovalIterator, 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 (*MockioidFilterer) FilterApprovalForAll ¶
func (_Mockioid *MockioidFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*MockioidApprovalForAllIterator, 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 (*MockioidFilterer) FilterCreateIoID ¶ added in v0.21.0
func (_Mockioid *MockioidFilterer) FilterCreateIoID(opts *bind.FilterOpts, owner []common.Address) (*MockioidCreateIoIDIterator, 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 (*MockioidFilterer) FilterTransfer ¶
func (_Mockioid *MockioidFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*MockioidTransferIterator, 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 (*MockioidFilterer) ParseApproval ¶
func (_Mockioid *MockioidFilterer) ParseApproval(log types.Log) (*MockioidApproval, 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 (*MockioidFilterer) ParseApprovalForAll ¶
func (_Mockioid *MockioidFilterer) ParseApprovalForAll(log types.Log) (*MockioidApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*MockioidFilterer) ParseCreateIoID ¶ added in v0.21.0
func (_Mockioid *MockioidFilterer) ParseCreateIoID(log types.Log) (*MockioidCreateIoID, 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 (*MockioidFilterer) ParseTransfer ¶
func (_Mockioid *MockioidFilterer) ParseTransfer(log types.Log) (*MockioidTransfer, 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 (*MockioidFilterer) WatchApproval ¶
func (_Mockioid *MockioidFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MockioidApproval, 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 (*MockioidFilterer) WatchApprovalForAll ¶
func (_Mockioid *MockioidFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *MockioidApprovalForAll, 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 (*MockioidFilterer) WatchCreateIoID ¶ added in v0.21.0
func (_Mockioid *MockioidFilterer) WatchCreateIoID(opts *bind.WatchOpts, sink chan<- *MockioidCreateIoID, 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 (*MockioidFilterer) WatchTransfer ¶
func (_Mockioid *MockioidFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MockioidTransfer, 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 MockioidRaw ¶
type MockioidRaw struct {
Contract *Mockioid // Generic contract binding to access the raw methods on
}
MockioidRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MockioidRaw) Call ¶
func (_Mockioid *MockioidRaw) 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 (*MockioidRaw) Transact ¶
func (_Mockioid *MockioidRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MockioidRaw) Transfer ¶
func (_Mockioid *MockioidRaw) 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 MockioidSession ¶
type MockioidSession struct {
Contract *Mockioid // 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
}
MockioidSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MockioidSession) Approve ¶
func (_Mockioid *MockioidSession) 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 (*MockioidSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*MockioidSession) DeviceProject ¶ added in v0.21.0
DeviceProject is a free data retrieval call binding the contract method 0x7ba0ef27.
Solidity: function deviceProject(address ) view returns(uint256)
func (*MockioidSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*MockioidSession) IsApprovedForAll ¶
func (_Mockioid *MockioidSession) 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 (*MockioidSession) METHOD ¶ added in v0.21.0
func (_Mockioid *MockioidSession) METHOD() (string, error)
METHOD is a free data retrieval call binding the contract method 0x67efe82e.
Solidity: function METHOD() view returns(string)
func (*MockioidSession) Name ¶
func (_Mockioid *MockioidSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*MockioidSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*MockioidSession) Register ¶
func (_Mockioid *MockioidSession) Register(_projectId *big.Int, _device common.Address, _deviceDID string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x23a663e9.
Solidity: function register(uint256 _projectId, address _device, string _deviceDID) returns(uint256 id_)
func (*MockioidSession) SafeTransferFrom ¶
func (_Mockioid *MockioidSession) 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 (*MockioidSession) SafeTransferFrom0 ¶
func (_Mockioid *MockioidSession) 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 (*MockioidSession) SetApprovalForAll ¶
func (_Mockioid *MockioidSession) 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 (*MockioidSession) SupportsInterface ¶
func (_Mockioid *MockioidSession) 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 (*MockioidSession) Symbol ¶
func (_Mockioid *MockioidSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*MockioidSession) TokenURI ¶
func (_Mockioid *MockioidSession) 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 (*MockioidSession) TransferFrom ¶
func (_Mockioid *MockioidSession) 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 MockioidTransactor ¶
type MockioidTransactor struct {
// contains filtered or unexported fields
}
MockioidTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMockioidTransactor ¶
func NewMockioidTransactor(address common.Address, transactor bind.ContractTransactor) (*MockioidTransactor, error)
NewMockioidTransactor creates a new write-only instance of Mockioid, bound to a specific deployed contract.
func (*MockioidTransactor) Approve ¶
func (_Mockioid *MockioidTransactor) 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 (*MockioidTransactor) Register ¶
func (_Mockioid *MockioidTransactor) Register(opts *bind.TransactOpts, _projectId *big.Int, _device common.Address, _deviceDID string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x23a663e9.
Solidity: function register(uint256 _projectId, address _device, string _deviceDID) returns(uint256 id_)
func (*MockioidTransactor) SafeTransferFrom ¶
func (_Mockioid *MockioidTransactor) 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 (*MockioidTransactor) SafeTransferFrom0 ¶
func (_Mockioid *MockioidTransactor) 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 (*MockioidTransactor) SetApprovalForAll ¶
func (_Mockioid *MockioidTransactor) 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 (*MockioidTransactor) TransferFrom ¶
func (_Mockioid *MockioidTransactor) 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 MockioidTransactorRaw ¶
type MockioidTransactorRaw struct {
Contract *MockioidTransactor // Generic write-only contract binding to access the raw methods on
}
MockioidTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MockioidTransactorRaw) Transact ¶
func (_Mockioid *MockioidTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MockioidTransactorRaw) Transfer ¶
func (_Mockioid *MockioidTransactorRaw) 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 MockioidTransactorSession ¶
type MockioidTransactorSession struct {
Contract *MockioidTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
MockioidTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MockioidTransactorSession) Approve ¶
func (_Mockioid *MockioidTransactorSession) 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 (*MockioidTransactorSession) Register ¶
func (_Mockioid *MockioidTransactorSession) Register(_projectId *big.Int, _device common.Address, _deviceDID string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x23a663e9.
Solidity: function register(uint256 _projectId, address _device, string _deviceDID) returns(uint256 id_)
func (*MockioidTransactorSession) SafeTransferFrom ¶
func (_Mockioid *MockioidTransactorSession) 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 (*MockioidTransactorSession) SafeTransferFrom0 ¶
func (_Mockioid *MockioidTransactorSession) 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 (*MockioidTransactorSession) SetApprovalForAll ¶
func (_Mockioid *MockioidTransactorSession) 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 (*MockioidTransactorSession) TransferFrom ¶
func (_Mockioid *MockioidTransactorSession) 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 MockioidTransfer ¶
type MockioidTransfer struct {
From common.Address
To common.Address
TokenId *big.Int
Raw types.Log // Blockchain specific contextual infos
}
MockioidTransfer represents a Transfer event raised by the Mockioid contract.
type MockioidTransferIterator ¶
type MockioidTransferIterator struct {
Event *MockioidTransfer // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
MockioidTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Mockioid contract.
func (*MockioidTransferIterator) Close ¶
func (it *MockioidTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MockioidTransferIterator) Error ¶
func (it *MockioidTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MockioidTransferIterator) Next ¶
func (it *MockioidTransferIterator) 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.