CloudAggregator

package
v0.0.0-...-4ae722a Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CloudAggregatorABI = CloudAggregatorMetaData.ABI

CloudAggregatorABI is the input ABI used to generate the binding from. Deprecated: Use CloudAggregatorMetaData.ABI instead.

View Source
var CloudAggregatorMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"LogAddress\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"LogBool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"LogBytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"LogBytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"LogInt\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"LogString\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"LogUint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"dockerImage\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"port\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"taskCommit\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"ipAddress\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"commitTask\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"consumers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"count\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"customerToTransactions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"customer\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"cloudProvider\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"money\",\"type\":\"uint256\"},{\"internalType\":\"enumSimplePaymentChannel.State\",\"name\":\"state\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"dockerImage\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"port\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"flagMessage\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"path\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"ipAddress\",\"type\":\"string\"}],\"internalType\":\"structSimplePaymentChannel.JobInformation\",\"name\":\"jobs\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"creationTimeStamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"finished\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"flagMessage\",\"type\":\"bytes32\"}],\"name\":\"fulfillLivenessCheck\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"dockerImage\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"port\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"flagMessage\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"creationTimestamp\",\"type\":\"uint256\"}],\"name\":\"publishTask\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"requestIdToTransactionId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"result\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"retrieveAllUnfinishedTask\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"dockerImages\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"ports\",\"type\":\"string[]\"},{\"internalType\":\"uint256[]\",\"name\":\"transactionIds\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"consumerAddress\",\"type\":\"address\"}],\"name\":\"retrieveTasksInfoFromTargetUser\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"transactionIds\",\"type\":\"uint256[]\"},{\"internalType\":\"enumSimplePaymentChannel.State[]\",\"name\":\"states\",\"type\":\"uint8[]\"},{\"internalType\":\"string[]\",\"name\":\"dockerImages\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"ports\",\"type\":\"string[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"flagMessages\",\"type\":\"bytes32[]\"},{\"internalType\":\"string[]\",\"name\":\"path\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"urls\",\"type\":\"string[]\"},{\"internalType\":\"uint256[]\",\"name\":\"creationTimeStamps\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"returnMoneyBack\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tidToTransaction\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"customer\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"cloudProvider\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"money\",\"type\":\"uint256\"},{\"internalType\":\"enumSimplePaymentChannel.State\",\"name\":\"state\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"dockerImage\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"port\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"flagMessage\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"path\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"ipAddress\",\"type\":\"string\"}],\"internalType\":\"structSimplePaymentChannel.JobInformation\",\"name\":\"jobs\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"creationTimeStamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

CloudAggregatorMetaData contains all meta data concerning the CloudAggregator contract.

Functions

This section is empty.

Types

type CloudAggregator

type CloudAggregator struct {
	CloudAggregatorCaller     // Read-only binding to the contract
	CloudAggregatorTransactor // Write-only binding to the contract
	CloudAggregatorFilterer   // Log filterer for contract events
}

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

func NewCloudAggregator

func NewCloudAggregator(address common.Address, backend bind.ContractBackend) (*CloudAggregator, error)

NewCloudAggregator creates a new instance of CloudAggregator, bound to a specific deployed contract.

type CloudAggregatorCaller

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

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

func NewCloudAggregatorCaller

func NewCloudAggregatorCaller(address common.Address, caller bind.ContractCaller) (*CloudAggregatorCaller, error)

NewCloudAggregatorCaller creates a new read-only instance of CloudAggregator, bound to a specific deployed contract.

func (*CloudAggregatorCaller) Consumers

func (_CloudAggregator *CloudAggregatorCaller) Consumers(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Consumers is a free data retrieval call binding the contract method 0x4651ed3d.

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

func (*CloudAggregatorCaller) Count

func (_CloudAggregator *CloudAggregatorCaller) Count(opts *bind.CallOpts) (*big.Int, error)

Count is a free data retrieval call binding the contract method 0x06661abd.

Solidity: function count() view returns(uint256)

func (*CloudAggregatorCaller) CustomerToTransactions

func (_CloudAggregator *CloudAggregatorCaller) CustomerToTransactions(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	TransactionId     *big.Int
	Customer          common.Address
	CloudProvider     common.Address
	Money             *big.Int
	State             uint8
	Jobs              SimplePaymentChannelJobInformation
	CreationTimeStamp *big.Int
}, error)

CustomerToTransactions is a free data retrieval call binding the contract method 0x886b7239.

Solidity: function customerToTransactions(address , uint256 ) view returns(uint256 transactionId, address customer, address cloudProvider, uint256 money, uint8 state, (string,string,bytes32,string,string,string) jobs, uint256 creationTimeStamp)

func (*CloudAggregatorCaller) Finished

func (_CloudAggregator *CloudAggregatorCaller) Finished(opts *bind.CallOpts) ([32]byte, error)

Finished is a free data retrieval call binding the contract method 0xbef4876b.

Solidity: function finished() view returns(bytes32)

func (*CloudAggregatorCaller) RequestIdToTransactionId

