providerregistry

package
v0.0.0-...-2515fb6 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderRegistryABI = ProviderRegistryMetaData.ABI

ProviderRegistryABI is the input ABI used to generate the binding from. Deprecated: Use ProviderRegistryMetaData.ABI instead.

View Source
var ProviderRegistryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"InsufficientRightsForOperation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProviderHasActiveBids\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProviderHasAlreadyDeregistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProviderNoStake\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProviderNotDeregistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProviderNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProviderNothingToWithdraw\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmount\",\"type\":\"uint256\"}],\"name\":\"ProviderStakeTooLow\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"storageSlot\",\"type\":\"bytes32\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"}],\"name\":\"ProviderDeregistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"providerMinimumStake\",\"type\":\"uint256\"}],\"name\":\"ProviderMinimumStakeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"}],\"name\":\"ProviderRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ProviderWithdrawn\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BIDS_STORAGE_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELEGATION_RULES_MARKETPLACE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELEGATION_RULES_MODEL\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELEGATION_RULES_PROVIDER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELEGATION_RULES_SESSION\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELEGATION_STORAGE_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DIAMOND_OWNABLE_STORAGE_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PROVIDERS_STORAGE_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__ProviderRegistry_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offset_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"limit_\",\"type\":\"uint256\"}],\"name\":\"getActiveProviders\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"bidId_\",\"type\":\"bytes32\"}],\"name\":\"getBid\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"modelId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"pricePerSecond\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"createdAt\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"deletedAt\",\"type\":\"uint128\"}],\"internalType\":\"structIBidStorage.Bid\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"provider_\",\"type\":\"address\"}],\"name\":\"getIsProviderActive\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"modelId_\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"offset_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"limit_\",\"type\":\"uint256\"}],\"name\":\"getModelActiveBids\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"modelId_\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"offset_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"limit_\",\"type\":\"uint256\"}],\"name\":\"getModelBids\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"provider_\",\"type\":\"address\"}],\"name\":\"getProvider\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"endpoint\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"createdAt\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"limitPeriodEnd\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"limitPeriodEarned\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isDeleted\",\"type\":\"bool\"}],\"internalType\":\"structIProviderStorage.Provider\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"provider_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"offset_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"limit_\",\"type\":\"uint256\"}],\"name\":\"getProviderActiveBids\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"provider_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"offset_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"limit_\",\"type\":\"uint256\"}],\"name\":\"getProviderBids\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProviderMinimumStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"bidId_\",\"type\":\"bytes32\"}],\"name\":\"isBidActive\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegator_\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"rights_\",\"type\":\"bytes32\"}],\"name\":\"isRightsDelegated\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"provider_\",\"type\":\"address\"}],\"name\":\"providerDeregister\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"provider_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"endpoint_\",\"type\":\"string\"}],\"name\":\"providerRegister\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"providerMinimumStake_\",\"type\":\"uint256\"}],\"name\":\"providerSetMinStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ProviderRegistryMetaData contains all meta data concerning the ProviderRegistry contract.

Functions

This section is empty.

Types

type IBidStorageBid

type IBidStorageBid struct {
	Provider       common.Address
	ModelId        [32]byte
	PricePerSecond *big.Int
	Nonce          *big.Int
	CreatedAt      *big.Int
	DeletedAt      *big.Int
}

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

type IProviderStorageProvider

type IProviderStorageProvider struct {
	Endpoint          string
	Stake             *big.Int
	CreatedAt         *big.Int
	LimitPeriodEnd    *big.Int
	LimitPeriodEarned *big.Int
	IsDeleted         bool
}

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

type ProviderRegistry

type ProviderRegistry struct {
	ProviderRegistryCaller     // Read-only binding to the contract
	ProviderRegistryTransactor // Write-only binding to the contract
	ProviderRegistryFilterer   // Log filterer for contract events
}

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

func NewProviderRegistry

func NewProviderRegistry(address common.Address, backend bind.ContractBackend) (*ProviderRegistry, error)

NewProviderRegistry creates a new instance of ProviderRegistry, bound to a specific deployed contract.

type ProviderRegistryCaller

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

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

func NewProviderRegistryCaller

func NewProviderRegistryCaller(address common.Address, caller bind.ContractCaller) (*ProviderRegistryCaller, error)

NewProviderRegistryCaller creates a new read-only instance of ProviderRegistry, bound to a specific deployed contract.

func (*ProviderRegistryCaller) BIDSSTORAGESLOT

func (_ProviderRegistry *ProviderRegistryCaller) BIDSSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)

BIDSSTORAGESLOT is a free data retrieval call binding the contract method 0x266ccff0.

Solidity: function BIDS_STORAGE_SLOT() view returns(bytes32)

func (*ProviderRegistryCaller) DELEGATIONRULESMARKETPLACE

func (_ProviderRegistry *ProviderRegistryCaller) DELEGATIONRULESMARKETPLACE(opts *bind.CallOpts) ([32]byte, error)

DELEGATIONRULESMARKETPLACE is a free data retrieval call binding the contract method 0xad34a150.

Solidity: function DELEGATION_RULES_MARKETPLACE() view returns(bytes32)

func (*ProviderRegistryCaller) DELEGATIONRULESMODEL

func (_ProviderRegistry *ProviderRegistryCaller) DELEGATIONRULESMODEL(opts *bind.CallOpts) ([32]byte, error)

DELEGATIONRULESMODEL is a free data retrieval call binding the contract method 0x86878047.

Solidity: function DELEGATION_RULES_MODEL() view returns(bytes32)

