datahub

package
v0.10.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DatahubABI = DatahubMetaData.ABI

DatahubABI is the input ABI used to generate the binding from. Deprecated: Use DatahubMetaData.ABI instead.

View Source
var DatahubMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROLE_REPORTER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"fdpBuyerNameHash\",\"type\":\"bytes32\"}],\"name\":\"bidSub\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"active\",\"type\":\"bool\"}],\"name\":\"enableSub\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feesCollected\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fundsBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fundsTransfer\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getActiveBidAt\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"served\",\"type\":\"bool\"}],\"internalType\":\"structDataHub.ActiveBid\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getActiveBids\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"served\",\"type\":\"bool\"}],\"internalType\":\"structDataHub.ActiveBid[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"getActiveBidsByHash\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"served\",\"type\":\"bool\"}],\"internalType\":\"structDataHub.ActiveBid\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getAllSubItems\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"unlockKeyLocation\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"validTill\",\"type\":\"uint256\"}],\"internalType\":\"structDataHub.SubItem[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"nameHash\",\"type\":\"bytes32\"}],\"name\":\"getAllSubItemsForNameHash\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"unlockKeyLocation\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"validTill\",\"type\":\"uint256\"}],\"internalType\":\"structDataHub.SubItem[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"category\",\"type\":\"bytes32\"}],\"name\":\"getCategory\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64[]\",\"name\":\"subIdxs\",\"type\":\"uint64[]\"}],\"internalType\":\"structDataHub.Category\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getListedSubs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"nameHash\",\"type\":\"bytes32\"}],\"name\":\"getNameHashSubItems\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getPortableAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"}],\"name\":\"getSubBy\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"fdpSellerNameHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"swarmLocation\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"active\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"earned\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"category\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bids\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sells\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reports\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"daysValid\",\"type\":\"uint256\"}],\"internalType\":\"structDataHub.Sub\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getSubByIndex\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"fdpSellerNameHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"swarmLocation\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"active\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"earned\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"category\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bids\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sells\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reports\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"daysValid\",\"type\":\"uint256\"}],\"internalType\":\"structDataHub.Sub\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"forAddress\",\"type\":\"address\"}],\"name\":\"getSubInfoBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getSubItemAt\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"unlockKeyLocation\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"validTill\",\"type\":\"uint256\"}],\"internalType\":\"structDataHub.SubItem\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"getSubItems\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"unlockKeyLocation\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"validTill\",\"type\":\"uint256\"}],\"internalType\":\"structDataHub.SubItem[]\",\"name\":\"items\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"last\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getSubRequestAt\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"fdpBuyerNameHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"served\",\"type\":\"bool\"}],\"internalType\":\"structDataHub.SubRequest\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"getSubRequestByHash\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"fdpBuyerNameHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"served\",\"type\":\"bool\"}],\"internalType\":\"structDataHub.SubRequest\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getSubRequests\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"fdpBuyerNameHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"served\",\"type\":\"bool\"}],\"internalType\":\"structDataHub.SubRequest[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"}],\"name\":\"getSubSubscribers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSubs\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"fdpSellerNameHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"swarmLocation\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"active\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"earned\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"category\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bids\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sells\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reports\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"daysValid\",\"type\":\"uint256\"}],\"internalType\":\"structDataHub.Sub[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getUserStats\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numSubRequests\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numSubItems\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numActiveBids\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numListedSubs\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inEscrow\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"fdpSellerNameHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"dataSwarmLocation\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"category\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"podAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"daysValid\",\"type\":\"uint256\"}],\"name\":\"listSub\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"marketFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minListingFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"release\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"removeUserActiveBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"}],\"name\":\"reportSub\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"requestAgain\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"encryptedKeyLocation\",\"type\":\"bytes32\"}],\"name\":\"sellSub\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFee\",\"type\":\"uint256\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newListingFee\",\"type\":\"uint256\"}],\"name\":\"setListingFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"setPortableAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"subscriptionIds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"subscriptions\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"subHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"fdpSellerNameHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"swarmLocation\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"active\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"earned\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"category\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bids\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sells\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reports\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"daysValid\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

DatahubMetaData contains all meta data concerning the Datahub contract.

Functions

This section is empty.

Types

type DataHubActiveBid

type DataHubActiveBid struct {
	RequestHash [32]byte
	Seller      common.Address
	Served      bool
}

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

type DataHubCategory

type DataHubCategory struct {
	SubIdxs []uint64
}

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

type DataHubSub

type DataHubSub struct {
	SubHash           [32]byte
	FdpSellerNameHash [32]byte
	Seller            common.Address
	SwarmLocation     [32]byte
	Price             *big.Int
	Active            bool
	Earned            *big.Int
	Category          [32]byte
	Bids              *big.Int
	Sells             *big.Int
	Reports           *big.Int
	DaysValid         *big.Int
}

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

type DataHubSubItem

type DataHubSubItem struct {
	SubHash           [32]byte
	UnlockKeyLocation [32]byte
	ValidTill         *big.Int
}

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

type DataHubSubRequest

type DataHubSubRequest struct {
	FdpBuyerNameHash [32]byte
	SubHash          [32]byte
	RequestHash      [32]byte
	Buyer            common.Address
	Served           bool
}

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

type Datahub

type Datahub struct {
	DatahubCaller     // Read-only binding to the contract
	DatahubTransactor // Write-only binding to the contract
	DatahubFilterer   // Log filterer for contract events
}

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

func NewDatahub

func NewDatahub(address common.Address, backend bind.ContractBackend) (*Datahub, error)

NewDatahub creates a new instance of Datahub, bound to a specific deployed contract.

type DatahubCaller

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

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

func NewDatahubCaller

func NewDatahubCaller(address common.Address, caller bind.ContractCaller) (*DatahubCaller, error)

NewDatahubCaller creates a new read-only instance of Datahub, bound to a specific deployed contract.

func (*DatahubCaller) DEFAULTADMINROLE

func (_Datahub *DatahubCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*DatahubCaller) FeesCollected

func (_Datahub *DatahubCaller) FeesCollected(opts *bind.CallOpts) (*big.Int, error)

FeesCollected is a free data retrieval call binding the contract method 0xf071db5a.

Solidity: function feesCollected() view returns(uint256)

func (*DatahubCaller) FundsBalance

func (_Datahub *DatahubCaller) FundsBalance(opts *bind.CallOpts) (*big.Int, error)

FundsBalance is a free data retrieval call binding the contract method 0x9454932c.

Solidity: function fundsBalance() view returns(uint256)

func (*DatahubCaller) GetActiveBidAt

func (_Datahub *DatahubCaller) GetActiveBidAt(opts *bind.CallOpts, addr common.Address, index *big.Int) (DataHubActiveBid, error)

GetActiveBidAt is a free data retrieval call binding the contract method 0x78ba33c6.

Solidity: function getActiveBidAt(address addr, uint256 index) view returns((bytes32,address,bool))

func (*DatahubCaller) GetActiveBids

func (_Datahub *DatahubCaller) GetActiveBids(opts *bind.CallOpts, addr common.Address) ([]DataHubActiveBid, error)

GetActiveBids is a free data retrieval call binding the contract method 0xfbc4fc44.