func (_CloudAggregator *CloudAggregatorCaller) RequestIdToTransactionId(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

RequestIdToTransactionId is a free data retrieval call binding the contract method 0x76992720.

Solidity: function requestIdToTransactionId(bytes32 ) view returns(uint256)

func (*CloudAggregatorCaller) Result

func (_CloudAggregator *CloudAggregatorCaller) Result(opts *bind.CallOpts) (string, error)

Result is a free data retrieval call binding the contract method 0x65372147.

Solidity: function result() view returns(string)

func (*CloudAggregatorCaller) RetrieveAllUnfinishedTask

func (_CloudAggregator *CloudAggregatorCaller) RetrieveAllUnfinishedTask(opts *bind.CallOpts) (struct {
	DockerImages   []string
	Ports          []string
	TransactionIds []*big.Int
}, error)

RetrieveAllUnfinishedTask is a free data retrieval call binding the contract method 0x9993179a.

Solidity: function retrieveAllUnfinishedTask() view returns(string[] dockerImages, string[] ports, uint256[] transactionIds)

func (*CloudAggregatorCaller) RetrieveTasksInfoFromTargetUser

func (_CloudAggregator *CloudAggregatorCaller) RetrieveTasksInfoFromTargetUser(opts *bind.CallOpts, consumerAddress common.Address) (struct {
	TransactionIds     []*big.Int
	States             []uint8
	DockerImages       []string
	Ports              []string
	FlagMessages       [][32]byte
	Path               []string
	Urls               []string
	CreationTimeStamps []*big.Int
}, error)

RetrieveTasksInfoFromTargetUser is a free data retrieval call binding the contract method 0xb9633b35.

Solidity: function retrieveTasksInfoFromTargetUser(address consumerAddress) view returns(uint256[] transactionIds, uint8[] states, string[] dockerImages, string[] ports, bytes32[] flagMessages, string[] path, string[] urls, uint256[] creationTimeStamps)

func (*CloudAggregatorCaller) TidToTransaction

func (_CloudAggregator *CloudAggregatorCaller) TidToTransaction(opts *bind.CallOpts, arg0 *big.Int) (struct {
	TransactionId     *big.Int
	Customer          common.Address
	CloudProvider     common.Address
	Money             *big.Int
	State             uint8
	Jobs              SimplePaymentChannelJobInformation
	CreationTimeStamp *big.Int
}, error)

TidToTransaction is a free data retrieval call binding the contract method 0x743bb72d.

Solidity: function tidToTransaction(uint256 ) view returns(uint256 transactionId, address customer, address cloudProvider, uint256 money, uint8 state, (string,string,bytes32,string,string,string) jobs, uint256 creationTimeStamp)

type CloudAggregatorCallerRaw

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

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

func (*CloudAggregatorCallerRaw) Call

func (_CloudAggregator *CloudAggregatorCallerRaw) 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 CloudAggregatorCallerSession

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

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

func (*CloudAggregatorCallerSession) Consumers

func (_CloudAggregator *CloudAggregatorCallerSession) Consumers(arg0 *big.Int) (common.Address, error)

Consumers is a free data retrieval call binding the contract method 0x4651ed3d.

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

func (*CloudAggregatorCallerSession) Count

func (_CloudAggregator *CloudAggregatorCallerSession) Count() (*big.Int, error)

Count is a free data retrieval call binding the contract method 0x06661abd.

Solidity: function count() view returns(uint256)

func (*CloudAggregatorCallerSession) CustomerToTransactions

func (_CloudAggregator *CloudAggregatorCallerSession) CustomerToTransactions(arg0 common.Address, arg1 *big.Int) (struct {
	TransactionId     *big.Int
	Customer          common.Address
	CloudProvider     common.Address
	Money             *big.Int
	State             uint8
	Jobs              SimplePaymentChannelJobInformation
	CreationTimeStamp *big.Int
}, error)

CustomerToTransactions is a free data retrieval call binding the contract method 0x886b7239.

Solidity: function customerToTransactions(address , uint256 ) view returns(uint256 transactionId, address customer, address cloudProvider, uint256 money, uint8 state, (string,string,bytes32,string,string,string) jobs, uint256 creationTimeStamp)

func (*CloudAggregatorCallerSession) Finished

func (_CloudAggregator *CloudAggregatorCallerSession) Finished() ([32]byte, error)

Finished is a free data retrieval call binding the contract method 0xbef4876b.

Solidity: function finished() view returns(bytes32)

func (*CloudAggregatorCallerSession) RequestIdToTransactionId

func (_CloudAggregator *CloudAggregatorCallerSession) RequestIdToTransactionId(arg0 [32]byte) (*big.Int, error)

RequestIdToTransactionId is a free data retrieval call binding the contract method 0x76992720.

Solidity: function requestIdToTransactionId(bytes32 ) view returns(uint256)

func (*CloudAggregatorCallerSession) Result

func (_CloudAggregator *CloudAggregatorCallerSession) Result() (string, error)

Result is a free data retrieval call binding the contract method 0x65372147.

Solidity: function result() view returns(string)

func (*CloudAggregatorCallerSession) RetrieveAllUnfinishedTask

func (_CloudAggregator *CloudAggregatorCallerSession) RetrieveAllUnfinishedTask() (struct {
	DockerImages   []string
	Ports          []string
	TransactionIds []*big.Int
}, error)

RetrieveAllUnfinishedTask is a free data retrieval call binding the contract method 0x9993179a.

Solidity: function retrieveAllUnfinishedTask() view returns(string[] dockerImages, string[] ports, uint256[] transactionIds)

func (*CloudAggregatorCallerSession) RetrieveTasksInfoFromTargetUser

func (_CloudAggregator *CloudAggregatorCallerSession) RetrieveTasksInfoFromTargetUser(consumerAddress common.Address) (struct {
	TransactionIds     []*big.Int
	States             []uint8
	DockerImages       []string
	Ports              []string
	FlagMessages       [][32]byte
	Path               []string
	Urls               []string
	CreationTimeStamps []*big.Int
}, error)

RetrieveTasksInfoFromTargetUser is a free data retrieval call binding the contract method 0xb9633b35.

Solidity: function retrieveTasksInfoFromTargetUser(address consumerAddress) view returns(uint256[] transactionIds, uint8[] states, string[] dockerImages, string[] ports, bytes32[] flagMessages, string[] path, string[] urls, uint256[] creationTimeStamps)

func (*CloudAggregatorCallerSession) TidToTransaction

func (_CloudAggregator *CloudAggregatorCallerSession) TidToTransaction(arg0 *big.Int) (struct {
	TransactionId     *big.Int
	Customer          common.Address
	CloudProvider     common.Address
	Money             *big.Int
	State             uint8
	Jobs              SimplePaymentChannelJobInformation
	CreationTimeStamp *big.Int
}, error)

TidToTransaction is a free data retrieval call binding the contract method 0x743bb72d.

Solidity: function tidToTransaction(uint256 ) view returns(uint256 transactionId, address customer, address cloudProvider, uint256 money, uint8 state, (string,string,bytes32,string,string,string) jobs, uint256 creationTimeStamp)

type CloudAggregatorChainlinkCancelled

type CloudAggregatorChainlinkCancelled struct {
	Id  [32]byte
	Raw types.Log // Blockchain specific contextual infos
}

CloudAggregatorChainlinkCancelled represents a ChainlinkCancelled event raised by the CloudAggregator contract.

type CloudAggregatorChainlinkCancelledIterator

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

CloudAggregatorChainlinkCancelledIterator is returned from FilterChainlinkCancelled and is used to iterate over the raw logs and unpacked data for ChainlinkCancelled events raised by the CloudAggregator contract.

func (*CloudAggregatorChainlinkCancelledIterator) Close

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

func (*CloudAggregatorChainlinkCancelledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CloudAggregatorChainlinkCancelledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CloudAggregatorChainlinkFulfilled

type CloudAggregatorChainlinkFulfilled struct {
	Id  [32]byte
	Raw types.Log // Blockchain specific contextual infos
}

CloudAggregatorChainlinkFulfilled represents a ChainlinkFulfilled event raised by the CloudAggregator contract.

type CloudAggregatorChainlinkFulfilledIterator

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

CloudAggregatorChainlinkFulfilledIterator is returned from FilterChainlinkFulfilled and is used to iterate over the raw logs and unpacked data for ChainlinkFulfilled events raised by the CloudAggregator contract.

func (*CloudAggregatorChainlinkFulfilledIterator) Close

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

func (*CloudAggregatorChainlinkFulfilledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CloudAggregatorChainlinkFulfilledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CloudAggregatorChainlinkRequested

type CloudAggregatorChainlinkRequested struct {
	Id  [32]byte
	Raw types.Log // Blockchain specific contextual infos
}

CloudAggregatorChainlinkRequested represents a ChainlinkRequested event raised by the CloudAggregator contract.

type CloudAggregatorChainlinkRequestedIterator

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

CloudAggregatorChainlinkRequestedIterator is returned from FilterChainlinkRequested and is used to iterate over the raw logs and unpacked data for ChainlinkRequested events raised by the CloudAggregator contract.

func (*CloudAggregatorChainlinkRequestedIterator) Close

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

func (*CloudAggregatorChainlinkRequestedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CloudAggregatorChainlinkRequestedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CloudAggregatorFilterer

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

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

func NewCloudAggregatorFilterer

func NewCloudAggregatorFilterer(address common.Address, filterer bind.ContractFilterer) (*CloudAggregatorFilterer, error)

NewCloudAggregatorFilterer creates a new log filterer instance of CloudAggregator, bound to a specific deployed contract.

func (*CloudAggregatorFilterer) FilterChainlinkCancelled

func (_CloudAggregator *CloudAggregatorFilterer) FilterChainlinkCancelled(opts *bind.FilterOpts, id [][32]byte) (*CloudAggregatorChainlinkCancelledIterator, error)

FilterChainlinkCancelled is a free log retrieval operation binding the contract event 0xe1fe3afa0f7f761ff0a8b89086790efd5140d2907ebd5b7ff6bfcb5e075fd4c5.

Solidity: event ChainlinkCancelled(bytes32 indexed id)

func (*CloudAggregatorFilterer) FilterChainlinkFulfilled

func (_CloudAggregator *CloudAggregatorFilterer) FilterChainlinkFulfilled(opts *bind.FilterOpts, id [][32]byte) (*CloudAggregatorChainlinkFulfilledIterator, error)

FilterChainlinkFulfilled is a free log retrieval operation binding the contract event 0x7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a.

Solidity: event ChainlinkFulfilled(bytes32 indexed id)

func (*CloudAggregatorFilterer) FilterChainlinkRequested

func (_CloudAggregator *CloudAggregatorFilterer) FilterChainlinkRequested(opts *bind.FilterOpts, id [][32]byte) (*CloudAggregatorChainlinkRequestedIterator, error)

FilterChainlinkRequested is a free log retrieval operation binding the contract event 0xb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af9.

Solidity: event ChainlinkRequested(bytes32 indexed id)

func (*CloudAggregatorFilterer) FilterLogAddress

func (_CloudAggregator *CloudAggregatorFilterer) FilterLogAddress(opts *bind.FilterOpts) (*CloudAggregatorLogAddressIterator, error)

FilterLogAddress is a free log retrieval operation binding the contract event 0x62ddffe5b5108385f7a590f100e1ee414ad9551a31f089e64e82998440785e1e.

Solidity: event LogAddress(string arg0, address arg1)

func (*CloudAggregatorFilterer) FilterLogBool

func (_CloudAggregator *CloudAggregatorFilterer) FilterLogBool(opts *bind.FilterOpts) (*CloudAggregatorLogBoolIterator, error)

FilterLogBool is a free log retrieval operation binding the contract event 0x4c34c2f9a78632f29fa59aaed5514cb742fd9fbcfd7ccc2c03c85f2bbc621c47.

Solidity: event LogBool(string arg0, bool arg1)

func (*CloudAggregatorFilterer) FilterLogBytes

func (_CloudAggregator *CloudAggregatorFilterer) FilterLogBytes(opts *bind.FilterOpts) (*CloudAggregatorLogBytesIterator, error)

FilterLogBytes is a free log retrieval operation binding the contract event 0xe8407a0209fa99ec3a7228aff140c3d3e68bd279391739c7e0b65cd406cc93b5.

Solidity: event LogBytes(string arg0, bytes arg1)

func (*CloudAggregatorFilterer) FilterLogBytes32

func (_CloudAggregator *CloudAggregatorFilterer) FilterLogBytes32(opts *bind.FilterOpts) (*CloudAggregatorLogBytes32Iterator, error)

FilterLogBytes32 is a free log retrieval operation binding the contract event 0x02d93529bba9d141e5e06733c52c7e6fbcb1149586adb5c24064b522ab26f1d7.

Solidity: event LogBytes32(string arg0, bytes32 arg1)

func (*CloudAggregatorFilterer) FilterLogInt

func (_CloudAggregator *CloudAggregatorFilterer) FilterLogInt(opts *bind.FilterOpts) (*CloudAggregatorLogIntIterator, error)

FilterLogInt is a free log retrieval operation binding the contract event 0x6a837ff3973aa4181e7b9f07756f8b7ee366dd85a36655d2cb42cd47f10b9638.

Solidity: event LogInt(string arg0, int256 arg1)

func (*CloudAggregatorFilterer) FilterLogString

func (_CloudAggregator *CloudAggregatorFilterer) FilterLogString(opts *bind.FilterOpts) (*CloudAggregatorLogStringIterator, error)

FilterLogString is a free log retrieval operation binding the contract event 0x27a8767ed172b48d7cf6dbb25d2840c5fa91ef78fa6e05c13c82763d099f03ca.

Solidity: event LogString(string arg0, string arg1)

func (*CloudAggregatorFilterer) FilterLogUint

func (_CloudAggregator *CloudAggregatorFilterer) FilterLogUint(opts *bind.FilterOpts) (*CloudAggregatorLogUintIterator, error)

FilterLogUint is a free log retrieval operation binding the contract event 0x941296a39ea107bde685522318a4b6c2b544904a5dd82a512748ca2cf839bef7.

Solidity: event LogUint(string arg0, uint256 arg1)

func (*CloudAggregatorFilterer) FilterTaskCommit

func (_CloudAggregator *CloudAggregatorFilterer) FilterTaskCommit(opts *bind.FilterOpts) (*CloudAggregatorTaskCommitIterator, error)

FilterTaskCommit is a free log retrieval operation binding the contract event 0xe35e48629611589b504265584b5c65f1db6c42ec9268697d9b1e3763330b0d4e.

Solidity: event taskCommit(string dockerImage, string port, uint256 transactionId)

func (*CloudAggregatorFilterer) ParseChainlinkCancelled

func (_CloudAggregator *CloudAggregatorFilterer) ParseChainlinkCancelled(log types.Log) (*CloudAggregatorChainlinkCancelled, error)

ParseChainlinkCancelled is a log parse operation binding the contract event 0xe1fe3afa0f7f761ff0a8b89086790efd5140d2907ebd5b7ff6bfcb5e075fd4c5.

Solidity: event ChainlinkCancelled(bytes32 indexed id)

func (*CloudAggregatorFilterer) ParseChainlinkFulfilled

func (_CloudAggregator *CloudAggregatorFilterer) ParseChainlinkFulfilled(log types.Log) (*CloudAggregatorChainlinkFulfilled, error)

ParseChainlinkFulfilled is a log parse operation binding the contract event 0x7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a.

Solidity: event ChainlinkFulfilled(bytes32 indexed id)

func (*CloudAggregatorFilterer) ParseChainlinkRequested

func (_CloudAggregator *CloudAggregatorFilterer) ParseChainlinkRequested(log types.Log) (*CloudAggregatorChainlinkRequested, error)

ParseChainlinkRequested is a log parse operation binding the contract event 0xb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af9.

Solidity: event ChainlinkRequested(bytes32 indexed id)

func (*CloudAggregatorFilterer) ParseLogAddress

func (_CloudAggregator *CloudAggregatorFilterer) ParseLogAddress(log types.Log) (*CloudAggregatorLogAddress, error)

ParseLogAddress is a log parse operation binding the contract event 0x62ddffe5b5108385f7a590f100e1ee414ad9551a31f089e64e82998440785e1e.

Solidity: event LogAddress(string arg0, address arg1)

func (*CloudAggregatorFilterer) ParseLogBool

func (_CloudAggregator *CloudAggregatorFilterer) ParseLogBool(log types.Log) (*CloudAggregatorLogBool, error)

ParseLogBool is a log parse operation binding the contract event 0x4c34c2f9a78632f29fa59aaed5514cb742fd9fbcfd7ccc2c03c85f2bbc621c47.

Solidity: event LogBool(string arg0, bool arg1)

func (*CloudAggregatorFilterer) ParseLogBytes

func (_CloudAggregator *CloudAggregatorFilterer) ParseLogBytes(log types.Log) (*CloudAggregatorLogBytes, error)

ParseLogBytes is a log parse operation binding the contract event 0xe8407a0209fa99ec3a7228aff140c3d3e68bd279391739c7e0b65cd406cc93b5.

Solidity: event LogBytes(string arg0, bytes arg1)

func (*CloudAggregatorFilterer) ParseLogBytes32

func (_CloudAggregator *CloudAggregatorFilterer) ParseLogBytes32(log types.Log) (*CloudAggregatorLogBytes32, error)

ParseLogBytes32 is a log parse operation binding the contract event 0x02d93529bba9d141e5e06733c52c7e6fbcb1149586adb5c24064b522ab26f1d7.

Solidity: event LogBytes32(string arg0, bytes32 arg1)

func (*CloudAggregatorFilterer) ParseLogInt

func (_CloudAggregator *CloudAggregatorFilterer) ParseLogInt(log types.Log) (*CloudAggregatorLogInt, error)

ParseLogInt is a log parse operation binding the contract event 0x6a837ff3973aa4181e7b9f07756f8b7ee366dd85a36655d2cb42cd47f10b9638.

Solidity: event LogInt(string arg0, int256 arg1)

func (*CloudAggregatorFilterer) ParseLogString

func (_CloudAggregator *CloudAggregatorFilterer) ParseLogString(log types.Log) (*CloudAggregatorLogString, error)

ParseLogString is a log parse operation binding the contract event 0x27a8767ed172b48d7cf6dbb25d2840c5fa91ef78fa6e05c13c82763d099f03ca.

Solidity: event LogString(string arg0, string arg1)

func (*CloudAggregatorFilterer) ParseLogUint

func (_CloudAggregator *CloudAggregatorFilterer) ParseLogUint(log types.Log) (*CloudAggregatorLogUint, error)

ParseLogUint is a log parse operation binding the contract event 0x941296a39ea107bde685522318a4b6c2b544904a5dd82a512748ca2cf839bef7.

Solidity: event LogUint(string arg0, uint256 arg1)

func (*CloudAggregatorFilterer) ParseTaskCommit

func (_CloudAggregator *CloudAggregatorFilterer) ParseTaskCommit(log types.Log) (*CloudAggregatorTaskCommit, error)

ParseTaskCommit is a log parse operation binding the contract event 0xe35e48629611589b504265584b5c65f1db6c42ec9268697d9b1e3763330b0d4e.

Solidity: event taskCommit(string dockerImage, string port, uint256 transactionId)

func (*CloudAggregatorFilterer) WatchChainlinkCancelled

func (_CloudAggregator *CloudAggregatorFilterer) WatchChainlinkCancelled(opts *bind.WatchOpts, sink chan<- *CloudAggregatorChainlinkCancelled, id [][32]byte) (event.Subscription, error)

WatchChainlinkCancelled is a free log subscription operation binding the contract event 0xe1fe3afa0f7f761ff0a8b89086790efd5140d2907ebd5b7ff6bfcb5e075fd4c5.

Solidity: event ChainlinkCancelled(bytes32 indexed id)

func (*CloudAggregatorFilterer) WatchChainlinkFulfilled

func (_CloudAggregator *CloudAggregatorFilterer) WatchChainlinkFulfilled(opts *bind.WatchOpts, sink chan<- *CloudAggregatorChainlinkFulfilled, id [][32]byte) (event.Subscription, error)

WatchChainlinkFulfilled is a free log subscription operation binding the contract event 0x7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a.

Solidity: event ChainlinkFulfilled(bytes32 indexed id)

func (*CloudAggregatorFilterer) WatchChainlinkRequested

func (_CloudAggregator *CloudAggregatorFilterer) WatchChainlinkRequested(opts *bind.WatchOpts, sink chan<- *CloudAggregatorChainlinkRequested, id [][32]byte) (event.Subscription, error)

WatchChainlinkRequested is a free log subscription operation binding the contract event 0xb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af9.

Solidity: event ChainlinkRequested(bytes32 indexed id)

func (*CloudAggregatorFilterer) WatchLogAddress

func (_CloudAggregator *CloudAggregatorFilterer) WatchLogAddress(opts *bind.WatchOpts, sink chan<- *CloudAggregatorLogAddress) (event.Subscription, error)

WatchLogAddress is a free log subscription operation binding the contract event 0x62ddffe5b5108385f7a590f100e1ee414ad9551a31f089e64e82998440785e1e.

Solidity: event LogAddress(string arg0, address arg1)

func (*CloudAggregatorFilterer) WatchLogBool

func (_CloudAggregator *CloudAggregatorFilterer) WatchLogBool(opts *bind.WatchOpts, sink chan<- *CloudAggregatorLogBool) (event.Subscription, error)

WatchLogBool is a free log subscription operation binding the contract event 0x4c34c2f9a78632f29fa59aaed5514cb742fd9fbcfd7ccc2c03c85f2bbc621c47.

Solidity: event LogBool(string arg0, bool arg1)

func (*CloudAggregatorFilterer) WatchLogBytes

func (_CloudAggregator *CloudAggregatorFilterer) WatchLogBytes(opts *bind.WatchOpts, sink chan<- *CloudAggregatorLogBytes) (event.Subscription, error)

WatchLogBytes is a free log subscription operation binding the contract event 0xe8407a0209fa99ec3a7228aff140c3d3e68bd279391739c7e0b65cd406cc93b5.

Solidity: event LogBytes(string arg0, bytes arg1)

func (*CloudAggregatorFilterer) WatchLogBytes32

func (_CloudAggregator *CloudAggregatorFilterer) WatchLogBytes32(opts *bind.WatchOpts, sink chan<- *CloudAggregatorLogBytes32) (event.Subscription, error)

WatchLogBytes32 is a free log subscription operation binding the contract event 0x02d93529bba9d141e5e06733c52c7e6fbcb1149586adb5c24064b522ab26f1d7.

Solidity: event LogBytes32(string arg0, bytes32 arg1)

func (*CloudAggregatorFilterer) WatchLogInt

func (_CloudAggregator *CloudAggregatorFilterer) WatchLogInt(opts *bind.WatchOpts, sink chan<- *CloudAggregatorLogInt) (event.Subscription, error)

WatchLogInt is a free log subscription operation binding the contract event 0x6a837ff3973aa4181e7b9f07756f8b7ee366dd85a36655d2cb42cd47f10b9638.

Solidity: event LogInt(string arg0, int256 arg1)

func (*CloudAggregatorFilterer) WatchLogString

func (_CloudAggregator *CloudAggregatorFilterer) WatchLogString(opts *bind.WatchOpts, sink chan<- *CloudAggregatorLogString) (event.Subscription, error)

WatchLogString is a free log subscription operation binding the contract event 0x27a8767ed172b48d7cf6dbb25d2840c5fa91ef78fa6e05c13c82763d099f03ca.

Solidity: event LogString(string arg0, string arg1)

func (*CloudAggregatorFilterer) WatchLogUint

func (_CloudAggregator *CloudAggregatorFilterer) WatchLogUint(opts *bind.WatchOpts, sink chan<- *CloudAggregatorLogUint) (event.Subscription, error)

WatchLogUint is a free log subscription operation binding the contract event 0x941296a39ea107bde685522318a4b6c2b544904a5dd82a512748ca2cf839bef7.

Solidity: event LogUint(string arg0, uint256 arg1)

func (*CloudAggregatorFilterer) WatchTaskCommit

func (_CloudAggregator *CloudAggregatorFilterer) WatchTaskCommit(opts *bind.WatchOpts, sink chan<- *CloudAggregatorTaskCommit) (event.Subscription, error)

WatchTaskCommit is a free log subscription operation binding the contract event 0xe35e48629611589b504265584b5c65f1db6c42ec9268697d9b1e3763330b0d4e.

Solidity: event taskCommit(string dockerImage, string port, uint256 transactionId)

type CloudAggregatorLogAddress

type CloudAggregatorLogAddress struct {
	Arg0 string
	Arg1 common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

CloudAggregatorLogAddress represents a LogAddress event raised by the CloudAggregator contract.

type CloudAggregatorLogAddressIterator

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

CloudAggregatorLogAddressIterator is returned from FilterLogAddress and is used to iterate over the raw logs and unpacked data for LogAddress events raised by the CloudAggregator contract.

func (*CloudAggregatorLogAddressIterator) Close

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

func (*CloudAggregatorLogAddressIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CloudAggregatorLogAddressIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CloudAggregatorLogBool

type CloudAggregatorLogBool struct {
	Arg0 string
	Arg1 bool
	Raw  types.Log // Blockchain specific contextual infos
}

CloudAggregatorLogBool represents a LogBool event raised by the CloudAggregator contract.

type CloudAggregatorLogBoolIterator

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

CloudAggregatorLogBoolIterator is returned from FilterLogBool and is used to iterate over the raw logs and unpacked data for LogBool events raised by the CloudAggregator contract.

func (*CloudAggregatorLogBoolIterator) Close

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

func (*CloudAggregatorLogBoolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CloudAggregatorLogBoolIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CloudAggregatorLogBytes

type CloudAggregatorLogBytes struct {
	Arg0 string
	Arg1 []byte
	Raw  types.Log // Blockchain specific contextual infos
}

CloudAggregatorLogBytes represents a LogBytes event raised by the CloudAggregator contract.

type CloudAggregatorLogBytes32

type CloudAggregatorLogBytes32 struct {
	Arg0 string
	Arg1 [32]byte
	Raw  types.Log // Blockchain specific contextual infos
}

CloudAggregatorLogBytes32 represents a LogBytes32 event raised by the CloudAggregator contract.

type CloudAggregatorLogBytes32Iterator

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

CloudAggregatorLogBytes32Iterator is returned from FilterLogBytes32 and is used to iterate over the raw logs and unpacked data for LogBytes32 events raised by the CloudAggregator contract.

func (*CloudAggregatorLogBytes32Iterator) Close

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

func (*CloudAggregatorLogBytes32Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CloudAggregatorLogBytes32Iterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CloudAggregatorLogBytesIterator

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

CloudAggregatorLogBytesIterator is returned from FilterLogBytes and is used to iterate over the raw logs and unpacked data for LogBytes events raised by the CloudAggregator contract.

func (*CloudAggregatorLogBytesIterator) Close

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

func (*CloudAggregatorLogBytesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CloudAggregatorLogBytesIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CloudAggregatorLogInt

type CloudAggregatorLogInt struct {
	Arg0 string
	Arg1 *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

CloudAggregatorLogInt represents a LogInt event raised by the CloudAggregator contract.

type CloudAggregatorLogIntIterator

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

CloudAggregatorLogIntIterator is returned from FilterLogInt and is used to iterate over the raw logs and unpacked data for LogInt events raised by the CloudAggregator contract.

func (*CloudAggregatorLogIntIterator) Close

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

func (*CloudAggregatorLogIntIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CloudAggregatorLogIntIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CloudAggregatorLogString

type CloudAggregatorLogString struct {
	Arg0 string
	Arg1 string
	Raw  types.Log // Blockchain specific contextual infos
}

CloudAggregatorLogString represents a LogString event raised by the CloudAggregator contract.

type CloudAggregatorLogStringIterator

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

CloudAggregatorLogStringIterator is returned from FilterLogString and is used to iterate over the raw logs and unpacked data for LogString events raised by the CloudAggregator contract.

func (*CloudAggregatorLogStringIterator) Close

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

func (*CloudAggregatorLogStringIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CloudAggregatorLogStringIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CloudAggregatorLogUint

type CloudAggregatorLogUint struct {
	Arg0 string
	Arg1 *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

CloudAggregatorLogUint represents a LogUint event raised by the CloudAggregator contract.

type CloudAggregatorLogUintIterator

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

CloudAggregatorLogUintIterator is returned from FilterLogUint and is used to iterate over the raw logs and unpacked data for LogUint events raised by the CloudAggregator contract.

func (*CloudAggregatorLogUintIterator) Close

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

func (*CloudAggregatorLogUintIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CloudAggregatorLogUintIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CloudAggregatorRaw

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

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

func (*CloudAggregatorRaw) Call

func (_CloudAggregator *CloudAggregatorRaw) 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 (*CloudAggregatorRaw) Transact

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

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

func (*CloudAggregatorRaw) Transfer

func (_CloudAggregator *CloudAggregatorRaw) 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 CloudAggregatorSession

type CloudAggregatorSession struct {
	Contract     *CloudAggregator  // 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
}

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

func (*CloudAggregatorSession) CommitTask

func (_CloudAggregator *CloudAggregatorSession) CommitTask(ipAddress string, transactionId *big.Int) (*types.Transaction, error)

CommitTask is a paid mutator transaction binding the contract method 0x8890f9ee.

Solidity: function commitTask(string ipAddress, uint256 transactionId) returns()

func (*CloudAggregatorSession) Consumers

func (_CloudAggregator *CloudAggregatorSession) Consumers(arg0 *big.Int) (common.Address, error)

Consumers is a free data retrieval call binding the contract method 0x4651ed3d.

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

func (*CloudAggregatorSession) Count

func (_CloudAggregator *CloudAggregatorSession) Count() (*big.Int, error)

Count is a free data retrieval call binding the contract method 0x06661abd.

Solidity: function count() view returns(uint256)

func (*CloudAggregatorSession) CustomerToTransactions

func (_CloudAggregator *CloudAggregatorSession) CustomerToTransactions(arg0 common.Address, arg1 *big.Int) (struct {
	TransactionId     *big.Int
	Customer          common.Address
	CloudProvider     common.Address
	Money             *big.Int
	State             uint8
	Jobs              SimplePaymentChannelJobInformation
	CreationTimeStamp *big.Int
}, error)

CustomerToTransactions is a free data retrieval call binding the contract method 0x886b7239.

Solidity: function customerToTransactions(address , uint256 ) view returns(uint256 transactionId, address customer, address cloudProvider, uint256 money, uint8 state, (string,string,bytes32,string,string,string) jobs, uint256 creationTimeStamp)

func (*CloudAggregatorSession) Finished

func (_CloudAggregator *CloudAggregatorSession) Finished() ([32]byte, error)

Finished is a free data retrieval call binding the contract method 0xbef4876b.

Solidity: function finished() view returns(bytes32)

func (*CloudAggregatorSession) FulfillLivenessCheck

func (_CloudAggregator *CloudAggregatorSession) FulfillLivenessCheck(_requestId [32]byte, flagMessage [32]byte) (*types.Transaction, error)

FulfillLivenessCheck is a paid mutator transaction binding the contract method 0xeb932a89.

Solidity: function fulfillLivenessCheck(bytes32 _requestId, bytes32 flagMessage) returns()

func (*CloudAggregatorSession) PublishTask

func (_CloudAggregator *CloudAggregatorSession) PublishTask(dockerImage string, port string, flagMessage [32]byte, url string, creationTimestamp *big.Int) (*types.Transaction, error)

PublishTask is a paid mutator transaction binding the contract method 0x3d963065.

Solidity: function publishTask(string dockerImage, string port, bytes32 flagMessage, string url, uint256 creationTimestamp) payable returns()

func (*CloudAggregatorSession) RequestIdToTransactionId

func (_CloudAggregator *CloudAggregatorSession) RequestIdToTransactionId(arg0 [32]byte) (*big.Int, error)

RequestIdToTransactionId is a free data retrieval call binding the contract method 0x76992720.

Solidity: function requestIdToTransactionId(bytes32 ) view returns(uint256)

func (*CloudAggregatorSession) Result

func (_CloudAggregator *CloudAggregatorSession) Result() (string, error)

Result is a free data retrieval call binding the contract method 0x65372147.

Solidity: function result() view returns(string)

func (*CloudAggregatorSession) RetrieveAllUnfinishedTask

func (_CloudAggregator *CloudAggregatorSession) RetrieveAllUnfinishedTask() (struct {
	DockerImages   []string
	Ports          []string
	TransactionIds []*big.Int
}, error)

RetrieveAllUnfinishedTask is a free data retrieval call binding the contract method 0x9993179a.

Solidity: function retrieveAllUnfinishedTask() view returns(string[] dockerImages, string[] ports, uint256[] transactionIds)

func (*CloudAggregatorSession) RetrieveTasksInfoFromTargetUser

func (_CloudAggregator *CloudAggregatorSession) RetrieveTasksInfoFromTargetUser(consumerAddress common.Address) (struct {
	TransactionIds     []*big.Int
	States             []uint8
	DockerImages       []string
	Ports              []string
	FlagMessages       [][32]byte
	Path               []string
	Urls               []string
	CreationTimeStamps []*big.Int
}, error)

RetrieveTasksInfoFromTargetUser is a free data retrieval call binding the contract method 0xb9633b35.

Solidity: function retrieveTasksInfoFromTargetUser(address consumerAddress) view returns(uint256[] transactionIds, uint8[] states, string[] dockerImages, string[] ports, bytes32[] flagMessages, string[] path, string[] urls, uint256[] creationTimeStamps)

func (*CloudAggregatorSession) ReturnMoneyBack

func (_CloudAggregator *CloudAggregatorSession) ReturnMoneyBack(transactionId *big.Int) (*types.Transaction, error)

ReturnMoneyBack is a paid mutator transaction binding the contract method 0xf18d0d0a.

Solidity: function returnMoneyBack(uint256 transactionId) payable returns()

func (*CloudAggregatorSession) TidToTransaction

func (_CloudAggregator *CloudAggregatorSession) TidToTransaction(arg0 *big.Int) (struct {
	TransactionId     *big.Int
	Customer          common.Address
	CloudProvider     common.Address
	Money             *big.Int
	State             uint8
	Jobs              SimplePaymentChannelJobInformation
	CreationTimeStamp *big.Int
}, error)

TidToTransaction is a free data retrieval call binding the contract method 0x743bb72d.

Solidity: function tidToTransaction(uint256 ) view returns(uint256 transactionId, address customer, address cloudProvider, uint256 money, uint8 state, (string,string,bytes32,string,string,string) jobs, uint256 creationTimeStamp)

type CloudAggregatorTaskCommit

type CloudAggregatorTaskCommit struct {
	DockerImage   string
	Port          string
	TransactionId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

CloudAggregatorTaskCommit represents a TaskCommit event raised by the CloudAggregator contract.

type CloudAggregatorTaskCommitIterator

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

CloudAggregatorTaskCommitIterator is returned from FilterTaskCommit and is used to iterate over the raw logs and unpacked data for TaskCommit events raised by the CloudAggregator contract.

func (*CloudAggregatorTaskCommitIterator) Close

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

func (*CloudAggregatorTaskCommitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CloudAggregatorTaskCommitIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CloudAggregatorTransactor

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

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

func NewCloudAggregatorTransactor

func NewCloudAggregatorTransactor(address common.Address, transactor bind.ContractTransactor) (*CloudAggregatorTransactor, error)

NewCloudAggregatorTransactor creates a new write-only instance of CloudAggregator, bound to a specific deployed contract.

func (*CloudAggregatorTransactor) CommitTask

func (_CloudAggregator *CloudAggregatorTransactor) CommitTask(opts *bind.TransactOpts, ipAddress string, transactionId *big.Int) (*types.Transaction, error)

CommitTask is a paid mutator transaction binding the contract method 0x8890f9ee.

Solidity: function commitTask(string ipAddress, uint256 transactionId) returns()

func (*CloudAggregatorTransactor) FulfillLivenessCheck

func (_CloudAggregator *CloudAggregatorTransactor) FulfillLivenessCheck(opts *bind.TransactOpts, _requestId [32]byte, flagMessage [32]byte) (*types.Transaction, error)

FulfillLivenessCheck is a paid mutator transaction binding the contract method 0xeb932a89.

Solidity: function fulfillLivenessCheck(bytes32 _requestId, bytes32 flagMessage) returns()

func (*CloudAggregatorTransactor) PublishTask

func (_CloudAggregator *CloudAggregatorTransactor) PublishTask(opts *bind.TransactOpts, dockerImage string, port string, flagMessage [32]byte, url string, creationTimestamp *big.Int) (*types.Transaction, error)

PublishTask is a paid mutator transaction binding the contract method 0x3d963065.

Solidity: function publishTask(string dockerImage, string port, bytes32 flagMessage, string url, uint256 creationTimestamp) payable returns()

func (*CloudAggregatorTransactor) ReturnMoneyBack

func (_CloudAggregator *CloudAggregatorTransactor) ReturnMoneyBack(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)

ReturnMoneyBack is a paid mutator transaction binding the contract method 0xf18d0d0a.

Solidity: function returnMoneyBack(uint256 transactionId) payable returns()

type CloudAggregatorTransactorRaw

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

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

func (*CloudAggregatorTransactorRaw) Transact

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

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

func (*CloudAggregatorTransactorRaw) Transfer

func (_CloudAggregator *CloudAggregatorTransactorRaw) 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 CloudAggregatorTransactorSession

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

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

func (*CloudAggregatorTransactorSession) CommitTask

func (_CloudAggregator *CloudAggregatorTransactorSession) CommitTask(ipAddress string, transactionId *big.Int) (*types.Transaction, error)

CommitTask is a paid mutator transaction binding the contract method 0x8890f9ee.

Solidity: function commitTask(string ipAddress, uint256 transactionId) returns()

func (*CloudAggregatorTransactorSession) FulfillLivenessCheck

func (_CloudAggregator *CloudAggregatorTransactorSession) FulfillLivenessCheck(_requestId [32]byte, flagMessage [32]byte) (*types.Transaction, error)

FulfillLivenessCheck is a paid mutator transaction binding the contract method 0xeb932a89.

Solidity: function fulfillLivenessCheck(bytes32 _requestId, bytes32 flagMessage) returns()

func (*CloudAggregatorTransactorSession) PublishTask

func (_CloudAggregator *CloudAggregatorTransactorSession) PublishTask(dockerImage string, port string, flagMessage [32]byte, url string, creationTimestamp *big.Int) (*types.Transaction, error)

PublishTask is a paid mutator transaction binding the contract method 0x3d963065.

Solidity: function publishTask(string dockerImage, string port, bytes32 flagMessage, string url, uint256 creationTimestamp) payable returns()

func (*CloudAggregatorTransactorSession) ReturnMoneyBack

func (_CloudAggregator *CloudAggregatorTransactorSession) ReturnMoneyBack(transactionId *big.Int) (*types.Transaction, error)

ReturnMoneyBack is a paid mutator transaction binding the contract method 0xf18d0d0a.

Solidity: function returnMoneyBack(uint256 transactionId) payable returns()

type SimplePaymentChannelJobInformation

type SimplePaymentChannelJobInformation struct {
	DockerImage string
	Port        string
	FlagMessage [32]byte
	Path        string
	Url         string
	IpAddress   string
}

SimplePaymentChannelJobInformation is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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