func (*ProviderRegistryCaller) DELEGATIONRULESPROVIDER

func (_ProviderRegistry *ProviderRegistryCaller) DELEGATIONRULESPROVIDER(opts *bind.CallOpts) ([32]byte, error)

DELEGATIONRULESPROVIDER is a free data retrieval call binding the contract method 0x58aeef93.

Solidity: function DELEGATION_RULES_PROVIDER() view returns(bytes32)

func (*ProviderRegistryCaller) DELEGATIONRULESSESSION

func (_ProviderRegistry *ProviderRegistryCaller) DELEGATIONRULESSESSION(opts *bind.CallOpts) ([32]byte, error)

DELEGATIONRULESSESSION is a free data retrieval call binding the contract method 0xd1b43638.

Solidity: function DELEGATION_RULES_SESSION() view returns(bytes32)

func (*ProviderRegistryCaller) DELEGATIONSTORAGESLOT

func (_ProviderRegistry *ProviderRegistryCaller) DELEGATIONSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)

DELEGATIONSTORAGESLOT is a free data retrieval call binding the contract method 0xdd9b48cb.

Solidity: function DELEGATION_STORAGE_SLOT() view returns(bytes32)

func (*ProviderRegistryCaller) DIAMONDOWNABLESTORAGESLOT

func (_ProviderRegistry *ProviderRegistryCaller) DIAMONDOWNABLESTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)

DIAMONDOWNABLESTORAGESLOT is a free data retrieval call binding the contract method 0x4ac3371e.

Solidity: function DIAMOND_OWNABLE_STORAGE_SLOT() view returns(bytes32)

func (*ProviderRegistryCaller) GetActiveProviders

func (_ProviderRegistry *ProviderRegistryCaller) GetActiveProviders(opts *bind.CallOpts, offset_ *big.Int, limit_ *big.Int) ([]common.Address, *big.Int, error)

GetActiveProviders is a free data retrieval call binding the contract method 0xd5472642.

Solidity: function getActiveProviders(uint256 offset_, uint256 limit_) view returns(address[], uint256)

func (*ProviderRegistryCaller) GetBid

func (_ProviderRegistry *ProviderRegistryCaller) GetBid(opts *bind.CallOpts, bidId_ [32]byte) (IBidStorageBid, error)

GetBid is a free data retrieval call binding the contract method 0x91704e1e.

Solidity: function getBid(bytes32 bidId_) view returns((address,bytes32,uint256,uint256,uint128,uint128))

func (*ProviderRegistryCaller) GetIsProviderActive

func (_ProviderRegistry *ProviderRegistryCaller) GetIsProviderActive(opts *bind.CallOpts, provider_ common.Address) (bool, error)

GetIsProviderActive is a free data retrieval call binding the contract method 0x63ef175d.

Solidity: function getIsProviderActive(address provider_) view returns(bool)

func (*ProviderRegistryCaller) GetModelActiveBids