Solidity: function getActiveBids(address addr) view returns((bytes32,address,bool)[])

func (*DatahubCaller) GetActiveBidsByHash

func (_Datahub *DatahubCaller) GetActiveBidsByHash(opts *bind.CallOpts, addr common.Address, requestHash [32]byte) (DataHubActiveBid, error)

GetActiveBidsByHash is a free data retrieval call binding the contract method 0x2da82643.

Solidity: function getActiveBidsByHash(address addr, bytes32 requestHash) view returns((bytes32,address,bool))

func (*DatahubCaller) GetAllSubItems

func (_Datahub *DatahubCaller) GetAllSubItems(opts *bind.CallOpts, addr common.Address) ([]DataHubSubItem, error)

GetAllSubItems is a free data retrieval call binding the contract method 0x224b6b8c.

Solidity: function getAllSubItems(address addr) view returns((bytes32,bytes32,uint256)[])

func (*DatahubCaller) GetAllSubItemsForNameHash

func (_Datahub *DatahubCaller) GetAllSubItemsForNameHash(opts *bind.CallOpts, nameHash [32]byte) ([]DataHubSubItem, error)

GetAllSubItemsForNameHash is a free data retrieval call binding the contract method 0xb62fe12f.

Solidity: function getAllSubItemsForNameHash(bytes32 nameHash) view returns((bytes32,bytes32,uint256)[])

func (*DatahubCaller) GetCategory

func (_Datahub *DatahubCaller) GetCategory(opts *bind.CallOpts, category [32]byte) (DataHubCategory, error)

GetCategory is a free data retrieval call binding the contract method 0x473b084c.

Solidity: function getCategory(bytes32 category) view returns((uint64[]))

func (*DatahubCaller) GetFee

func (_Datahub *DatahubCaller) GetFee(opts *bind.CallOpts, _fee *big.Int, amount *big.Int) (*big.Int, error)

GetFee is a free data retrieval call binding the contract method 0xd250185c.

Solidity: function getFee(uint256 _fee, uint256 amount) pure returns(uint256)

func (*DatahubCaller) GetListedSubs

func (_Datahub *DatahubCaller) GetListedSubs(opts *bind.CallOpts, addr common.Address) ([][32]byte, error)

GetListedSubs is a free data retrieval call binding the contract method 0xcddf64ea.

Solidity: function getListedSubs(address addr) view returns(bytes32[])

func (*DatahubCaller) GetNameHashSubItems

func (_Datahub *DatahubCaller) GetNameHashSubItems(opts *bind.CallOpts, nameHash [32]byte) ([][32]byte, error)

GetNameHashSubItems is a free data retrieval call binding the contract method 0x2c3ca35a.

Solidity: function getNameHashSubItems(bytes32 nameHash) view returns(bytes32[])

func (*DatahubCaller) GetPortableAddress

func (_Datahub *DatahubCaller) GetPortableAddress(opts *bind.CallOpts, addr common.Address) (common.Address, error)

GetPortableAddress is a free data retrieval call binding the contract method 0xc3b4dde9.

Solidity: function getPortableAddress(address addr) view returns(address)

func (*DatahubCaller) GetRoleAdmin

func (_Datahub *DatahubCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*DatahubCaller) GetSubBy

func (_Datahub *DatahubCaller) GetSubBy(opts *bind.CallOpts, subHash [32]byte) (DataHubSub, error)

GetSubBy is a free data retrieval call binding the contract method 0x1f9ef490.

Solidity: function getSubBy(bytes32 subHash) view returns((bytes32,bytes32,address,bytes32,uint256,bool,uint256,bytes32,uint256,uint256,uint256,uint256))

func (*DatahubCaller) GetSubByIndex

func (_Datahub *DatahubCaller) GetSubByIndex(opts *bind.CallOpts, index *big.Int) (DataHubSub, error)

GetSubByIndex is a free data retrieval call binding the contract method 0xeed5b6e5.

Solidity: function getSubByIndex(uint256 index) view returns((bytes32,bytes32,address,bytes32,uint256,bool,uint256,bytes32,uint256,uint256,uint256,uint256))

func (*DatahubCaller) GetSubInfoBalance

func (_Datahub *DatahubCaller) GetSubInfoBalance(opts *bind.CallOpts, subHash [32]byte, forAddress common.Address) (*big.Int, error)

GetSubInfoBalance is a free data retrieval call binding the contract method 0x254e287b.

Solidity: function getSubInfoBalance(bytes32 subHash, address forAddress) view returns(uint256)

func (*DatahubCaller) GetSubItemAt

func (_Datahub *DatahubCaller) GetSubItemAt(opts *bind.CallOpts, addr common.Address, index *big.Int) (DataHubSubItem, error)

GetSubItemAt is a free data retrieval call binding the contract method 0x80dd0d8e.

Solidity: function getSubItemAt(address addr, uint256 index) view returns((bytes32,bytes32,uint256))

func (*DatahubCaller) GetSubItems

func (_Datahub *DatahubCaller) GetSubItems(opts *bind.CallOpts, addr common.Address, start *big.Int, length *big.Int) (struct {
	Items []DataHubSubItem
	Last  *big.Int
}, error)

GetSubItems is a free data retrieval call binding the contract method 0xd3fbc74c.

Solidity: function getSubItems(address addr, uint256 start, uint256 length) view returns((bytes32,bytes32,uint256)[] items, uint256 last)

func (*DatahubCaller) GetSubRequestAt

func (_Datahub *DatahubCaller) GetSubRequestAt(opts *bind.CallOpts, addr common.Address, index *big.Int) (DataHubSubRequest, error)

GetSubRequestAt is a free data retrieval call binding the contract method 0x84053229.

Solidity: function getSubRequestAt(address addr, uint256 index) view returns((bytes32,bytes32,bytes32,address,bool))

func (*DatahubCaller) GetSubRequestByHash

func (_Datahub *DatahubCaller) GetSubRequestByHash(opts *bind.CallOpts, addr common.Address, requestHash [32]byte) (DataHubSubRequest, error)

GetSubRequestByHash is a free data retrieval call binding the contract method 0x9bde82dc.

Solidity: function getSubRequestByHash(address addr, bytes32 requestHash) view returns((bytes32,bytes32,bytes32,address,bool))

func (*DatahubCaller) GetSubRequests

func (_Datahub *DatahubCaller) GetSubRequests(opts *bind.CallOpts, addr common.Address) ([]DataHubSubRequest, error)

GetSubRequests is a free data retrieval call binding the contract method 0x92b58bc2.

Solidity: function getSubRequests(address addr) view returns((bytes32,bytes32,bytes32,address,bool)[])

func (*DatahubCaller) GetSubSubscribers

func (_Datahub *DatahubCaller) GetSubSubscribers(opts *bind.CallOpts, subHash [32]byte) ([]common.Address, error)

GetSubSubscribers is a free data retrieval call binding the contract method 0x7de2e5e8.

Solidity: function getSubSubscribers(bytes32 subHash) view returns(address[])

func (*DatahubCaller) GetSubs

func (_Datahub *DatahubCaller) GetSubs(opts *bind.CallOpts) ([]DataHubSub, error)

GetSubs is a free data retrieval call binding the contract method 0xb8fb1bac.

