Documentation
¶
Index ¶
- Variables
- type Projectdevice
- type ProjectdeviceApprove
- type ProjectdeviceApproveIterator
- type ProjectdeviceCaller
- func (_Projectdevice *ProjectdeviceCaller) Approved(opts *bind.CallOpts, _projectId *big.Int, _device common.Address) (bool, error)
- func (_Projectdevice *ProjectdeviceCaller) IoIDRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_Projectdevice *ProjectdeviceCaller) W3bstreamProject(opts *bind.CallOpts) (common.Address, error)
- type ProjectdeviceCallerRaw
- type ProjectdeviceCallerSession
- type ProjectdeviceFilterer
- func (_Projectdevice *ProjectdeviceFilterer) FilterApprove(opts *bind.FilterOpts, device []common.Address) (*ProjectdeviceApproveIterator, error)
- func (_Projectdevice *ProjectdeviceFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProjectdeviceInitializedIterator, error)
- func (_Projectdevice *ProjectdeviceFilterer) FilterUnapprove(opts *bind.FilterOpts, device []common.Address) (*ProjectdeviceUnapproveIterator, error)
- func (_Projectdevice *ProjectdeviceFilterer) ParseApprove(log types.Log) (*ProjectdeviceApprove, error)
- func (_Projectdevice *ProjectdeviceFilterer) ParseInitialized(log types.Log) (*ProjectdeviceInitialized, error)
- func (_Projectdevice *ProjectdeviceFilterer) ParseUnapprove(log types.Log) (*ProjectdeviceUnapprove, error)
- func (_Projectdevice *ProjectdeviceFilterer) WatchApprove(opts *bind.WatchOpts, sink chan<- *ProjectdeviceApprove, ...) (event.Subscription, error)
- func (_Projectdevice *ProjectdeviceFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProjectdeviceInitialized) (event.Subscription, error)
- func (_Projectdevice *ProjectdeviceFilterer) WatchUnapprove(opts *bind.WatchOpts, sink chan<- *ProjectdeviceUnapprove, ...) (event.Subscription, error)
- type ProjectdeviceInitialized
- type ProjectdeviceInitializedIterator
- type ProjectdeviceRaw
- func (_Projectdevice *ProjectdeviceRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Projectdevice *ProjectdeviceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Projectdevice *ProjectdeviceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ProjectdeviceSession
- func (_Projectdevice *ProjectdeviceSession) Approve(_projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
- func (_Projectdevice *ProjectdeviceSession) Approved(_projectId *big.Int, _device common.Address) (bool, error)
- func (_Projectdevice *ProjectdeviceSession) Initialize(_ioIDRegistry common.Address, _w3bstreamProject common.Address) (*types.Transaction, error)
- func (_Projectdevice *ProjectdeviceSession) IoIDRegistry() (common.Address, error)
- func (_Projectdevice *ProjectdeviceSession) Unapprove(_projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
- func (_Projectdevice *ProjectdeviceSession) W3bstreamProject() (common.Address, error)
- type ProjectdeviceTransactor
- func (_Projectdevice *ProjectdeviceTransactor) Approve(opts *bind.TransactOpts, _projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
- func (_Projectdevice *ProjectdeviceTransactor) Initialize(opts *bind.TransactOpts, _ioIDRegistry common.Address, ...) (*types.Transaction, error)
- func (_Projectdevice *ProjectdeviceTransactor) Unapprove(opts *bind.TransactOpts, _projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
- type ProjectdeviceTransactorRaw
- type ProjectdeviceTransactorSession
- func (_Projectdevice *ProjectdeviceTransactorSession) Approve(_projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
- func (_Projectdevice *ProjectdeviceTransactorSession) Initialize(_ioIDRegistry common.Address, _w3bstreamProject common.Address) (*types.Transaction, error)
- func (_Projectdevice *ProjectdeviceTransactorSession) Unapprove(_projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
- type ProjectdeviceUnapprove
- type ProjectdeviceUnapproveIterator
Constants ¶
This section is empty.
Variables ¶
var ProjectdeviceABI = ProjectdeviceMetaData.ABI
ProjectdeviceABI is the input ABI used to generate the binding from. Deprecated: Use ProjectdeviceMetaData.ABI instead.
var ProjectdeviceMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"}],\"name\":\"Approve\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"device\",\"type\":\"address\"}],\"name\":\"Unapprove\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_devices\",\"type\":\"address[]\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_device\",\"type\":\"address\"}],\"name\":\"approved\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ioIDRegistry\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_w3bstreamProject\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ioIDRegistry\",\"outputs\":[{\"internalType\":\"contractIioIDRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_devices\",\"type\":\"address[]\"}],\"name\":\"unapprove\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"w3bstreamProject\",\"outputs\":[{\"internalType\":\"contractIW3bstreamProject\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
ProjectdeviceMetaData contains all meta data concerning the Projectdevice contract.
Functions ¶
This section is empty.
Types ¶
type Projectdevice ¶
type Projectdevice struct {
ProjectdeviceCaller // Read-only binding to the contract
ProjectdeviceTransactor // Write-only binding to the contract
ProjectdeviceFilterer // Log filterer for contract events
}
Projectdevice is an auto generated Go binding around an Ethereum contract.
func NewProjectdevice ¶
func NewProjectdevice(address common.Address, backend bind.ContractBackend) (*Projectdevice, error)
NewProjectdevice creates a new instance of Projectdevice, bound to a specific deployed contract.
type ProjectdeviceApprove ¶
type ProjectdeviceApprove struct {
ProjectId *big.Int
Device common.Address
Raw types.Log // Blockchain specific contextual infos
}
ProjectdeviceApprove represents a Approve event raised by the Projectdevice contract.
type ProjectdeviceApproveIterator ¶
type ProjectdeviceApproveIterator struct {
Event *ProjectdeviceApprove // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProjectdeviceApproveIterator is returned from FilterApprove and is used to iterate over the raw logs and unpacked data for Approve events raised by the Projectdevice contract.
func (*ProjectdeviceApproveIterator) Close ¶
func (it *ProjectdeviceApproveIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectdeviceApproveIterator) Error ¶
func (it *ProjectdeviceApproveIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectdeviceApproveIterator) Next ¶
func (it *ProjectdeviceApproveIterator) 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 ProjectdeviceCaller ¶
type ProjectdeviceCaller struct {
// contains filtered or unexported fields
}
ProjectdeviceCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewProjectdeviceCaller ¶
func NewProjectdeviceCaller(address common.Address, caller bind.ContractCaller) (*ProjectdeviceCaller, error)
NewProjectdeviceCaller creates a new read-only instance of Projectdevice, bound to a specific deployed contract.
func (*ProjectdeviceCaller) Approved ¶
func (_Projectdevice *ProjectdeviceCaller) Approved(opts *bind.CallOpts, _projectId *big.Int, _device common.Address) (bool, error)
Approved is a free data retrieval call binding the contract method 0x8253951a.
Solidity: function approved(uint256 _projectId, address _device) view returns(bool)
func (*ProjectdeviceCaller) IoIDRegistry ¶
func (_Projectdevice *ProjectdeviceCaller) IoIDRegistry(opts *bind.CallOpts) (common.Address, error)
IoIDRegistry is a free data retrieval call binding the contract method 0x95cc7086.
Solidity: function ioIDRegistry() view returns(address)
func (*ProjectdeviceCaller) W3bstreamProject ¶
func (_Projectdevice *ProjectdeviceCaller) W3bstreamProject(opts *bind.CallOpts) (common.Address, error)
W3bstreamProject is a free data retrieval call binding the contract method 0x561f1fc4.
Solidity: function w3bstreamProject() view returns(address)
type ProjectdeviceCallerRaw ¶
type ProjectdeviceCallerRaw struct {
Contract *ProjectdeviceCaller // Generic read-only contract binding to access the raw methods on
}
ProjectdeviceCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ProjectdeviceCallerRaw) Call ¶
func (_Projectdevice *ProjectdeviceCallerRaw) 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 ProjectdeviceCallerSession ¶
type ProjectdeviceCallerSession struct {
Contract *ProjectdeviceCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
ProjectdeviceCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ProjectdeviceCallerSession) Approved ¶
func (_Projectdevice *ProjectdeviceCallerSession) Approved(_projectId *big.Int, _device common.Address) (bool, error)
Approved is a free data retrieval call binding the contract method 0x8253951a.
Solidity: function approved(uint256 _projectId, address _device) view returns(bool)
func (*ProjectdeviceCallerSession) IoIDRegistry ¶
func (_Projectdevice *ProjectdeviceCallerSession) IoIDRegistry() (common.Address, error)
IoIDRegistry is a free data retrieval call binding the contract method 0x95cc7086.
Solidity: function ioIDRegistry() view returns(address)
func (*ProjectdeviceCallerSession) W3bstreamProject ¶
func (_Projectdevice *ProjectdeviceCallerSession) W3bstreamProject() (common.Address, error)
W3bstreamProject is a free data retrieval call binding the contract method 0x561f1fc4.
Solidity: function w3bstreamProject() view returns(address)
type ProjectdeviceFilterer ¶
type ProjectdeviceFilterer struct {
// contains filtered or unexported fields
}
ProjectdeviceFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewProjectdeviceFilterer ¶
func NewProjectdeviceFilterer(address common.Address, filterer bind.ContractFilterer) (*ProjectdeviceFilterer, error)
NewProjectdeviceFilterer creates a new log filterer instance of Projectdevice, bound to a specific deployed contract.
func (*ProjectdeviceFilterer) FilterApprove ¶
func (_Projectdevice *ProjectdeviceFilterer) FilterApprove(opts *bind.FilterOpts, device []common.Address) (*ProjectdeviceApproveIterator, error)
FilterApprove is a free log retrieval operation binding the contract event 0x47ad3e4b0f4bdbe3ac08708bbc45053d2ff616911b39e65563fd9bd781909645.
Solidity: event Approve(uint256 projectId, address indexed device)
func (*ProjectdeviceFilterer) FilterInitialized ¶
func (_Projectdevice *ProjectdeviceFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProjectdeviceInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProjectdeviceFilterer) FilterUnapprove ¶
func (_Projectdevice *ProjectdeviceFilterer) FilterUnapprove(opts *bind.FilterOpts, device []common.Address) (*ProjectdeviceUnapproveIterator, error)
FilterUnapprove is a free log retrieval operation binding the contract event 0x958e4c39d74f2f6ff958f2ff19d4cf29448476d9e44e9aab9547f7e30d4cc86b.
Solidity: event Unapprove(uint256 projectId, address indexed device)
func (*ProjectdeviceFilterer) ParseApprove ¶
func (_Projectdevice *ProjectdeviceFilterer) ParseApprove(log types.Log) (*ProjectdeviceApprove, error)
ParseApprove is a log parse operation binding the contract event 0x47ad3e4b0f4bdbe3ac08708bbc45053d2ff616911b39e65563fd9bd781909645.
Solidity: event Approve(uint256 projectId, address indexed device)
func (*ProjectdeviceFilterer) ParseInitialized ¶
func (_Projectdevice *ProjectdeviceFilterer) ParseInitialized(log types.Log) (*ProjectdeviceInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProjectdeviceFilterer) ParseUnapprove ¶
func (_Projectdevice *ProjectdeviceFilterer) ParseUnapprove(log types.Log) (*ProjectdeviceUnapprove, error)
ParseUnapprove is a log parse operation binding the contract event 0x958e4c39d74f2f6ff958f2ff19d4cf29448476d9e44e9aab9547f7e30d4cc86b.
Solidity: event Unapprove(uint256 projectId, address indexed device)
func (*ProjectdeviceFilterer) WatchApprove ¶
func (_Projectdevice *ProjectdeviceFilterer) WatchApprove(opts *bind.WatchOpts, sink chan<- *ProjectdeviceApprove, device []common.Address) (event.Subscription, error)
WatchApprove is a free log subscription operation binding the contract event 0x47ad3e4b0f4bdbe3ac08708bbc45053d2ff616911b39e65563fd9bd781909645.
Solidity: event Approve(uint256 projectId, address indexed device)
func (*ProjectdeviceFilterer) WatchInitialized ¶
func (_Projectdevice *ProjectdeviceFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProjectdeviceInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProjectdeviceFilterer) WatchUnapprove ¶
func (_Projectdevice *ProjectdeviceFilterer) WatchUnapprove(opts *bind.WatchOpts, sink chan<- *ProjectdeviceUnapprove, device []common.Address) (event.Subscription, error)
WatchUnapprove is a free log subscription operation binding the contract event 0x958e4c39d74f2f6ff958f2ff19d4cf29448476d9e44e9aab9547f7e30d4cc86b.
Solidity: event Unapprove(uint256 projectId, address indexed device)
type ProjectdeviceInitialized ¶
type ProjectdeviceInitialized struct {
Version uint8
Raw types.Log // Blockchain specific contextual infos
}
ProjectdeviceInitialized represents a Initialized event raised by the Projectdevice contract.
type ProjectdeviceInitializedIterator ¶
type ProjectdeviceInitializedIterator struct {
Event *ProjectdeviceInitialized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProjectdeviceInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Projectdevice contract.
func (*ProjectdeviceInitializedIterator) Close ¶
func (it *ProjectdeviceInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectdeviceInitializedIterator) Error ¶
func (it *ProjectdeviceInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectdeviceInitializedIterator) Next ¶
func (it *ProjectdeviceInitializedIterator) 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 ProjectdeviceRaw ¶
type ProjectdeviceRaw struct {
Contract *Projectdevice // Generic contract binding to access the raw methods on
}
ProjectdeviceRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ProjectdeviceRaw) Call ¶
func (_Projectdevice *ProjectdeviceRaw) 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 (*ProjectdeviceRaw) Transact ¶
func (_Projectdevice *ProjectdeviceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProjectdeviceRaw) Transfer ¶
func (_Projectdevice *ProjectdeviceRaw) 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 ProjectdeviceSession ¶
type ProjectdeviceSession struct {
Contract *Projectdevice // 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
}
ProjectdeviceSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ProjectdeviceSession) Approve ¶
func (_Projectdevice *ProjectdeviceSession) Approve(_projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xd744d8dc.
Solidity: function approve(uint256 _projectId, address[] _devices) returns()
func (*ProjectdeviceSession) Approved ¶
func (_Projectdevice *ProjectdeviceSession) Approved(_projectId *big.Int, _device common.Address) (bool, error)
Approved is a free data retrieval call binding the contract method 0x8253951a.
Solidity: function approved(uint256 _projectId, address _device) view returns(bool)
func (*ProjectdeviceSession) Initialize ¶
func (_Projectdevice *ProjectdeviceSession) Initialize(_ioIDRegistry common.Address, _w3bstreamProject common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _ioIDRegistry, address _w3bstreamProject) returns()
func (*ProjectdeviceSession) IoIDRegistry ¶
func (_Projectdevice *ProjectdeviceSession) IoIDRegistry() (common.Address, error)
IoIDRegistry is a free data retrieval call binding the contract method 0x95cc7086.
Solidity: function ioIDRegistry() view returns(address)
func (*ProjectdeviceSession) Unapprove ¶
func (_Projectdevice *ProjectdeviceSession) Unapprove(_projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
Unapprove is a paid mutator transaction binding the contract method 0xfa6b352c.
Solidity: function unapprove(uint256 _projectId, address[] _devices) returns()
func (*ProjectdeviceSession) W3bstreamProject ¶
func (_Projectdevice *ProjectdeviceSession) W3bstreamProject() (common.Address, error)
W3bstreamProject is a free data retrieval call binding the contract method 0x561f1fc4.
Solidity: function w3bstreamProject() view returns(address)
type ProjectdeviceTransactor ¶
type ProjectdeviceTransactor struct {
// contains filtered or unexported fields
}
ProjectdeviceTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewProjectdeviceTransactor ¶
func NewProjectdeviceTransactor(address common.Address, transactor bind.ContractTransactor) (*ProjectdeviceTransactor, error)
NewProjectdeviceTransactor creates a new write-only instance of Projectdevice, bound to a specific deployed contract.
func (*ProjectdeviceTransactor) Approve ¶
func (_Projectdevice *ProjectdeviceTransactor) Approve(opts *bind.TransactOpts, _projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xd744d8dc.
Solidity: function approve(uint256 _projectId, address[] _devices) returns()
func (*ProjectdeviceTransactor) Initialize ¶
func (_Projectdevice *ProjectdeviceTransactor) Initialize(opts *bind.TransactOpts, _ioIDRegistry common.Address, _w3bstreamProject common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _ioIDRegistry, address _w3bstreamProject) returns()
func (*ProjectdeviceTransactor) Unapprove ¶
func (_Projectdevice *ProjectdeviceTransactor) Unapprove(opts *bind.TransactOpts, _projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
Unapprove is a paid mutator transaction binding the contract method 0xfa6b352c.
Solidity: function unapprove(uint256 _projectId, address[] _devices) returns()
type ProjectdeviceTransactorRaw ¶
type ProjectdeviceTransactorRaw struct {
Contract *ProjectdeviceTransactor // Generic write-only contract binding to access the raw methods on
}
ProjectdeviceTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ProjectdeviceTransactorRaw) Transact ¶
func (_Projectdevice *ProjectdeviceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProjectdeviceTransactorRaw) Transfer ¶
func (_Projectdevice *ProjectdeviceTransactorRaw) 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 ProjectdeviceTransactorSession ¶
type ProjectdeviceTransactorSession struct {
Contract *ProjectdeviceTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
ProjectdeviceTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ProjectdeviceTransactorSession) Approve ¶
func (_Projectdevice *ProjectdeviceTransactorSession) Approve(_projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xd744d8dc.
Solidity: function approve(uint256 _projectId, address[] _devices) returns()
func (*ProjectdeviceTransactorSession) Initialize ¶
func (_Projectdevice *ProjectdeviceTransactorSession) Initialize(_ioIDRegistry common.Address, _w3bstreamProject common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _ioIDRegistry, address _w3bstreamProject) returns()
func (*ProjectdeviceTransactorSession) Unapprove ¶
func (_Projectdevice *ProjectdeviceTransactorSession) Unapprove(_projectId *big.Int, _devices []common.Address) (*types.Transaction, error)
Unapprove is a paid mutator transaction binding the contract method 0xfa6b352c.
Solidity: function unapprove(uint256 _projectId, address[] _devices) returns()
type ProjectdeviceUnapprove ¶
type ProjectdeviceUnapprove struct {
ProjectId *big.Int
Device common.Address
Raw types.Log // Blockchain specific contextual infos
}
ProjectdeviceUnapprove represents a Unapprove event raised by the Projectdevice contract.
type ProjectdeviceUnapproveIterator ¶
type ProjectdeviceUnapproveIterator struct {
Event *ProjectdeviceUnapprove // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProjectdeviceUnapproveIterator is returned from FilterUnapprove and is used to iterate over the raw logs and unpacked data for Unapprove events raised by the Projectdevice contract.
func (*ProjectdeviceUnapproveIterator) Close ¶
func (it *ProjectdeviceUnapproveIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectdeviceUnapproveIterator) Error ¶
func (it *ProjectdeviceUnapproveIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectdeviceUnapproveIterator) Next ¶
func (it *ProjectdeviceUnapproveIterator) 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.