func (_ProviderRegistry *ProviderRegistryCaller) GetModelActiveBids(opts *bind.CallOpts, modelId_ [32]byte, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetModelActiveBids is a free data retrieval call binding the contract method 0x8a683b6e.

Solidity: function getModelActiveBids(bytes32 modelId_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistryCaller) GetModelBids

func (_ProviderRegistry *ProviderRegistryCaller) GetModelBids(opts *bind.CallOpts, modelId_ [32]byte, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetModelBids is a free data retrieval call binding the contract method 0xfade17b1.

Solidity: function getModelBids(bytes32 modelId_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistryCaller) GetProvider

func (_ProviderRegistry *ProviderRegistryCaller) GetProvider(opts *bind.CallOpts, provider_ common.Address) (IProviderStorageProvider, error)

GetProvider is a free data retrieval call binding the contract method 0x55f21eb7.

Solidity: function getProvider(address provider_) view returns((string,uint256,uint128,uint128,uint256,bool))

func (*ProviderRegistryCaller) GetProviderActiveBids

func (_ProviderRegistry *ProviderRegistryCaller) GetProviderActiveBids(opts *bind.CallOpts, provider_ common.Address, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetProviderActiveBids is a free data retrieval call binding the contract method 0xaf5b77ca.

Solidity: function getProviderActiveBids(address provider_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistryCaller) GetProviderBids

func (_ProviderRegistry *ProviderRegistryCaller) GetProviderBids(opts *bind.CallOpts, provider_ common.Address, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetProviderBids is a free data retrieval call binding the contract method 0x59d435c4.

Solidity: function getProviderBids(address provider_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistryCaller) GetProviderMinimumStake

func (_ProviderRegistry *ProviderRegistryCaller) GetProviderMinimumStake(opts *bind.CallOpts) (*big.Int, error)

GetProviderMinimumStake is a free data retrieval call binding the contract method 0x53c029f6.

Solidity: function getProviderMinimumStake() view returns(uint256)

func (*ProviderRegistryCaller) GetRegistry

func (_ProviderRegistry *ProviderRegistryCaller) GetRegistry(opts *bind.CallOpts) (common.Address, error)

GetRegistry is a free data retrieval call binding the contract method 0x5ab1bd53.

Solidity: function getRegistry() view returns(address)

func (*ProviderRegistryCaller) GetToken

func (_ProviderRegistry *ProviderRegistryCaller) GetToken(opts *bind.CallOpts) (common.Address, error)

GetToken is a free data retrieval call binding the contract method 0x21df0da7.

Solidity: function getToken() view returns(address)

func (*ProviderRegistryCaller) IsBidActive

func (_ProviderRegistry *ProviderRegistryCaller) IsBidActive(opts *bind.CallOpts, bidId_ [32]byte) (bool, error)

IsBidActive is a free data retrieval call binding the contract method 0x1345df58.

Solidity: function isBidActive(bytes32 bidId_) view returns(bool)

func (*ProviderRegistryCaller) IsRightsDelegated

func (_ProviderRegistry *ProviderRegistryCaller) IsRightsDelegated(opts *bind.CallOpts, delegatee_ common.Address, delegator_ common.Address, rights_ [32]byte) (bool, error)

IsRightsDelegated is a free data retrieval call binding the contract method 0x54126b8f.

Solidity: function isRightsDelegated(address delegatee_, address delegator_, bytes32 rights_) view returns(bool)

func (*ProviderRegistryCaller) Owner

func (_ProviderRegistry *ProviderRegistryCaller) 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 (*ProviderRegistryCaller) PROVIDERSSTORAGESLOT

func (_ProviderRegistry *ProviderRegistryCaller) PROVIDERSSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)

PROVIDERSSTORAGESLOT is a free data retrieval call binding the contract method 0xc51830f6.

Solidity: function PROVIDERS_STORAGE_SLOT() view returns(bytes32)

type ProviderRegistryCallerRaw

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

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

func (*ProviderRegistryCallerRaw) Call

func (_ProviderRegistry *ProviderRegistryCallerRaw) 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 ProviderRegistryCallerSession

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

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

func (*ProviderRegistryCallerSession) BIDSSTORAGESLOT

func (_ProviderRegistry *ProviderRegistryCallerSession) BIDSSTORAGESLOT() ([32]byte, error)

BIDSSTORAGESLOT is a free data retrieval call binding the contract method 0x266ccff0.

Solidity: function BIDS_STORAGE_SLOT() view returns(bytes32)

func (*ProviderRegistryCallerSession) DELEGATIONRULESMARKETPLACE

func (_ProviderRegistry *ProviderRegistryCallerSession) DELEGATIONRULESMARKETPLACE() ([32]byte, error)

DELEGATIONRULESMARKETPLACE is a free data retrieval call binding the contract method 0xad34a150.

Solidity: function DELEGATION_RULES_MARKETPLACE() view returns(bytes32)

func (*ProviderRegistryCallerSession) DELEGATIONRULESMODEL

func (_ProviderRegistry *ProviderRegistryCallerSession) DELEGATIONRULESMODEL() ([32]byte, error)

DELEGATIONRULESMODEL is a free data retrieval call binding the contract method 0x86878047.

Solidity: function DELEGATION_RULES_MODEL() view returns(bytes32)

func (*ProviderRegistryCallerSession) DELEGATIONRULESPROVIDER

func (_ProviderRegistry *ProviderRegistryCallerSession) DELEGATIONRULESPROVIDER() ([32]byte, error)

DELEGATIONRULESPROVIDER is a free data retrieval call binding the contract method 0x58aeef93.

Solidity: function DELEGATION_RULES_PROVIDER() view returns(bytes32)

func (*ProviderRegistryCallerSession) DELEGATIONRULESSESSION

func (_ProviderRegistry *ProviderRegistryCallerSession) DELEGATIONRULESSESSION() ([32]byte, error)

DELEGATIONRULESSESSION is a free data retrieval call binding the contract method 0xd1b43638.

Solidity: function DELEGATION_RULES_SESSION() view returns(bytes32)

func (*ProviderRegistryCallerSession) DELEGATIONSTORAGESLOT

func (_ProviderRegistry *ProviderRegistryCallerSession) DELEGATIONSTORAGESLOT() ([32]byte, error)

DELEGATIONSTORAGESLOT is a free data retrieval call binding the contract method 0xdd9b48cb.

Solidity: function DELEGATION_STORAGE_SLOT() view returns(bytes32)

func (*ProviderRegistryCallerSession) DIAMONDOWNABLESTORAGESLOT

func (_ProviderRegistry *ProviderRegistryCallerSession) DIAMONDOWNABLESTORAGESLOT() ([32]byte, error)

DIAMONDOWNABLESTORAGESLOT is a free data retrieval call binding the contract method 0x4ac3371e.

Solidity: function DIAMOND_OWNABLE_STORAGE_SLOT() view returns(bytes32)

func (*ProviderRegistryCallerSession) GetActiveProviders

func (_ProviderRegistry *ProviderRegistryCallerSession) GetActiveProviders(offset_ *big.Int, limit_ *big.Int) ([]common.Address, *big.Int, error)

GetActiveProviders is a free data retrieval call binding the contract method 0xd5472642.

Solidity: function getActiveProviders(uint256 offset_, uint256 limit_) view returns(address[], uint256)

func (*ProviderRegistryCallerSession) GetBid

func (_ProviderRegistry *ProviderRegistryCallerSession) GetBid(bidId_ [32]byte) (IBidStorageBid, error)

GetBid is a free data retrieval call binding the contract method 0x91704e1e.

Solidity: function getBid(bytes32 bidId_) view returns((address,bytes32,uint256,uint256,uint128,uint128))

func (*ProviderRegistryCallerSession) GetIsProviderActive

func (_ProviderRegistry *ProviderRegistryCallerSession) GetIsProviderActive(provider_ common.Address) (bool, error)

GetIsProviderActive is a free data retrieval call binding the contract method 0x63ef175d.

Solidity: function getIsProviderActive(address provider_) view returns(bool)

func (*ProviderRegistryCallerSession) GetModelActiveBids

func (_ProviderRegistry *ProviderRegistryCallerSession) GetModelActiveBids(modelId_ [32]byte, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetModelActiveBids is a free data retrieval call binding the contract method 0x8a683b6e.

Solidity: function getModelActiveBids(bytes32 modelId_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistryCallerSession) GetModelBids

func (_ProviderRegistry *ProviderRegistryCallerSession) GetModelBids(modelId_ [32]byte, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetModelBids is a free data retrieval call binding the contract method 0xfade17b1.

Solidity: function getModelBids(bytes32 modelId_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistryCallerSession) GetProvider

func (_ProviderRegistry *ProviderRegistryCallerSession) GetProvider(provider_ common.Address) (IProviderStorageProvider, error)

GetProvider is a free data retrieval call binding the contract method 0x55f21eb7.

Solidity: function getProvider(address provider_) view returns((string,uint256,uint128,uint128,uint256,bool))

func (*ProviderRegistryCallerSession) GetProviderActiveBids

func (_ProviderRegistry *ProviderRegistryCallerSession) GetProviderActiveBids(provider_ common.Address, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetProviderActiveBids is a free data retrieval call binding the contract method 0xaf5b77ca.

Solidity: function getProviderActiveBids(address provider_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistryCallerSession) GetProviderBids

func (_ProviderRegistry *ProviderRegistryCallerSession) GetProviderBids(provider_ common.Address, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetProviderBids is a free data retrieval call binding the contract method 0x59d435c4.

Solidity: function getProviderBids(address provider_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistryCallerSession) GetProviderMinimumStake

func (_ProviderRegistry *ProviderRegistryCallerSession) GetProviderMinimumStake() (*big.Int, error)

GetProviderMinimumStake is a free data retrieval call binding the contract method 0x53c029f6.

Solidity: function getProviderMinimumStake() view returns(uint256)

func (*ProviderRegistryCallerSession) GetRegistry

func (_ProviderRegistry *ProviderRegistryCallerSession) GetRegistry() (common.Address, error)

GetRegistry is a free data retrieval call binding the contract method 0x5ab1bd53.

Solidity: function getRegistry() view returns(address)

func (*ProviderRegistryCallerSession) GetToken

func (_ProviderRegistry *ProviderRegistryCallerSession) GetToken() (common.Address, error)

GetToken is a free data retrieval call binding the contract method 0x21df0da7.

Solidity: function getToken() view returns(address)

func (*ProviderRegistryCallerSession) IsBidActive

func (_ProviderRegistry *ProviderRegistryCallerSession) IsBidActive(bidId_ [32]byte) (bool, error)

IsBidActive is a free data retrieval call binding the contract method 0x1345df58.

Solidity: function isBidActive(bytes32 bidId_) view returns(bool)

func (*ProviderRegistryCallerSession) IsRightsDelegated

func (_ProviderRegistry *ProviderRegistryCallerSession) IsRightsDelegated(delegatee_ common.Address, delegator_ common.Address, rights_ [32]byte) (bool, error)

IsRightsDelegated is a free data retrieval call binding the contract method 0x54126b8f.

Solidity: function isRightsDelegated(address delegatee_, address delegator_, bytes32 rights_) view returns(bool)

func (*ProviderRegistryCallerSession) Owner

func (_ProviderRegistry *ProviderRegistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ProviderRegistryCallerSession) PROVIDERSSTORAGESLOT

func (_ProviderRegistry *ProviderRegistryCallerSession) PROVIDERSSTORAGESLOT() ([32]byte, error)

PROVIDERSSTORAGESLOT is a free data retrieval call binding the contract method 0xc51830f6.

Solidity: function PROVIDERS_STORAGE_SLOT() view returns(bytes32)

type ProviderRegistryFilterer

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

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

func NewProviderRegistryFilterer

func NewProviderRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ProviderRegistryFilterer, error)

NewProviderRegistryFilterer creates a new log filterer instance of ProviderRegistry, bound to a specific deployed contract.

func (*ProviderRegistryFilterer) FilterInitialized

func (_ProviderRegistry *ProviderRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProviderRegistryInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0xdc73717d728bcfa015e8117438a65319aa06e979ca324afa6e1ea645c28ea15d.

Solidity: event Initialized(bytes32 storageSlot)

func (*ProviderRegistryFilterer) FilterProviderDeregistered

func (_ProviderRegistry *ProviderRegistryFilterer) FilterProviderDeregistered(opts *bind.FilterOpts, provider []common.Address) (*ProviderRegistryProviderDeregisteredIterator, error)

FilterProviderDeregistered is a free log retrieval operation binding the contract event 0xf04091b4a187e321a42001e46961e45b6a75b203fc6fb766b7e05505f6080abb.

Solidity: event ProviderDeregistered(address indexed provider)

func (*ProviderRegistryFilterer) FilterProviderMinimumStakeUpdated

func (_ProviderRegistry *ProviderRegistryFilterer) FilterProviderMinimumStakeUpdated(opts *bind.FilterOpts) (*ProviderRegistryProviderMinimumStakeUpdatedIterator, error)

FilterProviderMinimumStakeUpdated is a free log retrieval operation binding the contract event 0x4d6b08cda70533f8222fea5ffc794d3a1f5dcde2620c6fa74789ef647db19450.

Solidity: event ProviderMinimumStakeUpdated(uint256 providerMinimumStake)

func (*ProviderRegistryFilterer) FilterProviderRegistered

func (_ProviderRegistry *ProviderRegistryFilterer) FilterProviderRegistered(opts *bind.FilterOpts, provider []common.Address) (*ProviderRegistryProviderRegisteredIterator, error)

FilterProviderRegistered is a free log retrieval operation binding the contract event 0x70abce74777b3838ae60a33a6b9a87d9d25532668fe4fea548554c55868579c0.

Solidity: event ProviderRegistered(address indexed provider)

func (*ProviderRegistryFilterer) FilterProviderWithdrawn

func (_ProviderRegistry *ProviderRegistryFilterer) FilterProviderWithdrawn(opts *bind.FilterOpts, provider []common.Address) (*ProviderRegistryProviderWithdrawnIterator, error)

FilterProviderWithdrawn is a free log retrieval operation binding the contract event 0x61388fbc2ba003175d3018b8f13b002234cc4e203a332a4a6dadb96bc82c3db2.

Solidity: event ProviderWithdrawn(address indexed provider, uint256 amount)

func (*ProviderRegistryFilterer) ParseInitialized

func (_ProviderRegistry *ProviderRegistryFilterer) ParseInitialized(log types.Log) (*ProviderRegistryInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0xdc73717d728bcfa015e8117438a65319aa06e979ca324afa6e1ea645c28ea15d.

Solidity: event Initialized(bytes32 storageSlot)

func (*ProviderRegistryFilterer) ParseProviderDeregistered

func (_ProviderRegistry *ProviderRegistryFilterer) ParseProviderDeregistered(log types.Log) (*ProviderRegistryProviderDeregistered, error)

ParseProviderDeregistered is a log parse operation binding the contract event 0xf04091b4a187e321a42001e46961e45b6a75b203fc6fb766b7e05505f6080abb.

Solidity: event ProviderDeregistered(address indexed provider)

func (*ProviderRegistryFilterer) ParseProviderMinimumStakeUpdated

func (_ProviderRegistry *ProviderRegistryFilterer) ParseProviderMinimumStakeUpdated(log types.Log) (*ProviderRegistryProviderMinimumStakeUpdated, error)

ParseProviderMinimumStakeUpdated is a log parse operation binding the contract event 0x4d6b08cda70533f8222fea5ffc794d3a1f5dcde2620c6fa74789ef647db19450.

Solidity: event ProviderMinimumStakeUpdated(uint256 providerMinimumStake)

func (*ProviderRegistryFilterer) ParseProviderRegistered

func (_ProviderRegistry *ProviderRegistryFilterer) ParseProviderRegistered(log types.Log) (*ProviderRegistryProviderRegistered, error)

ParseProviderRegistered is a log parse operation binding the contract event 0x70abce74777b3838ae60a33a6b9a87d9d25532668fe4fea548554c55868579c0.

Solidity: event ProviderRegistered(address indexed provider)

func (*ProviderRegistryFilterer) ParseProviderWithdrawn

func (_ProviderRegistry *ProviderRegistryFilterer) ParseProviderWithdrawn(log types.Log) (*ProviderRegistryProviderWithdrawn, error)

ParseProviderWithdrawn is a log parse operation binding the contract event 0x61388fbc2ba003175d3018b8f13b002234cc4e203a332a4a6dadb96bc82c3db2.

Solidity: event ProviderWithdrawn(address indexed provider, uint256 amount)

func (*ProviderRegistryFilterer) WatchInitialized

func (_ProviderRegistry *ProviderRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProviderRegistryInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0xdc73717d728bcfa015e8117438a65319aa06e979ca324afa6e1ea645c28ea15d.

Solidity: event Initialized(bytes32 storageSlot)

func (*ProviderRegistryFilterer) WatchProviderDeregistered

func (_ProviderRegistry *ProviderRegistryFilterer) WatchProviderDeregistered(opts *bind.WatchOpts, sink chan<- *ProviderRegistryProviderDeregistered, provider []common.Address) (event.Subscription, error)

WatchProviderDeregistered is a free log subscription operation binding the contract event 0xf04091b4a187e321a42001e46961e45b6a75b203fc6fb766b7e05505f6080abb.

Solidity: event ProviderDeregistered(address indexed provider)

func (*ProviderRegistryFilterer) WatchProviderMinimumStakeUpdated

func (_ProviderRegistry *ProviderRegistryFilterer) WatchProviderMinimumStakeUpdated(opts *bind.WatchOpts, sink chan<- *ProviderRegistryProviderMinimumStakeUpdated) (event.Subscription, error)

WatchProviderMinimumStakeUpdated is a free log subscription operation binding the contract event 0x4d6b08cda70533f8222fea5ffc794d3a1f5dcde2620c6fa74789ef647db19450.

Solidity: event ProviderMinimumStakeUpdated(uint256 providerMinimumStake)

func (*ProviderRegistryFilterer) WatchProviderRegistered

func (_ProviderRegistry *ProviderRegistryFilterer) WatchProviderRegistered(opts *bind.WatchOpts, sink chan<- *ProviderRegistryProviderRegistered, provider []common.Address) (event.Subscription, error)

WatchProviderRegistered is a free log subscription operation binding the contract event 0x70abce74777b3838ae60a33a6b9a87d9d25532668fe4fea548554c55868579c0.

Solidity: event ProviderRegistered(address indexed provider)

func (*ProviderRegistryFilterer) WatchProviderWithdrawn

func (_ProviderRegistry *ProviderRegistryFilterer) WatchProviderWithdrawn(opts *bind.WatchOpts, sink chan<- *ProviderRegistryProviderWithdrawn, provider []common.Address) (event.Subscription, error)

WatchProviderWithdrawn is a free log subscription operation binding the contract event 0x61388fbc2ba003175d3018b8f13b002234cc4e203a332a4a6dadb96bc82c3db2.

Solidity: event ProviderWithdrawn(address indexed provider, uint256 amount)

type ProviderRegistryInitialized

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

ProviderRegistryInitialized represents a Initialized event raised by the ProviderRegistry contract.

type ProviderRegistryInitializedIterator

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

ProviderRegistryInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ProviderRegistry contract.

func (*ProviderRegistryInitializedIterator) Close

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

func (*ProviderRegistryInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProviderRegistryInitializedIterator) 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 ProviderRegistryProviderDeregistered

type ProviderRegistryProviderDeregistered struct {
	Provider common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

ProviderRegistryProviderDeregistered represents a ProviderDeregistered event raised by the ProviderRegistry contract.

type ProviderRegistryProviderDeregisteredIterator

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

ProviderRegistryProviderDeregisteredIterator is returned from FilterProviderDeregistered and is used to iterate over the raw logs and unpacked data for ProviderDeregistered events raised by the ProviderRegistry contract.

func (*ProviderRegistryProviderDeregisteredIterator) Close

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

func (*ProviderRegistryProviderDeregisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProviderRegistryProviderDeregisteredIterator) 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 ProviderRegistryProviderMinimumStakeUpdated

type ProviderRegistryProviderMinimumStakeUpdated struct {
	ProviderMinimumStake *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

ProviderRegistryProviderMinimumStakeUpdated represents a ProviderMinimumStakeUpdated event raised by the ProviderRegistry contract.

type ProviderRegistryProviderMinimumStakeUpdatedIterator

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

ProviderRegistryProviderMinimumStakeUpdatedIterator is returned from FilterProviderMinimumStakeUpdated and is used to iterate over the raw logs and unpacked data for ProviderMinimumStakeUpdated events raised by the ProviderRegistry contract.

func (*ProviderRegistryProviderMinimumStakeUpdatedIterator) Close

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

func (*ProviderRegistryProviderMinimumStakeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProviderRegistryProviderMinimumStakeUpdatedIterator) 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 ProviderRegistryProviderRegistered

type ProviderRegistryProviderRegistered struct {
	Provider common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

ProviderRegistryProviderRegistered represents a ProviderRegistered event raised by the ProviderRegistry contract.

type ProviderRegistryProviderRegisteredIterator

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

ProviderRegistryProviderRegisteredIterator is returned from FilterProviderRegistered and is used to iterate over the raw logs and unpacked data for ProviderRegistered events raised by the ProviderRegistry contract.

func (*ProviderRegistryProviderRegisteredIterator) Close

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

func (*ProviderRegistryProviderRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProviderRegistryProviderRegisteredIterator) 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 ProviderRegistryProviderWithdrawn

type ProviderRegistryProviderWithdrawn struct {
	Provider common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ProviderRegistryProviderWithdrawn represents a ProviderWithdrawn event raised by the ProviderRegistry contract.

type ProviderRegistryProviderWithdrawnIterator

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

ProviderRegistryProviderWithdrawnIterator is returned from FilterProviderWithdrawn and is used to iterate over the raw logs and unpacked data for ProviderWithdrawn events raised by the ProviderRegistry contract.

func (*ProviderRegistryProviderWithdrawnIterator) Close

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

func (*ProviderRegistryProviderWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProviderRegistryProviderWithdrawnIterator) 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 ProviderRegistryRaw

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

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

func (*ProviderRegistryRaw) Call

func (_ProviderRegistry *ProviderRegistryRaw) 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 (*ProviderRegistryRaw) Transact

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

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

func (*ProviderRegistryRaw) Transfer

func (_ProviderRegistry *ProviderRegistryRaw) 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 ProviderRegistrySession

type ProviderRegistrySession struct {
	Contract     *ProviderRegistry // 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
}

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

func (*ProviderRegistrySession) BIDSSTORAGESLOT

func (_ProviderRegistry *ProviderRegistrySession) BIDSSTORAGESLOT() ([32]byte, error)

BIDSSTORAGESLOT is a free data retrieval call binding the contract method 0x266ccff0.

Solidity: function BIDS_STORAGE_SLOT() view returns(bytes32)

func (*ProviderRegistrySession) DELEGATIONRULESMARKETPLACE

func (_ProviderRegistry *ProviderRegistrySession) DELEGATIONRULESMARKETPLACE() ([32]byte, error)

DELEGATIONRULESMARKETPLACE is a free data retrieval call binding the contract method 0xad34a150.

Solidity: function DELEGATION_RULES_MARKETPLACE() view returns(bytes32)

func (*ProviderRegistrySession) DELEGATIONRULESMODEL

func (_ProviderRegistry *ProviderRegistrySession) DELEGATIONRULESMODEL() ([32]byte, error)

DELEGATIONRULESMODEL is a free data retrieval call binding the contract method 0x86878047.

Solidity: function DELEGATION_RULES_MODEL() view returns(bytes32)

func (*ProviderRegistrySession) DELEGATIONRULESPROVIDER

func (_ProviderRegistry *ProviderRegistrySession) DELEGATIONRULESPROVIDER() ([32]byte, error)

DELEGATIONRULESPROVIDER is a free data retrieval call binding the contract method 0x58aeef93.

Solidity: function DELEGATION_RULES_PROVIDER() view returns(bytes32)

func (*ProviderRegistrySession) DELEGATIONRULESSESSION

func (_ProviderRegistry *ProviderRegistrySession) DELEGATIONRULESSESSION() ([32]byte, error)

DELEGATIONRULESSESSION is a free data retrieval call binding the contract method 0xd1b43638.

Solidity: function DELEGATION_RULES_SESSION() view returns(bytes32)

func (*ProviderRegistrySession) DELEGATIONSTORAGESLOT

func (_ProviderRegistry *ProviderRegistrySession) DELEGATIONSTORAGESLOT() ([32]byte, error)

DELEGATIONSTORAGESLOT is a free data retrieval call binding the contract method 0xdd9b48cb.

Solidity: function DELEGATION_STORAGE_SLOT() view returns(bytes32)

func (*ProviderRegistrySession) DIAMONDOWNABLESTORAGESLOT

func (_ProviderRegistry *ProviderRegistrySession) DIAMONDOWNABLESTORAGESLOT() ([32]byte, error)

DIAMONDOWNABLESTORAGESLOT is a free data retrieval call binding the contract method 0x4ac3371e.

Solidity: function DIAMOND_OWNABLE_STORAGE_SLOT() view returns(bytes32)

func (*ProviderRegistrySession) GetActiveProviders

func (_ProviderRegistry *ProviderRegistrySession) GetActiveProviders(offset_ *big.Int, limit_ *big.Int) ([]common.Address, *big.Int, error)

GetActiveProviders is a free data retrieval call binding the contract method 0xd5472642.

Solidity: function getActiveProviders(uint256 offset_, uint256 limit_) view returns(address[], uint256)

func (*ProviderRegistrySession) GetBid

func (_ProviderRegistry *ProviderRegistrySession) GetBid(bidId_ [32]byte) (IBidStorageBid, error)

GetBid is a free data retrieval call binding the contract method 0x91704e1e.

Solidity: function getBid(bytes32 bidId_) view returns((address,bytes32,uint256,uint256,uint128,uint128))

func (*ProviderRegistrySession) GetIsProviderActive

func (_ProviderRegistry *ProviderRegistrySession) GetIsProviderActive(provider_ common.Address) (bool, error)

GetIsProviderActive is a free data retrieval call binding the contract method 0x63ef175d.

Solidity: function getIsProviderActive(address provider_) view returns(bool)

func (*ProviderRegistrySession) GetModelActiveBids

func (_ProviderRegistry *ProviderRegistrySession) GetModelActiveBids(modelId_ [32]byte, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetModelActiveBids is a free data retrieval call binding the contract method 0x8a683b6e.

Solidity: function getModelActiveBids(bytes32 modelId_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistrySession) GetModelBids

func (_ProviderRegistry *ProviderRegistrySession) GetModelBids(modelId_ [32]byte, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetModelBids is a free data retrieval call binding the contract method 0xfade17b1.

Solidity: function getModelBids(bytes32 modelId_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistrySession) GetProvider

func (_ProviderRegistry *ProviderRegistrySession) GetProvider(provider_ common.Address) (IProviderStorageProvider, error)

GetProvider is a free data retrieval call binding the contract method 0x55f21eb7.

Solidity: function getProvider(address provider_) view returns((string,uint256,uint128,uint128,uint256,bool))

func (*ProviderRegistrySession) GetProviderActiveBids

func (_ProviderRegistry *ProviderRegistrySession) GetProviderActiveBids(provider_ common.Address, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetProviderActiveBids is a free data retrieval call binding the contract method 0xaf5b77ca.

Solidity: function getProviderActiveBids(address provider_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistrySession) GetProviderBids

func (_ProviderRegistry *ProviderRegistrySession) GetProviderBids(provider_ common.Address, offset_ *big.Int, limit_ *big.Int) ([][32]byte, *big.Int, error)

GetProviderBids is a free data retrieval call binding the contract method 0x59d435c4.

Solidity: function getProviderBids(address provider_, uint256 offset_, uint256 limit_) view returns(bytes32[], uint256)

func (*ProviderRegistrySession) GetProviderMinimumStake

func (_ProviderRegistry *ProviderRegistrySession) GetProviderMinimumStake() (*big.Int, error)

GetProviderMinimumStake is a free data retrieval call binding the contract method 0x53c029f6.

Solidity: function getProviderMinimumStake() view returns(uint256)

func (*ProviderRegistrySession) GetRegistry

func (_ProviderRegistry *ProviderRegistrySession) GetRegistry() (common.Address, error)

GetRegistry is a free data retrieval call binding the contract method 0x5ab1bd53.

Solidity: function getRegistry() view returns(address)

func (*ProviderRegistrySession) GetToken

func (_ProviderRegistry *ProviderRegistrySession) GetToken() (common.Address, error)

GetToken is a free data retrieval call binding the contract method 0x21df0da7.

Solidity: function getToken() view returns(address)

func (*ProviderRegistrySession) IsBidActive

func (_ProviderRegistry *ProviderRegistrySession) IsBidActive(bidId_ [32]byte) (bool, error)

IsBidActive is a free data retrieval call binding the contract method 0x1345df58.

Solidity: function isBidActive(bytes32 bidId_) view returns(bool)

func (*ProviderRegistrySession) IsRightsDelegated

func (_ProviderRegistry *ProviderRegistrySession) IsRightsDelegated(delegatee_ common.Address, delegator_ common.Address, rights_ [32]byte) (bool, error)

IsRightsDelegated is a free data retrieval call binding the contract method 0x54126b8f.

Solidity: function isRightsDelegated(address delegatee_, address delegator_, bytes32 rights_) view returns(bool)

func (*ProviderRegistrySession) Owner

func (_ProviderRegistry *ProviderRegistrySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ProviderRegistrySession) PROVIDERSSTORAGESLOT

func (_ProviderRegistry *ProviderRegistrySession) PROVIDERSSTORAGESLOT() ([32]byte, error)

PROVIDERSSTORAGESLOT is a free data retrieval call binding the contract method 0xc51830f6.

Solidity: function PROVIDERS_STORAGE_SLOT() view returns(bytes32)

func (*ProviderRegistrySession) ProviderDeregister

func (_ProviderRegistry *ProviderRegistrySession) ProviderDeregister(provider_ common.Address) (*types.Transaction, error)

ProviderDeregister is a paid mutator transaction binding the contract method 0x2ca36c49.

Solidity: function providerDeregister(address provider_) returns()

func (*ProviderRegistrySession) ProviderRegister

func (_ProviderRegistry *ProviderRegistrySession) ProviderRegister(provider_ common.Address, amount_ *big.Int, endpoint_ string) (*types.Transaction, error)

ProviderRegister is a paid mutator transaction binding the contract method 0x365700cb.

Solidity: function providerRegister(address provider_, uint256 amount_, string endpoint_) returns()

func (*ProviderRegistrySession) ProviderRegistryInit

func (_ProviderRegistry *ProviderRegistrySession) ProviderRegistryInit() (*types.Transaction, error)

ProviderRegistryInit is a paid mutator transaction binding the contract method 0x5c7ce38b.

Solidity: function __ProviderRegistry_init() returns()

func (*ProviderRegistrySession) ProviderSetMinStake

func (_ProviderRegistry *ProviderRegistrySession) ProviderSetMinStake(providerMinimumStake_ *big.Int) (*types.Transaction, error)

ProviderSetMinStake is a paid mutator transaction binding the contract method 0x0b7f94d6.

Solidity: function providerSetMinStake(uint256 providerMinimumStake_) returns()

type ProviderRegistryTransactor

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

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

func NewProviderRegistryTransactor

func NewProviderRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ProviderRegistryTransactor, error)

NewProviderRegistryTransactor creates a new write-only instance of ProviderRegistry, bound to a specific deployed contract.

func (*ProviderRegistryTransactor) ProviderDeregister

func (_ProviderRegistry *ProviderRegistryTransactor) ProviderDeregister(opts *bind.TransactOpts, provider_ common.Address) (*types.Transaction, error)

ProviderDeregister is a paid mutator transaction binding the contract method 0x2ca36c49.

Solidity: function providerDeregister(address provider_) returns()

func (*ProviderRegistryTransactor) ProviderRegister

func (_ProviderRegistry *ProviderRegistryTransactor) ProviderRegister(opts *bind.TransactOpts, provider_ common.Address, amount_ *big.Int, endpoint_ string) (*types.Transaction, error)

ProviderRegister is a paid mutator transaction binding the contract method 0x365700cb.

Solidity: function providerRegister(address provider_, uint256 amount_, string endpoint_) returns()

func (*ProviderRegistryTransactor) ProviderRegistryInit

func (_ProviderRegistry *ProviderRegistryTransactor) ProviderRegistryInit(opts *bind.TransactOpts) (*types.Transaction, error)

ProviderRegistryInit is a paid mutator transaction binding the contract method 0x5c7ce38b.

Solidity: function __ProviderRegistry_init() returns()

func (*ProviderRegistryTransactor) ProviderSetMinStake

func (_ProviderRegistry *ProviderRegistryTransactor) ProviderSetMinStake(opts *bind.TransactOpts, providerMinimumStake_ *big.Int) (*types.Transaction, error)

ProviderSetMinStake is a paid mutator transaction binding the contract method 0x0b7f94d6.

Solidity: function providerSetMinStake(uint256 providerMinimumStake_) returns()

type ProviderRegistryTransactorRaw

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

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

func (*ProviderRegistryTransactorRaw) Transact

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

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

func (*ProviderRegistryTransactorRaw) Transfer

func (_ProviderRegistry *ProviderRegistryTransactorRaw) 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 ProviderRegistryTransactorSession

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

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

func (*ProviderRegistryTransactorSession) ProviderDeregister

func (_ProviderRegistry *ProviderRegistryTransactorSession) ProviderDeregister(provider_ common.Address) (*types.Transaction, error)

ProviderDeregister is a paid mutator transaction binding the contract method 0x2ca36c49.

Solidity: function providerDeregister(address provider_) returns()

func (*ProviderRegistryTransactorSession) ProviderRegister

func (_ProviderRegistry *ProviderRegistryTransactorSession) ProviderRegister(provider_ common.Address, amount_ *big.Int, endpoint_ string) (*types.Transaction, error)

ProviderRegister is a paid mutator transaction binding the contract method 0x365700cb.

Solidity: function providerRegister(address provider_, uint256 amount_, string endpoint_) returns()

func (*ProviderRegistryTransactorSession) ProviderRegistryInit

func (_ProviderRegistry *ProviderRegistryTransactorSession) ProviderRegistryInit() (*types.Transaction, error)

ProviderRegistryInit is a paid mutator transaction binding the contract method 0x5c7ce38b.

Solidity: function __ProviderRegistry_init() returns()

func (*ProviderRegistryTransactorSession) ProviderSetMinStake

func (_ProviderRegistry *ProviderRegistryTransactorSession) ProviderSetMinStake(providerMinimumStake_ *big.Int) (*types.Transaction, error)

ProviderSetMinStake is a paid mutator transaction binding the contract method 0x0b7f94d6.

Solidity: function providerSetMinStake(uint256 providerMinimumStake_) returns()

Jump to

Keyboard shortcuts

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