Solidity: function getSubs() view returns((bytes32,bytes32,address,bytes32,uint256,bool,uint256,bytes32,uint256,uint256,uint256,uint256)[])

func (*DatahubCaller) GetUserStats

func (_Datahub *DatahubCaller) GetUserStats(opts *bind.CallOpts, addr common.Address) (struct {
	NumSubRequests *big.Int
	NumSubItems    *big.Int
	NumActiveBids  *big.Int
	NumListedSubs  *big.Int
}, error)

GetUserStats is a free data retrieval call binding the contract method 0x4e43603a.

Solidity: function getUserStats(address addr) view returns(uint256 numSubRequests, uint256 numSubItems, uint256 numActiveBids, uint256 numListedSubs)

func (*DatahubCaller) HasRole

func (_Datahub *DatahubCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*DatahubCaller) InEscrow

func (_Datahub *DatahubCaller) InEscrow(opts *bind.CallOpts) (*big.Int, error)

InEscrow is a free data retrieval call binding the contract method 0xb7391341.

Solidity: function inEscrow() view returns(uint256)

func (*DatahubCaller) MarketFee

func (_Datahub *DatahubCaller) MarketFee(opts *bind.CallOpts) (*big.Int, error)

MarketFee is a free data retrieval call binding the contract method 0x0ccf2156.

Solidity: function marketFee() view returns(uint256)

func (*DatahubCaller) MinListingFee

func (_Datahub *DatahubCaller) MinListingFee(opts *bind.CallOpts) (*big.Int, error)

MinListingFee is a free data retrieval call binding the contract method 0x703a54b5.

Solidity: function minListingFee() view returns(uint256)

func (*DatahubCaller) Owner

func (_Datahub *DatahubCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*DatahubCaller) ROLEREPORTER

func (_Datahub *DatahubCaller) ROLEREPORTER(opts *bind.CallOpts) ([32]byte, error)

ROLEREPORTER is a free data retrieval call binding the contract method 0x83102c2b.

Solidity: function ROLE_REPORTER() view returns(bytes32)

func (*DatahubCaller) SubscriptionIds

