Documentation
¶
Index ¶
- Variables
- type Router
- type RouterCaller
- type RouterCallerRaw
- type RouterCallerSession
- type RouterDappBound
- type RouterDappBoundIterator
- type RouterDappUnbound
- type RouterDappUnboundIterator
- type RouterDataProcessed
- type RouterDataProcessedIterator
- type RouterFilterer
- func (_Router *RouterFilterer) FilterDappBound(opts *bind.FilterOpts, projectId []*big.Int, operator []common.Address) (*RouterDappBoundIterator, error)
- func (_Router *RouterFilterer) FilterDappUnbound(opts *bind.FilterOpts, projectId []*big.Int, operator []common.Address) (*RouterDappUnboundIterator, error)
- func (_Router *RouterFilterer) FilterDataProcessed(opts *bind.FilterOpts, projectId []*big.Int, router []*big.Int, ...) (*RouterDataProcessedIterator, error)
- func (_Router *RouterFilterer) FilterInitialized(opts *bind.FilterOpts) (*RouterInitializedIterator, error)
- func (_Router *RouterFilterer) ParseDappBound(log types.Log) (*RouterDappBound, error)
- func (_Router *RouterFilterer) ParseDappUnbound(log types.Log) (*RouterDappUnbound, error)
- func (_Router *RouterFilterer) ParseDataProcessed(log types.Log) (*RouterDataProcessed, error)
- func (_Router *RouterFilterer) ParseInitialized(log types.Log) (*RouterInitialized, error)
- func (_Router *RouterFilterer) WatchDappBound(opts *bind.WatchOpts, sink chan<- *RouterDappBound, projectId []*big.Int, ...) (event.Subscription, error)
- func (_Router *RouterFilterer) WatchDappUnbound(opts *bind.WatchOpts, sink chan<- *RouterDappUnbound, projectId []*big.Int, ...) (event.Subscription, error)
- func (_Router *RouterFilterer) WatchDataProcessed(opts *bind.WatchOpts, sink chan<- *RouterDataProcessed, projectId []*big.Int, ...) (event.Subscription, error)
- func (_Router *RouterFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *RouterInitialized) (event.Subscription, error)
- type RouterInitialized
- type RouterInitializedIterator
- type RouterRaw
- func (_Router *RouterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Router *RouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Router *RouterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RouterSession
- func (_Router *RouterSession) BindDapp(_projectId *big.Int, _dapp common.Address) (*types.Transaction, error)
- func (_Router *RouterSession) Dapp(arg0 *big.Int) (common.Address, error)
- func (_Router *RouterSession) FleetManagement() (common.Address, error)
- func (_Router *RouterSession) Initialize(_fleetManagement common.Address, _projectStore common.Address) (*types.Transaction, error)
- func (_Router *RouterSession) ProjectStore() (common.Address, error)
- func (_Router *RouterSession) Route(_projectId *big.Int, _proverId *big.Int, _clientId string, _data []byte) (*types.Transaction, error)
- func (_Router *RouterSession) UnbindDapp(_projectId *big.Int) (*types.Transaction, error)
- type RouterTransactor
- func (_Router *RouterTransactor) BindDapp(opts *bind.TransactOpts, _projectId *big.Int, _dapp common.Address) (*types.Transaction, error)
- func (_Router *RouterTransactor) Initialize(opts *bind.TransactOpts, _fleetManagement common.Address, ...) (*types.Transaction, error)
- func (_Router *RouterTransactor) Route(opts *bind.TransactOpts, _projectId *big.Int, _proverId *big.Int, ...) (*types.Transaction, error)
- func (_Router *RouterTransactor) UnbindDapp(opts *bind.TransactOpts, _projectId *big.Int) (*types.Transaction, error)
- type RouterTransactorRaw
- type RouterTransactorSession
- func (_Router *RouterTransactorSession) BindDapp(_projectId *big.Int, _dapp common.Address) (*types.Transaction, error)
- func (_Router *RouterTransactorSession) Initialize(_fleetManagement common.Address, _projectStore common.Address) (*types.Transaction, error)
- func (_Router *RouterTransactorSession) Route(_projectId *big.Int, _proverId *big.Int, _clientId string, _data []byte) (*types.Transaction, error)
- func (_Router *RouterTransactorSession) UnbindDapp(_projectId *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var RouterABI = RouterMetaData.ABI
RouterABI is the input ABI used to generate the binding from. Deprecated: Use RouterMetaData.ABI instead.
var RouterMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"dapp\",\"type\":\"address\"}],\"name\":\"DappBound\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"DappUnbound\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"router\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"error\",\"type\":\"bytes\"}],\"name\":\"DataProcessed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"}],\"name\":\"bindDapp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"dapp\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fleetManagement\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_fleetManagement\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_projectStore\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projectStore\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_proverId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_clientId\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"route\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"unbindDapp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
RouterMetaData contains all meta data concerning the Router contract.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
RouterCaller // Read-only binding to the contract
RouterTransactor // Write-only binding to the contract
RouterFilterer // Log filterer for contract events
}
Router is an auto generated Go binding around an Ethereum contract.
type RouterCaller ¶
type RouterCaller struct {
// contains filtered or unexported fields
}
RouterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRouterCaller ¶
func NewRouterCaller(address common.Address, caller bind.ContractCaller) (*RouterCaller, error)
NewRouterCaller creates a new read-only instance of Router, bound to a specific deployed contract.
func (*RouterCaller) Dapp ¶
Dapp is a free data retrieval call binding the contract method 0x1bf8131f.
Solidity: function dapp(uint256 ) view returns(address)
func (*RouterCaller) FleetManagement ¶
FleetManagement is a free data retrieval call binding the contract method 0x53ef0542.
Solidity: function fleetManagement() view returns(address)
func (*RouterCaller) ProjectStore ¶
ProjectStore is a free data retrieval call binding the contract method 0xa0fadaaa.
Solidity: function projectStore() view returns(address)
type RouterCallerRaw ¶
type RouterCallerRaw struct {
Contract *RouterCaller // Generic read-only contract binding to access the raw methods on
}
RouterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RouterCallerRaw) Call ¶
func (_Router *RouterCallerRaw) 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 RouterCallerSession ¶
type RouterCallerSession struct {
Contract *RouterCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
RouterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RouterCallerSession) Dapp ¶
Dapp is a free data retrieval call binding the contract method 0x1bf8131f.
Solidity: function dapp(uint256 ) view returns(address)
func (*RouterCallerSession) FleetManagement ¶
func (_Router *RouterCallerSession) FleetManagement() (common.Address, error)
FleetManagement is a free data retrieval call binding the contract method 0x53ef0542.
Solidity: function fleetManagement() view returns(address)
func (*RouterCallerSession) ProjectStore ¶
func (_Router *RouterCallerSession) ProjectStore() (common.Address, error)
ProjectStore is a free data retrieval call binding the contract method 0xa0fadaaa.
Solidity: function projectStore() view returns(address)
type RouterDappBound ¶
type RouterDappBound struct {
ProjectId *big.Int
Operator common.Address
Dapp common.Address
Raw types.Log // Blockchain specific contextual infos
}
RouterDappBound represents a DappBound event raised by the Router contract.
type RouterDappBoundIterator ¶
type RouterDappBoundIterator struct {
Event *RouterDappBound // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
RouterDappBoundIterator is returned from FilterDappBound and is used to iterate over the raw logs and unpacked data for DappBound events raised by the Router contract.
func (*RouterDappBoundIterator) Close ¶
func (it *RouterDappBoundIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RouterDappBoundIterator) Error ¶
func (it *RouterDappBoundIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RouterDappBoundIterator) Next ¶
func (it *RouterDappBoundIterator) 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 RouterDappUnbound ¶
type RouterDappUnbound struct {
ProjectId *big.Int
Operator common.Address
Raw types.Log // Blockchain specific contextual infos
}
RouterDappUnbound represents a DappUnbound event raised by the Router contract.
type RouterDappUnboundIterator ¶
type RouterDappUnboundIterator struct {
Event *RouterDappUnbound // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
RouterDappUnboundIterator is returned from FilterDappUnbound and is used to iterate over the raw logs and unpacked data for DappUnbound events raised by the Router contract.
func (*RouterDappUnboundIterator) Close ¶
func (it *RouterDappUnboundIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RouterDappUnboundIterator) Error ¶
func (it *RouterDappUnboundIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RouterDappUnboundIterator) Next ¶
func (it *RouterDappUnboundIterator) 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 RouterDataProcessed ¶
type RouterDataProcessed struct {
ProjectId *big.Int
Router *big.Int
Operator common.Address
Success bool
Error []byte
Raw types.Log // Blockchain specific contextual infos
}
RouterDataProcessed represents a DataProcessed event raised by the Router contract.
type RouterDataProcessedIterator ¶
type RouterDataProcessedIterator struct {
Event *RouterDataProcessed // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
RouterDataProcessedIterator is returned from FilterDataProcessed and is used to iterate over the raw logs and unpacked data for DataProcessed events raised by the Router contract.
func (*RouterDataProcessedIterator) Close ¶
func (it *RouterDataProcessedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RouterDataProcessedIterator) Error ¶
func (it *RouterDataProcessedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RouterDataProcessedIterator) Next ¶
func (it *RouterDataProcessedIterator) 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 RouterFilterer ¶
type RouterFilterer struct {
// contains filtered or unexported fields
}
RouterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRouterFilterer ¶
func NewRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*RouterFilterer, error)
NewRouterFilterer creates a new log filterer instance of Router, bound to a specific deployed contract.
func (*RouterFilterer) FilterDappBound ¶
func (_Router *RouterFilterer) FilterDappBound(opts *bind.FilterOpts, projectId []*big.Int, operator []common.Address) (*RouterDappBoundIterator, error)
FilterDappBound is a free log retrieval operation binding the contract event 0xf121fc55c0fd19e108d2d5642aff2967949fb708d9b985093c530a8a1fb97778.
Solidity: event DappBound(uint256 indexed projectId, address indexed operator, address dapp)
func (*RouterFilterer) FilterDappUnbound ¶
func (_Router *RouterFilterer) FilterDappUnbound(opts *bind.FilterOpts, projectId []*big.Int, operator []common.Address) (*RouterDappUnboundIterator, error)
FilterDappUnbound is a free log retrieval operation binding the contract event 0x7019ee8601397d5c4fe244404e2428a9c0b0a4d8679186133186cc01376ee9f1.
Solidity: event DappUnbound(uint256 indexed projectId, address indexed operator)
func (*RouterFilterer) FilterDataProcessed ¶
func (_Router *RouterFilterer) FilterDataProcessed(opts *bind.FilterOpts, projectId []*big.Int, router []*big.Int, operator []common.Address) (*RouterDataProcessedIterator, error)
FilterDataProcessed is a free log retrieval operation binding the contract event 0x588bd93a32d237b3f0595fb64f6e8d7f74c1a5a893cd1094db2a31ac584480f7.
Solidity: event DataProcessed(uint256 indexed projectId, uint256 indexed router, address indexed operator, bool success, bytes error)
func (*RouterFilterer) FilterInitialized ¶
func (_Router *RouterFilterer) FilterInitialized(opts *bind.FilterOpts) (*RouterInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*RouterFilterer) ParseDappBound ¶
func (_Router *RouterFilterer) ParseDappBound(log types.Log) (*RouterDappBound, error)
ParseDappBound is a log parse operation binding the contract event 0xf121fc55c0fd19e108d2d5642aff2967949fb708d9b985093c530a8a1fb97778.
Solidity: event DappBound(uint256 indexed projectId, address indexed operator, address dapp)
func (*RouterFilterer) ParseDappUnbound ¶
func (_Router *RouterFilterer) ParseDappUnbound(log types.Log) (*RouterDappUnbound, error)
ParseDappUnbound is a log parse operation binding the contract event 0x7019ee8601397d5c4fe244404e2428a9c0b0a4d8679186133186cc01376ee9f1.
Solidity: event DappUnbound(uint256 indexed projectId, address indexed operator)
func (*RouterFilterer) ParseDataProcessed ¶
func (_Router *RouterFilterer) ParseDataProcessed(log types.Log) (*RouterDataProcessed, error)
ParseDataProcessed is a log parse operation binding the contract event 0x588bd93a32d237b3f0595fb64f6e8d7f74c1a5a893cd1094db2a31ac584480f7.
Solidity: event DataProcessed(uint256 indexed projectId, uint256 indexed router, address indexed operator, bool success, bytes error)
func (*RouterFilterer) ParseInitialized ¶
func (_Router *RouterFilterer) ParseInitialized(log types.Log) (*RouterInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*RouterFilterer) WatchDappBound ¶
func (_Router *RouterFilterer) WatchDappBound(opts *bind.WatchOpts, sink chan<- *RouterDappBound, projectId []*big.Int, operator []common.Address) (event.Subscription, error)
WatchDappBound is a free log subscription operation binding the contract event 0xf121fc55c0fd19e108d2d5642aff2967949fb708d9b985093c530a8a1fb97778.
Solidity: event DappBound(uint256 indexed projectId, address indexed operator, address dapp)
func (*RouterFilterer) WatchDappUnbound ¶
func (_Router *RouterFilterer) WatchDappUnbound(opts *bind.WatchOpts, sink chan<- *RouterDappUnbound, projectId []*big.Int, operator []common.Address) (event.Subscription, error)
WatchDappUnbound is a free log subscription operation binding the contract event 0x7019ee8601397d5c4fe244404e2428a9c0b0a4d8679186133186cc01376ee9f1.
Solidity: event DappUnbound(uint256 indexed projectId, address indexed operator)
func (*RouterFilterer) WatchDataProcessed ¶
func (_Router *RouterFilterer) WatchDataProcessed(opts *bind.WatchOpts, sink chan<- *RouterDataProcessed, projectId []*big.Int, router []*big.Int, operator []common.Address) (event.Subscription, error)
WatchDataProcessed is a free log subscription operation binding the contract event 0x588bd93a32d237b3f0595fb64f6e8d7f74c1a5a893cd1094db2a31ac584480f7.
Solidity: event DataProcessed(uint256 indexed projectId, uint256 indexed router, address indexed operator, bool success, bytes error)
func (*RouterFilterer) WatchInitialized ¶
func (_Router *RouterFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *RouterInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
type RouterInitialized ¶
type RouterInitialized struct {
Version uint8
Raw types.Log // Blockchain specific contextual infos
}
RouterInitialized represents a Initialized event raised by the Router contract.
type RouterInitializedIterator ¶
type RouterInitializedIterator struct {
Event *RouterInitialized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
RouterInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Router contract.
func (*RouterInitializedIterator) Close ¶
func (it *RouterInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RouterInitializedIterator) Error ¶
func (it *RouterInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RouterInitializedIterator) Next ¶
func (it *RouterInitializedIterator) 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 RouterRaw ¶
type RouterRaw struct {
Contract *Router // Generic contract binding to access the raw methods on
}
RouterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RouterRaw) Call ¶
func (_Router *RouterRaw) 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 (*RouterRaw) Transact ¶
func (_Router *RouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RouterRaw) Transfer ¶
func (_Router *RouterRaw) 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 RouterSession ¶
type RouterSession struct {
Contract *Router // 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
}
RouterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RouterSession) BindDapp ¶
func (_Router *RouterSession) BindDapp(_projectId *big.Int, _dapp common.Address) (*types.Transaction, error)
BindDapp is a paid mutator transaction binding the contract method 0x85a7d275.
Solidity: function bindDapp(uint256 _projectId, address _dapp) returns()
func (*RouterSession) Dapp ¶
Dapp is a free data retrieval call binding the contract method 0x1bf8131f.
Solidity: function dapp(uint256 ) view returns(address)
func (*RouterSession) FleetManagement ¶
func (_Router *RouterSession) FleetManagement() (common.Address, error)
FleetManagement is a free data retrieval call binding the contract method 0x53ef0542.
Solidity: function fleetManagement() view returns(address)
func (*RouterSession) Initialize ¶
func (_Router *RouterSession) Initialize(_fleetManagement common.Address, _projectStore common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _fleetManagement, address _projectStore) returns()
func (*RouterSession) ProjectStore ¶
func (_Router *RouterSession) ProjectStore() (common.Address, error)
ProjectStore is a free data retrieval call binding the contract method 0xa0fadaaa.
Solidity: function projectStore() view returns(address)
func (*RouterSession) Route ¶
func (_Router *RouterSession) Route(_projectId *big.Int, _proverId *big.Int, _clientId string, _data []byte) (*types.Transaction, error)
Route is a paid mutator transaction binding the contract method 0xc6675469.
Solidity: function route(uint256 _projectId, uint256 _proverId, string _clientId, bytes _data) returns()
func (*RouterSession) UnbindDapp ¶
func (_Router *RouterSession) UnbindDapp(_projectId *big.Int) (*types.Transaction, error)
UnbindDapp is a paid mutator transaction binding the contract method 0xd869758c.
Solidity: function unbindDapp(uint256 _projectId) returns()
type RouterTransactor ¶
type RouterTransactor struct {
// contains filtered or unexported fields
}
RouterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRouterTransactor ¶
func NewRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*RouterTransactor, error)
NewRouterTransactor creates a new write-only instance of Router, bound to a specific deployed contract.
func (*RouterTransactor) BindDapp ¶
func (_Router *RouterTransactor) BindDapp(opts *bind.TransactOpts, _projectId *big.Int, _dapp common.Address) (*types.Transaction, error)
BindDapp is a paid mutator transaction binding the contract method 0x85a7d275.
Solidity: function bindDapp(uint256 _projectId, address _dapp) returns()
func (*RouterTransactor) Initialize ¶
func (_Router *RouterTransactor) Initialize(opts *bind.TransactOpts, _fleetManagement common.Address, _projectStore common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _fleetManagement, address _projectStore) returns()
func (*RouterTransactor) Route ¶
func (_Router *RouterTransactor) Route(opts *bind.TransactOpts, _projectId *big.Int, _proverId *big.Int, _clientId string, _data []byte) (*types.Transaction, error)
Route is a paid mutator transaction binding the contract method 0xc6675469.
Solidity: function route(uint256 _projectId, uint256 _proverId, string _clientId, bytes _data) returns()
func (*RouterTransactor) UnbindDapp ¶
func (_Router *RouterTransactor) UnbindDapp(opts *bind.TransactOpts, _projectId *big.Int) (*types.Transaction, error)
UnbindDapp is a paid mutator transaction binding the contract method 0xd869758c.
Solidity: function unbindDapp(uint256 _projectId) returns()
type RouterTransactorRaw ¶
type RouterTransactorRaw struct {
Contract *RouterTransactor // Generic write-only contract binding to access the raw methods on
}
RouterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RouterTransactorRaw) Transact ¶
func (_Router *RouterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RouterTransactorRaw) Transfer ¶
func (_Router *RouterTransactorRaw) 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 RouterTransactorSession ¶
type RouterTransactorSession struct {
Contract *RouterTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
RouterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RouterTransactorSession) BindDapp ¶
func (_Router *RouterTransactorSession) BindDapp(_projectId *big.Int, _dapp common.Address) (*types.Transaction, error)
BindDapp is a paid mutator transaction binding the contract method 0x85a7d275.
Solidity: function bindDapp(uint256 _projectId, address _dapp) returns()
func (*RouterTransactorSession) Initialize ¶
func (_Router *RouterTransactorSession) Initialize(_fleetManagement common.Address, _projectStore common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _fleetManagement, address _projectStore) returns()
func (*RouterTransactorSession) Route ¶
func (_Router *RouterTransactorSession) Route(_projectId *big.Int, _proverId *big.Int, _clientId string, _data []byte) (*types.Transaction, error)
Route is a paid mutator transaction binding the contract method 0xc6675469.
Solidity: function route(uint256 _projectId, uint256 _proverId, string _clientId, bytes _data) returns()
func (*RouterTransactorSession) UnbindDapp ¶
func (_Router *RouterTransactorSession) UnbindDapp(_projectId *big.Int) (*types.Transaction, error)
UnbindDapp is a paid mutator transaction binding the contract method 0xd869758c.
Solidity: function unbindDapp(uint256 _projectId) returns()