func (_Datahub *DatahubCaller) SubscriptionIds(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

SubscriptionIds is a free data retrieval call binding the contract method 0x0e499994.

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

func (*DatahubCaller) Subscriptions

func (_Datahub *DatahubCaller) Subscriptions(opts *bind.CallOpts, arg0 *big.Int) (struct {
	SubHash           [32]byte
	FdpSellerNameHash [32]byte
	Seller            common.Address
	SwarmLocation     [32]byte
	Price             *big.Int
	Active            bool
	Earned            *big.Int
	Category          [32]byte
	Bids              *big.Int
	Sells             *big.Int
	Reports           *big.Int
	DaysValid         *big.Int
}, error)

Subscriptions is a free data retrieval call binding the contract method 0x2d5bbf60.

Solidity: function subscriptions(uint256 ) view returns(bytes32 subHash, bytes32 fdpSellerNameHash, address seller, bytes32 swarmLocation, uint256 price, bool active, uint256 earned, bytes32 category, uint256 bids, uint256 sells, uint256 reports, uint256 daysValid)

func (*DatahubCaller) SupportsInterface

func (_Datahub *DatahubCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type DatahubCallerRaw

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

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

func (*DatahubCallerRaw) Call

func (_Datahub *DatahubCallerRaw) 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 DatahubCallerSession

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

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

func (*DatahubCallerSession) DEFAULTADMINROLE

func (_Datahub *DatahubCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*DatahubCallerSession) FeesCollected

func (_Datahub *DatahubCallerSession) FeesCollected() (*big.Int, error)

FeesCollected is a free data retrieval call binding the contract method 0xf071db5a.

Solidity: function feesCollected() view returns(uint256)

func (*DatahubCallerSession) FundsBalance

func (_Datahub *DatahubCallerSession) FundsBalance() (*big.Int, error)

FundsBalance is a free data retrieval call binding the contract method 0x9454932c.

Solidity: function fundsBalance() view returns(uint256)

func (*DatahubCallerSession) GetActiveBidAt

func (_Datahub *DatahubCallerSession) GetActiveBidAt(addr common.Address, index *big.Int) (DataHubActiveBid, error)

GetActiveBidAt is a free data retrieval call binding the contract method 0x78ba33c6.

Solidity: function getActiveBidAt(address addr, uint256 index) view returns((bytes32,address,bool))

func (*DatahubCallerSession) GetActiveBids

func (_Datahub *DatahubCallerSession) GetActiveBids(addr common.Address) ([]DataHubActiveBid, error)

GetActiveBids is a free data retrieval call binding the contract method 0xfbc4fc44.

Solidity: function getActiveBids(address addr) view returns((bytes32,address,bool)[])

func (*DatahubCallerSession) GetActiveBidsByHash

func (_Datahub *DatahubCallerSession) GetActiveBidsByHash(addr common.Address, requestHash [32]byte) (DataHubActiveBid, error)

GetActiveBidsByHash is a free data retrieval call binding the contract method 0x2da82643.

Solidity: function getActiveBidsByHash(address addr, bytes32 requestHash) view returns((bytes32,address,bool))

func (*DatahubCallerSession) GetAllSubItems

func (_Datahub *DatahubCallerSession) GetAllSubItems(addr common.Address) ([]DataHubSubItem, error)

GetAllSubItems is a free data retrieval call binding the contract method 0x224b6b8c.

Solidity: function getAllSubItems(address addr) view returns((bytes32,bytes32,uint256)[])

func (*DatahubCallerSession) GetAllSubItemsForNameHash

func (_Datahub *DatahubCallerSession) GetAllSubItemsForNameHash(nameHash [32]byte) ([]DataHubSubItem, error)

GetAllSubItemsForNameHash is a free data retrieval call binding the contract method 0xb62fe12f.

Solidity: function getAllSubItemsForNameHash(bytes32 nameHash) view returns((bytes32,bytes32,uint256)[])

func (*DatahubCallerSession) GetCategory

func (_Datahub *DatahubCallerSession) GetCategory(category [32]byte) (DataHubCategory, error)

GetCategory is a free data retrieval call binding the contract method 0x473b084c.

Solidity: function getCategory(bytes32 category) view returns((uint64[]))

func (*DatahubCallerSession) GetFee

func (_Datahub *DatahubCallerSession) GetFee(_fee *big.Int, amount *big.Int) (*big.Int, error)

GetFee is a free data retrieval call binding the contract method 0xd250185c.

Solidity: function getFee(uint256 _fee, uint256 amount) pure returns(uint256)

func (*DatahubCallerSession) GetListedSubs

func (_Datahub *DatahubCallerSession) GetListedSubs(addr common.Address) ([][32]byte, error)

GetListedSubs is a free data retrieval call binding the contract method 0xcddf64ea.

Solidity: function getListedSubs(address addr) view returns(bytes32[])

func (*DatahubCallerSession) GetNameHashSubItems

func (_Datahub *DatahubCallerSession) GetNameHashSubItems(nameHash [32]byte) ([][32]byte, error)

GetNameHashSubItems is a free data retrieval call binding the contract method 0x2c3ca35a.

Solidity: function getNameHashSubItems(bytes32 nameHash) view returns(bytes32[])

func (*DatahubCallerSession) GetPortableAddress

func (_Datahub *DatahubCallerSession) GetPortableAddress(addr common.Address) (common.Address, error)

GetPortableAddress is a free data retrieval call binding the contract method 0xc3b4dde9.

Solidity: function getPortableAddress(address addr) view returns(address)

func (*DatahubCallerSession) GetRoleAdmin

func (_Datahub *DatahubCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*DatahubCallerSession) GetSubBy

func (_Datahub *DatahubCallerSession) GetSubBy(subHash [32]byte) (DataHubSub, error)

GetSubBy is a free data retrieval call binding the contract method 0x1f9ef490.

Solidity: function getSubBy(bytes32 subHash) view returns((bytes32,bytes32,address,bytes32,uint256,bool,uint256,bytes32,uint256,uint256,uint256,uint256))

func (*DatahubCallerSession) GetSubByIndex

func (_Datahub *DatahubCallerSession) GetSubByIndex(index *big.Int) (DataHubSub, error)

GetSubByIndex is a free data retrieval call binding the contract method 0xeed5b6e5.

Solidity: function getSubByIndex(uint256 index) view returns((bytes32,bytes32,address,bytes32,uint256,bool,uint256,bytes32,uint256,uint256,uint256,uint256))

func (*DatahubCallerSession) GetSubInfoBalance

func (_Datahub *DatahubCallerSession) GetSubInfoBalance(subHash [32]byte, forAddress common.Address) (*big.Int, error)

GetSubInfoBalance is a free data retrieval call binding the contract method 0x254e287b.

Solidity: function getSubInfoBalance(bytes32 subHash, address forAddress) view returns(uint256)

func (*DatahubCallerSession) GetSubItemAt

func (_Datahub *DatahubCallerSession) GetSubItemAt(addr common.Address, index *big.Int) (DataHubSubItem, error)

GetSubItemAt is a free data retrieval call binding the contract method 0x80dd0d8e.

Solidity: function getSubItemAt(address addr, uint256 index) view returns((bytes32,bytes32,uint256))

func (*DatahubCallerSession) GetSubItems

func (_Datahub *DatahubCallerSession) GetSubItems(addr common.Address, start *big.Int, length *big.Int) (struct {
	Items []DataHubSubItem
	Last  *big.Int
}, error)

GetSubItems is a free data retrieval call binding the contract method 0xd3fbc74c.

Solidity: function getSubItems(address addr, uint256 start, uint256 length) view returns((bytes32,bytes32,uint256)[] items, uint256 last)

func (*DatahubCallerSession) GetSubRequestAt

func (_Datahub *DatahubCallerSession) GetSubRequestAt(addr common.Address, index *big.Int) (DataHubSubRequest, error)

GetSubRequestAt is a free data retrieval call binding the contract method 0x84053229.

Solidity: function getSubRequestAt(address addr, uint256 index) view returns((bytes32,bytes32,bytes32,address,bool))

func (*DatahubCallerSession) GetSubRequestByHash

func (_Datahub *DatahubCallerSession) GetSubRequestByHash(addr common.Address, requestHash [32]byte) (DataHubSubRequest, error)

GetSubRequestByHash is a free data retrieval call binding the contract method 0x9bde82dc.

Solidity: function getSubRequestByHash(address addr, bytes32 requestHash) view returns((bytes32,bytes32,bytes32,address,bool))

func (*DatahubCallerSession) GetSubRequests

func (_Datahub *DatahubCallerSession) GetSubRequests(addr common.Address) ([]DataHubSubRequest, error)

GetSubRequests is a free data retrieval call binding the contract method 0x92b58bc2.

Solidity: function getSubRequests(address addr) view returns((bytes32,bytes32,bytes32,address,bool)[])

func (*DatahubCallerSession) GetSubSubscribers

func (_Datahub *DatahubCallerSession) GetSubSubscribers(subHash [32]byte) ([]common.Address, error)

GetSubSubscribers is a free data retrieval call binding the contract method 0x7de2e5e8.

Solidity: function getSubSubscribers(bytes32 subHash) view returns(address[])

func (*DatahubCallerSession) GetSubs

func (_Datahub *DatahubCallerSession) GetSubs() ([]DataHubSub, error)

GetSubs is a free data retrieval call binding the contract method 0xb8fb1bac.

Solidity: function getSubs() view returns((bytes32,bytes32,address,bytes32,uint256,bool,uint256,bytes32,uint256,uint256,uint256,uint256)[])

func (*DatahubCallerSession) GetUserStats

func (_Datahub *DatahubCallerSession) GetUserStats(addr common.Address) (struct {
	NumSubRequests *big.Int
	NumSubItems    *big.Int
	NumActiveBids  *big.Int
	NumListedSubs  *big.Int
}, error)

GetUserStats is a free data retrieval call binding the contract method 0x4e43603a.

Solidity: function getUserStats(address addr) view returns(uint256 numSubRequests, uint256 numSubItems, uint256 numActiveBids, uint256 numListedSubs)

func (*DatahubCallerSession) HasRole

func (_Datahub *DatahubCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*DatahubCallerSession) InEscrow

func (_Datahub *DatahubCallerSession) InEscrow() (*big.Int, error)

InEscrow is a free data retrieval call binding the contract method 0xb7391341.

Solidity: function inEscrow() view returns(uint256)

func (*DatahubCallerSession) MarketFee

func (_Datahub *DatahubCallerSession) MarketFee() (*big.Int, error)

MarketFee is a free data retrieval call binding the contract method 0x0ccf2156.

Solidity: function marketFee() view returns(uint256)

func (*DatahubCallerSession) MinListingFee

func (_Datahub *DatahubCallerSession) MinListingFee() (*big.Int, error)

MinListingFee is a free data retrieval call binding the contract method 0x703a54b5.

Solidity: function minListingFee() view returns(uint256)

func (*DatahubCallerSession) Owner

func (_Datahub *DatahubCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*DatahubCallerSession) ROLEREPORTER

func (_Datahub *DatahubCallerSession) ROLEREPORTER() ([32]byte, error)

ROLEREPORTER is a free data retrieval call binding the contract method 0x83102c2b.

Solidity: function ROLE_REPORTER() view returns(bytes32)

func (*DatahubCallerSession) SubscriptionIds

func (_Datahub *DatahubCallerSession) SubscriptionIds(arg0 [32]byte) (*big.Int, error)

SubscriptionIds is a free data retrieval call binding the contract method 0x0e499994.

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

func (*DatahubCallerSession) Subscriptions

func (_Datahub *DatahubCallerSession) Subscriptions(arg0 *big.Int) (struct {
	SubHash           [32]byte
	FdpSellerNameHash [32]byte
	Seller            common.Address
	SwarmLocation     [32]byte
	Price             *big.Int
	Active            bool
	Earned            *big.Int
	Category          [32]byte
	Bids              *big.Int
	Sells             *big.Int
	Reports           *big.Int
	DaysValid         *big.Int
}, error)

Subscriptions is a free data retrieval call binding the contract method 0x2d5bbf60.

Solidity: function subscriptions(uint256 ) view returns(bytes32 subHash, bytes32 fdpSellerNameHash, address seller, bytes32 swarmLocation, uint256 price, bool active, uint256 earned, bytes32 category, uint256 bids, uint256 sells, uint256 reports, uint256 daysValid)

func (*DatahubCallerSession) SupportsInterface

func (_Datahub *DatahubCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type DatahubFilterer

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

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

func NewDatahubFilterer

func NewDatahubFilterer(address common.Address, filterer bind.ContractFilterer) (*DatahubFilterer, error)

NewDatahubFilterer creates a new log filterer instance of Datahub, bound to a specific deployed contract.

func (*DatahubFilterer) FilterOwnershipTransferred

func (_Datahub *DatahubFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DatahubOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DatahubFilterer) FilterRoleAdminChanged

func (_Datahub *DatahubFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*DatahubRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*DatahubFilterer) FilterRoleGranted

func (_Datahub *DatahubFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*DatahubRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*DatahubFilterer) FilterRoleRevoked

func (_Datahub *DatahubFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*DatahubRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*DatahubFilterer) ParseOwnershipTransferred

func (_Datahub *DatahubFilterer) ParseOwnershipTransferred(log types.Log) (*DatahubOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DatahubFilterer) ParseRoleAdminChanged

func (_Datahub *DatahubFilterer) ParseRoleAdminChanged(log types.Log) (*DatahubRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*DatahubFilterer) ParseRoleGranted

func (_Datahub *DatahubFilterer) ParseRoleGranted(log types.Log) (*DatahubRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*DatahubFilterer) ParseRoleRevoked

func (_Datahub *DatahubFilterer) ParseRoleRevoked(log types.Log) (*DatahubRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*DatahubFilterer) WatchOwnershipTransferred

func (_Datahub *DatahubFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DatahubOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DatahubFilterer) WatchRoleAdminChanged

func (_Datahub *DatahubFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *DatahubRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*DatahubFilterer) WatchRoleGranted

func (_Datahub *DatahubFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *DatahubRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*DatahubFilterer) WatchRoleRevoked

func (_Datahub *DatahubFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *DatahubRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

type DatahubOwnershipTransferred

type DatahubOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

DatahubOwnershipTransferred represents a OwnershipTransferred event raised by the Datahub contract.

type DatahubOwnershipTransferredIterator

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

DatahubOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Datahub contract.

func (*DatahubOwnershipTransferredIterator) Close

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

func (*DatahubOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DatahubOwnershipTransferredIterator) 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 DatahubRaw

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

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

func (*DatahubRaw) Call

func (_Datahub *DatahubRaw) 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 (*DatahubRaw) Transact

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

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

func (*DatahubRaw) Transfer

func (_Datahub *DatahubRaw) 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 DatahubRoleAdminChanged

type DatahubRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

DatahubRoleAdminChanged represents a RoleAdminChanged event raised by the Datahub contract.

type DatahubRoleAdminChangedIterator

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

DatahubRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Datahub contract.

func (*DatahubRoleAdminChangedIterator) Close

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

func (*DatahubRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DatahubRoleAdminChangedIterator) 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 DatahubRoleGranted

type DatahubRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DatahubRoleGranted represents a RoleGranted event raised by the Datahub contract.

type DatahubRoleGrantedIterator

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

DatahubRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Datahub contract.

func (*DatahubRoleGrantedIterator) Close

func (it *DatahubRoleGrantedIterator) Close() error

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

func (*DatahubRoleGrantedIterator) Error

func (it *DatahubRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DatahubRoleGrantedIterator) Next

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

type DatahubRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DatahubRoleRevoked represents a RoleRevoked event raised by the Datahub contract.

type DatahubRoleRevokedIterator

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

DatahubRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Datahub contract.

func (*DatahubRoleRevokedIterator) Close

func (it *DatahubRoleRevokedIterator) Close() error

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

func (*DatahubRoleRevokedIterator) Error

func (it *DatahubRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DatahubRoleRevokedIterator) Next

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

type DatahubSession struct {
	Contract     *Datahub          // 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
}

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

func (*DatahubSession) BidSub

func (_Datahub *DatahubSession) BidSub(subHash [32]byte, fdpBuyerNameHash [32]byte) (*types.Transaction, error)

BidSub is a paid mutator transaction binding the contract method 0xe91dbcb0.

Solidity: function bidSub(bytes32 subHash, bytes32 fdpBuyerNameHash) payable returns()

func (*DatahubSession) DEFAULTADMINROLE

func (_Datahub *DatahubSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*DatahubSession) EnableSub

func (_Datahub *DatahubSession) EnableSub(subHash [32]byte, active bool) (*types.Transaction, error)

EnableSub is a paid mutator transaction binding the contract method 0x88ac2917.

Solidity: function enableSub(bytes32 subHash, bool active) returns()

func (*DatahubSession) FeesCollected

func (_Datahub *DatahubSession) FeesCollected() (*big.Int, error)

FeesCollected is a free data retrieval call binding the contract method 0xf071db5a.

Solidity: function feesCollected() view returns(uint256)

func (*DatahubSession) FundsBalance

func (_Datahub *DatahubSession) FundsBalance() (*big.Int, error)

FundsBalance is a free data retrieval call binding the contract method 0x9454932c.

Solidity: function fundsBalance() view returns(uint256)

func (*DatahubSession) FundsTransfer

func (_Datahub *DatahubSession) FundsTransfer() (*types.Transaction, error)

FundsTransfer is a paid mutator transaction binding the contract method 0x567556a4.

Solidity: function fundsTransfer() payable returns()

func (*DatahubSession) GetActiveBidAt

func (_Datahub *DatahubSession) GetActiveBidAt(addr common.Address, index *big.Int) (DataHubActiveBid, error)

GetActiveBidAt is a free data retrieval call binding the contract method 0x78ba33c6.

Solidity: function getActiveBidAt(address addr, uint256 index) view returns((bytes32,address,bool))

func (*DatahubSession) GetActiveBids

func (_Datahub *DatahubSession) GetActiveBids(addr common.Address) ([]DataHubActiveBid, error)

GetActiveBids is a free data retrieval call binding the contract method 0xfbc4fc44.

Solidity: function getActiveBids(address addr) view returns((bytes32,address,bool)[])

func (*DatahubSession) GetActiveBidsByHash

func (_Datahub *DatahubSession) GetActiveBidsByHash(addr common.Address, requestHash [32]byte) (DataHubActiveBid, error)

GetActiveBidsByHash is a free data retrieval call binding the contract method 0x2da82643.

Solidity: function getActiveBidsByHash(address addr, bytes32 requestHash) view returns((bytes32,address,bool))

func (*DatahubSession) GetAllSubItems

func (_Datahub *DatahubSession) GetAllSubItems(addr common.Address) ([]DataHubSubItem, error)

GetAllSubItems is a free data retrieval call binding the contract method 0x224b6b8c.

Solidity: function getAllSubItems(address addr) view returns((bytes32,bytes32,uint256)[])

func (*DatahubSession) GetAllSubItemsForNameHash

func (_Datahub *DatahubSession) GetAllSubItemsForNameHash(nameHash [32]byte) ([]DataHubSubItem, error)

GetAllSubItemsForNameHash is a free data retrieval call binding the contract method 0xb62fe12f.

Solidity: function getAllSubItemsForNameHash(bytes32 nameHash) view returns((bytes32,bytes32,uint256)[])

func (*DatahubSession) GetCategory

func (_Datahub *DatahubSession) GetCategory(category [32]byte) (DataHubCategory, error)

GetCategory is a free data retrieval call binding the contract method 0x473b084c.

Solidity: function getCategory(bytes32 category) view returns((uint64[]))

func (*DatahubSession) GetFee

func (_Datahub *DatahubSession) GetFee(_fee *big.Int, amount *big.Int) (*big.Int, error)

GetFee is a free data retrieval call binding the contract method 0xd250185c.

Solidity: function getFee(uint256 _fee, uint256 amount) pure returns(uint256)

func (*DatahubSession) GetListedSubs

func (_Datahub *DatahubSession) GetListedSubs(addr common.Address) ([][32]byte, error)

GetListedSubs is a free data retrieval call binding the contract method 0xcddf64ea.

Solidity: function getListedSubs(address addr) view returns(bytes32[])

func (*DatahubSession) GetNameHashSubItems

func (_Datahub *DatahubSession) GetNameHashSubItems(nameHash [32]byte) ([][32]byte, error)

GetNameHashSubItems is a free data retrieval call binding the contract method 0x2c3ca35a.

Solidity: function getNameHashSubItems(bytes32 nameHash) view returns(bytes32[])

func (*DatahubSession) GetPortableAddress

func (_Datahub *DatahubSession) GetPortableAddress(addr common.Address) (common.Address, error)

GetPortableAddress is a free data retrieval call binding the contract method 0xc3b4dde9.

Solidity: function getPortableAddress(address addr) view returns(address)

func (*DatahubSession) GetRoleAdmin

func (_Datahub *DatahubSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*DatahubSession) GetSubBy

func (_Datahub *DatahubSession) GetSubBy(subHash [32]byte) (DataHubSub, error)

GetSubBy is a free data retrieval call binding the contract method 0x1f9ef490.

Solidity: function getSubBy(bytes32 subHash) view returns((bytes32,bytes32,address,bytes32,uint256,bool,uint256,bytes32,uint256,uint256,uint256,uint256))

func (*DatahubSession) GetSubByIndex

func (_Datahub *DatahubSession) GetSubByIndex(index *big.Int) (DataHubSub, error)

GetSubByIndex is a free data retrieval call binding the contract method 0xeed5b6e5.

Solidity: function getSubByIndex(uint256 index) view returns((bytes32,bytes32,address,bytes32,uint256,bool,uint256,bytes32,uint256,uint256,uint256,uint256))

func (*DatahubSession) GetSubInfoBalance

func (_Datahub *DatahubSession) GetSubInfoBalance(subHash [32]byte, forAddress common.Address) (*big.Int, error)

GetSubInfoBalance is a free data retrieval call binding the contract method 0x254e287b.

Solidity: function getSubInfoBalance(bytes32 subHash, address forAddress) view returns(uint256)

func (*DatahubSession) GetSubItemAt

func (_Datahub *DatahubSession) GetSubItemAt(addr common.Address, index *big.Int) (DataHubSubItem, error)

GetSubItemAt is a free data retrieval call binding the contract method 0x80dd0d8e.

Solidity: function getSubItemAt(address addr, uint256 index) view returns((bytes32,bytes32,uint256))

func (*DatahubSession) GetSubItems

func (_Datahub *DatahubSession) GetSubItems(addr common.Address, start *big.Int, length *big.Int) (struct {
	Items []DataHubSubItem
	Last  *big.Int
}, error)

GetSubItems is a free data retrieval call binding the contract method 0xd3fbc74c.

Solidity: function getSubItems(address addr, uint256 start, uint256 length) view returns((bytes32,bytes32,uint256)[] items, uint256 last)

func (*DatahubSession) GetSubRequestAt

func (_Datahub *DatahubSession) GetSubRequestAt(addr common.Address, index *big.Int) (DataHubSubRequest, error)

GetSubRequestAt is a free data retrieval call binding the contract method 0x84053229.

Solidity: function getSubRequestAt(address addr, uint256 index) view returns((bytes32,bytes32,bytes32,address,bool))

func (*DatahubSession) GetSubRequestByHash

func (_Datahub *DatahubSession) GetSubRequestByHash(addr common.Address, requestHash [32]byte) (DataHubSubRequest, error)

GetSubRequestByHash is a free data retrieval call binding the contract method 0x9bde82dc.

Solidity: function getSubRequestByHash(address addr, bytes32 requestHash) view returns((bytes32,bytes32,bytes32,address,bool))

func (*DatahubSession) GetSubRequests

func (_Datahub *DatahubSession) GetSubRequests(addr common.Address) ([]DataHubSubRequest, error)

GetSubRequests is a free data retrieval call binding the contract method 0x92b58bc2.

Solidity: function getSubRequests(address addr) view returns((bytes32,bytes32,bytes32,address,bool)[])

func (*DatahubSession) GetSubSubscribers

func (_Datahub *DatahubSession) GetSubSubscribers(subHash [32]byte) ([]common.Address, error)

GetSubSubscribers is a free data retrieval call binding the contract method 0x7de2e5e8.

Solidity: function getSubSubscribers(bytes32 subHash) view returns(address[])

func (*DatahubSession) GetSubs

func (_Datahub *DatahubSession) GetSubs() ([]DataHubSub, error)

GetSubs is a free data retrieval call binding the contract method 0xb8fb1bac.

Solidity: function getSubs() view returns((bytes32,bytes32,address,bytes32,uint256,bool,uint256,bytes32,uint256,uint256,uint256,uint256)[])

func (*DatahubSession) GetUserStats

func (_Datahub *DatahubSession) GetUserStats(addr common.Address) (struct {
	NumSubRequests *big.Int
	NumSubItems    *big.Int
	NumActiveBids  *big.Int
	NumListedSubs  *big.Int
}, error)

GetUserStats is a free data retrieval call binding the contract method 0x4e43603a.

Solidity: function getUserStats(address addr) view returns(uint256 numSubRequests, uint256 numSubItems, uint256 numActiveBids, uint256 numListedSubs)

func (*DatahubSession) GrantRole

func (_Datahub *DatahubSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*DatahubSession) HasRole

func (_Datahub *DatahubSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*DatahubSession) InEscrow

func (_Datahub *DatahubSession) InEscrow() (*big.Int, error)

InEscrow is a free data retrieval call binding the contract method 0xb7391341.

Solidity: function inEscrow() view returns(uint256)

func (*DatahubSession) ListSub

func (_Datahub *DatahubSession) ListSub(fdpSellerNameHash [32]byte, dataSwarmLocation [32]byte, price *big.Int, category [32]byte, podAddress common.Address, daysValid *big.Int) (*types.Transaction, error)

ListSub is a paid mutator transaction binding the contract method 0x1f59388d.

Solidity: function listSub(bytes32 fdpSellerNameHash, bytes32 dataSwarmLocation, uint256 price, bytes32 category, address podAddress, uint256 daysValid) payable returns()

func (*DatahubSession) MarketFee

func (_Datahub *DatahubSession) MarketFee() (*big.Int, error)

MarketFee is a free data retrieval call binding the contract method 0x0ccf2156.

Solidity: function marketFee() view returns(uint256)

func (*DatahubSession) MinListingFee

func (_Datahub *DatahubSession) MinListingFee() (*big.Int, error)

MinListingFee is a free data retrieval call binding the contract method 0x703a54b5.

Solidity: function minListingFee() view returns(uint256)

func (*DatahubSession) Owner

func (_Datahub *DatahubSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*DatahubSession) ROLEREPORTER

func (_Datahub *DatahubSession) ROLEREPORTER() ([32]byte, error)

ROLEREPORTER is a free data retrieval call binding the contract method 0x83102c2b.

Solidity: function ROLE_REPORTER() view returns(bytes32)

func (*DatahubSession) Receive

func (_Datahub *DatahubSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*DatahubSession) Release

func (_Datahub *DatahubSession) Release(token common.Address, amount *big.Int) (*types.Transaction, error)

Release is a paid mutator transaction binding the contract method 0x0357371d.

Solidity: function release(address token, uint256 amount) returns()

func (*DatahubSession) RemoveUserActiveBid

func (_Datahub *DatahubSession) RemoveUserActiveBid(requestHash [32]byte) (*types.Transaction, error)

RemoveUserActiveBid is a paid mutator transaction binding the contract method 0x0260f912.

Solidity: function removeUserActiveBid(bytes32 requestHash) returns()

func (*DatahubSession) RenounceOwnership

func (_Datahub *DatahubSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DatahubSession) RenounceRole

func (_Datahub *DatahubSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*DatahubSession) ReportSub

func (_Datahub *DatahubSession) ReportSub(subHash [32]byte) (*types.Transaction, error)

ReportSub is a paid mutator transaction binding the contract method 0xd76ac1d1.

Solidity: function reportSub(bytes32 subHash) returns()

func (*DatahubSession) RequestAgain added in v0.9.4

func (_Datahub *DatahubSession) RequestAgain(requestHash [32]byte) (*types.Transaction, error)

RequestAgain is a paid mutator transaction binding the contract method 0x1a937f08.

Solidity: function requestAgain(bytes32 requestHash) payable returns()

func (*DatahubSession) RevokeRole

func (_Datahub *DatahubSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*DatahubSession) SellSub

func (_Datahub *DatahubSession) SellSub(requestHash [32]byte, encryptedKeyLocation [32]byte) (*types.Transaction, error)

SellSub is a paid mutator transaction binding the contract method 0x3ca684e3.

Solidity: function sellSub(bytes32 requestHash, bytes32 encryptedKeyLocation) payable returns()

func (*DatahubSession) SetFee

func (_Datahub *DatahubSession) SetFee(newFee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0x69fe0e2d.

Solidity: function setFee(uint256 newFee) returns()

func (*DatahubSession) SetListingFee

func (_Datahub *DatahubSession) SetListingFee(newListingFee *big.Int) (*types.Transaction, error)

SetListingFee is a paid mutator transaction binding the contract method 0x131dbd09.

Solidity: function setListingFee(uint256 newListingFee) returns()

func (*DatahubSession) SetPortableAddress

func (_Datahub *DatahubSession) SetPortableAddress(addr common.Address) (*types.Transaction, error)

SetPortableAddress is a paid mutator transaction binding the contract method 0xc6d05aee.

Solidity: function setPortableAddress(address addr) returns()

func (*DatahubSession) SubscriptionIds

func (_Datahub *DatahubSession) SubscriptionIds(arg0 [32]byte) (*big.Int, error)

SubscriptionIds is a free data retrieval call binding the contract method 0x0e499994.

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

func (*DatahubSession) Subscriptions

func (_Datahub *DatahubSession) Subscriptions(arg0 *big.Int) (struct {
	SubHash           [32]byte
	FdpSellerNameHash [32]byte
	Seller            common.Address
	SwarmLocation     [32]byte
	Price             *big.Int
	Active            bool
	Earned            *big.Int
	Category          [32]byte
	Bids              *big.Int
	Sells             *big.Int
	Reports           *big.Int
	DaysValid         *big.Int
}, error)

Subscriptions is a free data retrieval call binding the contract method 0x2d5bbf60.

Solidity: function subscriptions(uint256 ) view returns(bytes32 subHash, bytes32 fdpSellerNameHash, address seller, bytes32 swarmLocation, uint256 price, bool active, uint256 earned, bytes32 category, uint256 bids, uint256 sells, uint256 reports, uint256 daysValid)

func (*DatahubSession) SupportsInterface

func (_Datahub *DatahubSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*DatahubSession) TransferOwnership

func (_Datahub *DatahubSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type DatahubTransactor

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

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

func NewDatahubTransactor

func NewDatahubTransactor(address common.Address, transactor bind.ContractTransactor) (*DatahubTransactor, error)

NewDatahubTransactor creates a new write-only instance of Datahub, bound to a specific deployed contract.

func (*DatahubTransactor) BidSub

func (_Datahub *DatahubTransactor) BidSub(opts *bind.TransactOpts, subHash [32]byte, fdpBuyerNameHash [32]byte) (*types.Transaction, error)

BidSub is a paid mutator transaction binding the contract method 0xe91dbcb0.

Solidity: function bidSub(bytes32 subHash, bytes32 fdpBuyerNameHash) payable returns()

func (*DatahubTransactor) EnableSub

func (_Datahub *DatahubTransactor) EnableSub(opts *bind.TransactOpts, subHash [32]byte, active bool) (*types.Transaction, error)

EnableSub is a paid mutator transaction binding the contract method 0x88ac2917.

Solidity: function enableSub(bytes32 subHash, bool active) returns()

func (*DatahubTransactor) FundsTransfer

func (_Datahub *DatahubTransactor) FundsTransfer(opts *bind.TransactOpts) (*types.Transaction, error)

FundsTransfer is a paid mutator transaction binding the contract method 0x567556a4.

Solidity: function fundsTransfer() payable returns()

func (*DatahubTransactor) GrantRole

func (_Datahub *DatahubTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*DatahubTransactor) ListSub

func (_Datahub *DatahubTransactor) ListSub(opts *bind.TransactOpts, fdpSellerNameHash [32]byte, dataSwarmLocation [32]byte, price *big.Int, category [32]byte, podAddress common.Address, daysValid *big.Int) (*types.Transaction, error)

ListSub is a paid mutator transaction binding the contract method 0x1f59388d.

Solidity: function listSub(bytes32 fdpSellerNameHash, bytes32 dataSwarmLocation, uint256 price, bytes32 category, address podAddress, uint256 daysValid) payable returns()

func (*DatahubTransactor) Receive

func (_Datahub *DatahubTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*DatahubTransactor) Release

func (_Datahub *DatahubTransactor) Release(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

Release is a paid mutator transaction binding the contract method 0x0357371d.

Solidity: function release(address token, uint256 amount) returns()

func (*DatahubTransactor) RemoveUserActiveBid

func (_Datahub *DatahubTransactor) RemoveUserActiveBid(opts *bind.TransactOpts, requestHash [32]byte) (*types.Transaction, error)

RemoveUserActiveBid is a paid mutator transaction binding the contract method 0x0260f912.

Solidity: function removeUserActiveBid(bytes32 requestHash) returns()

func (*DatahubTransactor) RenounceOwnership

func (_Datahub *DatahubTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DatahubTransactor) RenounceRole

func (_Datahub *DatahubTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*DatahubTransactor) ReportSub

func (_Datahub *DatahubTransactor) ReportSub(opts *bind.TransactOpts, subHash [32]byte) (*types.Transaction, error)

ReportSub is a paid mutator transaction binding the contract method 0xd76ac1d1.

Solidity: function reportSub(bytes32 subHash) returns()

func (*DatahubTransactor) RequestAgain added in v0.9.4

func (_Datahub *DatahubTransactor) RequestAgain(opts *bind.TransactOpts, requestHash [32]byte) (*types.Transaction, error)

RequestAgain is a paid mutator transaction binding the contract method 0x1a937f08.

Solidity: function requestAgain(bytes32 requestHash) payable returns()

func (*DatahubTransactor) RevokeRole

func (_Datahub *DatahubTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*DatahubTransactor) SellSub

func (_Datahub *DatahubTransactor) SellSub(opts *bind.TransactOpts, requestHash [32]byte, encryptedKeyLocation [32]byte) (*types.Transaction, error)

SellSub is a paid mutator transaction binding the contract method 0x3ca684e3.

Solidity: function sellSub(bytes32 requestHash, bytes32 encryptedKeyLocation) payable returns()

func (*DatahubTransactor) SetFee

func (_Datahub *DatahubTransactor) SetFee(opts *bind.TransactOpts, newFee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0x69fe0e2d.

Solidity: function setFee(uint256 newFee) returns()

func (*DatahubTransactor) SetListingFee

func (_Datahub *DatahubTransactor) SetListingFee(opts *bind.TransactOpts, newListingFee *big.Int) (*types.Transaction, error)

SetListingFee is a paid mutator transaction binding the contract method 0x131dbd09.

Solidity: function setListingFee(uint256 newListingFee) returns()

func (*DatahubTransactor) SetPortableAddress

func (_Datahub *DatahubTransactor) SetPortableAddress(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

SetPortableAddress is a paid mutator transaction binding the contract method 0xc6d05aee.

Solidity: function setPortableAddress(address addr) returns()

func (*DatahubTransactor) TransferOwnership

func (_Datahub *DatahubTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type DatahubTransactorRaw

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

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

func (*DatahubTransactorRaw) Transact

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

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

func (*DatahubTransactorRaw) Transfer

func (_Datahub *DatahubTransactorRaw) 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 DatahubTransactorSession

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

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

func (*DatahubTransactorSession) BidSub

func (_Datahub *DatahubTransactorSession) BidSub(subHash [32]byte, fdpBuyerNameHash [32]byte) (*types.Transaction, error)

BidSub is a paid mutator transaction binding the contract method 0xe91dbcb0.

Solidity: function bidSub(bytes32 subHash, bytes32 fdpBuyerNameHash) payable returns()

func (*DatahubTransactorSession) EnableSub

func (_Datahub *DatahubTransactorSession) EnableSub(subHash [32]byte, active bool) (*types.Transaction, error)

EnableSub is a paid mutator transaction binding the contract method 0x88ac2917.

Solidity: function enableSub(bytes32 subHash, bool active) returns()

func (*DatahubTransactorSession) FundsTransfer

func (_Datahub *DatahubTransactorSession) FundsTransfer() (*types.Transaction, error)

FundsTransfer is a paid mutator transaction binding the contract method 0x567556a4.

Solidity: function fundsTransfer() payable returns()

func (*DatahubTransactorSession) GrantRole

func (_Datahub *DatahubTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*DatahubTransactorSession) ListSub

func (_Datahub *DatahubTransactorSession) ListSub(fdpSellerNameHash [32]byte, dataSwarmLocation [32]byte, price *big.Int, category [32]byte, podAddress common.Address, daysValid *big.Int) (*types.Transaction, error)

ListSub is a paid mutator transaction binding the contract method 0x1f59388d.

Solidity: function listSub(bytes32 fdpSellerNameHash, bytes32 dataSwarmLocation, uint256 price, bytes32 category, address podAddress, uint256 daysValid) payable returns()

func (*DatahubTransactorSession) Receive

func (_Datahub *DatahubTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*DatahubTransactorSession) Release

func (_Datahub *DatahubTransactorSession) Release(token common.Address, amount *big.Int) (*types.Transaction, error)

Release is a paid mutator transaction binding the contract method 0x0357371d.

Solidity: function release(address token, uint256 amount) returns()

func (*DatahubTransactorSession) RemoveUserActiveBid

func (_Datahub *DatahubTransactorSession) RemoveUserActiveBid(requestHash [32]byte) (*types.Transaction, error)

RemoveUserActiveBid is a paid mutator transaction binding the contract method 0x0260f912.

Solidity: function removeUserActiveBid(bytes32 requestHash) returns()

func (*DatahubTransactorSession) RenounceOwnership

func (_Datahub *DatahubTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DatahubTransactorSession) RenounceRole

func (_Datahub *DatahubTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*DatahubTransactorSession) ReportSub

func (_Datahub *DatahubTransactorSession) ReportSub(subHash [32]byte) (*types.Transaction, error)

ReportSub is a paid mutator transaction binding the contract method 0xd76ac1d1.

Solidity: function reportSub(bytes32 subHash) returns()

func (*DatahubTransactorSession) RequestAgain added in v0.9.4

func (_Datahub *DatahubTransactorSession) RequestAgain(requestHash [32]byte) (*types.Transaction, error)

RequestAgain is a paid mutator transaction binding the contract method 0x1a937f08.

Solidity: function requestAgain(bytes32 requestHash) payable returns()

func (*DatahubTransactorSession) RevokeRole

func (_Datahub *DatahubTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*DatahubTransactorSession) SellSub

func (_Datahub *DatahubTransactorSession) SellSub(requestHash [32]byte, encryptedKeyLocation [32]byte) (*types.Transaction, error)

SellSub is a paid mutator transaction binding the contract method 0x3ca684e3.

Solidity: function sellSub(bytes32 requestHash, bytes32 encryptedKeyLocation) payable returns()

func (*DatahubTransactorSession) SetFee

func (_Datahub *DatahubTransactorSession) SetFee(newFee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0x69fe0e2d.

Solidity: function setFee(uint256 newFee) returns()

func (*DatahubTransactorSession) SetListingFee

func (_Datahub *DatahubTransactorSession) SetListingFee(newListingFee *big.Int) (*types.Transaction, error)

SetListingFee is a paid mutator transaction binding the contract method 0x131dbd09.

Solidity: function setListingFee(uint256 newListingFee) returns()

func (*DatahubTransactorSession) SetPortableAddress

func (_Datahub *DatahubTransactorSession) SetPortableAddress(addr common.Address) (*types.Transaction, error)

SetPortableAddress is a paid mutator transaction binding the contract method 0xc6d05aee.

Solidity: function setPortableAddress(address addr) returns()

func (*DatahubTransactorSession) TransferOwnership

func (_Datahub *DatahubTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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