Documentation ¶
Index ¶
- Variables
- type Project
- type ProjectAttributeSet
- type ProjectAttributeSetIterator
- type ProjectBinderSet
- type ProjectBinderSetIterator
- type ProjectCaller
- func (_Project *ProjectCaller) Attribute(opts *bind.CallOpts, _projectId *big.Int, _name [32]byte) ([]byte, error)
- func (_Project *ProjectCaller) Attributes(opts *bind.CallOpts, arg0 *big.Int, arg1 [32]byte) ([]byte, error)
- func (_Project *ProjectCaller) AttributesOf(opts *bind.CallOpts, _projectId *big.Int, _keys [][32]byte) ([][]byte, error)
- func (_Project *ProjectCaller) Binder(opts *bind.CallOpts) (common.Address, error)
- func (_Project *ProjectCaller) Config(opts *bind.CallOpts, _projectId *big.Int) (W3bstreamProjectProjectConfig, error)
- func (_Project *ProjectCaller) Count(opts *bind.CallOpts) (*big.Int, error)
- func (_Project *ProjectCaller) IsPaused(opts *bind.CallOpts, _projectId *big.Int) (bool, error)
- func (_Project *ProjectCaller) IsValidProject(opts *bind.CallOpts, _projectId *big.Int) (bool, error)
- func (_Project *ProjectCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Project *ProjectCaller) OwnerOf(opts *bind.CallOpts, _projectId *big.Int) (common.Address, error)
- func (_Project *ProjectCaller) Project(opts *bind.CallOpts) (common.Address, error)
- type ProjectCallerRaw
- type ProjectCallerSession
- func (_Project *ProjectCallerSession) Attribute(_projectId *big.Int, _name [32]byte) ([]byte, error)
- func (_Project *ProjectCallerSession) Attributes(arg0 *big.Int, arg1 [32]byte) ([]byte, error)
- func (_Project *ProjectCallerSession) AttributesOf(_projectId *big.Int, _keys [][32]byte) ([][]byte, error)
- func (_Project *ProjectCallerSession) Binder() (common.Address, error)
- func (_Project *ProjectCallerSession) Config(_projectId *big.Int) (W3bstreamProjectProjectConfig, error)
- func (_Project *ProjectCallerSession) Count() (*big.Int, error)
- func (_Project *ProjectCallerSession) IsPaused(_projectId *big.Int) (bool, error)
- func (_Project *ProjectCallerSession) IsValidProject(_projectId *big.Int) (bool, error)
- func (_Project *ProjectCallerSession) Owner() (common.Address, error)
- func (_Project *ProjectCallerSession) OwnerOf(_projectId *big.Int) (common.Address, error)
- func (_Project *ProjectCallerSession) Project() (common.Address, error)
- type ProjectFilterer
- func (_Project *ProjectFilterer) FilterAttributeSet(opts *bind.FilterOpts, projectId []*big.Int, key [][32]byte) (*ProjectAttributeSetIterator, error)
- func (_Project *ProjectFilterer) FilterBinderSet(opts *bind.FilterOpts, binder []common.Address) (*ProjectBinderSetIterator, error)
- func (_Project *ProjectFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProjectInitializedIterator, error)
- func (_Project *ProjectFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ProjectOwnershipTransferredIterator, error)
- func (_Project *ProjectFilterer) FilterProjectBinded(opts *bind.FilterOpts, projectId []*big.Int) (*ProjectProjectBindedIterator, error)
- func (_Project *ProjectFilterer) FilterProjectConfigUpdated(opts *bind.FilterOpts, projectId []*big.Int) (*ProjectProjectConfigUpdatedIterator, error)
- func (_Project *ProjectFilterer) FilterProjectPaused(opts *bind.FilterOpts, projectId []*big.Int) (*ProjectProjectPausedIterator, error)
- func (_Project *ProjectFilterer) FilterProjectResumed(opts *bind.FilterOpts, projectId []*big.Int) (*ProjectProjectResumedIterator, error)
- func (_Project *ProjectFilterer) ParseAttributeSet(log types.Log) (*ProjectAttributeSet, error)
- func (_Project *ProjectFilterer) ParseBinderSet(log types.Log) (*ProjectBinderSet, error)
- func (_Project *ProjectFilterer) ParseInitialized(log types.Log) (*ProjectInitialized, error)
- func (_Project *ProjectFilterer) ParseOwnershipTransferred(log types.Log) (*ProjectOwnershipTransferred, error)
- func (_Project *ProjectFilterer) ParseProjectBinded(log types.Log) (*ProjectProjectBinded, error)
- func (_Project *ProjectFilterer) ParseProjectConfigUpdated(log types.Log) (*ProjectProjectConfigUpdated, error)
- func (_Project *ProjectFilterer) ParseProjectPaused(log types.Log) (*ProjectProjectPaused, error)
- func (_Project *ProjectFilterer) ParseProjectResumed(log types.Log) (*ProjectProjectResumed, error)
- func (_Project *ProjectFilterer) WatchAttributeSet(opts *bind.WatchOpts, sink chan<- *ProjectAttributeSet, projectId []*big.Int, ...) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchBinderSet(opts *bind.WatchOpts, sink chan<- *ProjectBinderSet, binder []common.Address) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProjectInitialized) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProjectOwnershipTransferred, ...) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchProjectBinded(opts *bind.WatchOpts, sink chan<- *ProjectProjectBinded, projectId []*big.Int) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchProjectConfigUpdated(opts *bind.WatchOpts, sink chan<- *ProjectProjectConfigUpdated, ...) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchProjectPaused(opts *bind.WatchOpts, sink chan<- *ProjectProjectPaused, projectId []*big.Int) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchProjectResumed(opts *bind.WatchOpts, sink chan<- *ProjectProjectResumed, projectId []*big.Int) (event.Subscription, error)
- type ProjectInitialized
- type ProjectInitializedIterator
- type ProjectOwnershipTransferred
- type ProjectOwnershipTransferredIterator
- type ProjectProjectBinded
- type ProjectProjectBindedIterator
- type ProjectProjectConfigUpdated
- type ProjectProjectConfigUpdatedIterator
- type ProjectProjectPaused
- type ProjectProjectPausedIterator
- type ProjectProjectResumed
- type ProjectProjectResumedIterator
- type ProjectRaw
- func (_Project *ProjectRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Project *ProjectRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Project *ProjectRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ProjectSession
- func (_Project *ProjectSession) Attribute(_projectId *big.Int, _name [32]byte) ([]byte, error)
- func (_Project *ProjectSession) Attributes(arg0 *big.Int, arg1 [32]byte) ([]byte, error)
- func (_Project *ProjectSession) AttributesOf(_projectId *big.Int, _keys [][32]byte) ([][]byte, error)
- func (_Project *ProjectSession) Bind(_projectId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectSession) Binder() (common.Address, error)
- func (_Project *ProjectSession) Config(_projectId *big.Int) (W3bstreamProjectProjectConfig, error)
- func (_Project *ProjectSession) Count() (*big.Int, error)
- func (_Project *ProjectSession) Initialize(_project common.Address) (*types.Transaction, error)
- func (_Project *ProjectSession) IsPaused(_projectId *big.Int) (bool, error)
- func (_Project *ProjectSession) IsValidProject(_projectId *big.Int) (bool, error)
- func (_Project *ProjectSession) Owner() (common.Address, error)
- func (_Project *ProjectSession) OwnerOf(_projectId *big.Int) (common.Address, error)
- func (_Project *ProjectSession) Pause(_projectId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectSession) Project() (common.Address, error)
- func (_Project *ProjectSession) RenounceOwnership() (*types.Transaction, error)
- func (_Project *ProjectSession) Resume(_projectId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectSession) SetAttributes(_projectId *big.Int, _keys [][32]byte, _values [][]byte) (*types.Transaction, error)
- func (_Project *ProjectSession) SetBinder(_binder common.Address) (*types.Transaction, error)
- func (_Project *ProjectSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Project *ProjectSession) UpdateConfig(_projectId *big.Int, _uri string, _hash [32]byte) (*types.Transaction, error)
- type ProjectTransactor
- func (_Project *ProjectTransactor) Bind(opts *bind.TransactOpts, _projectId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectTransactor) Initialize(opts *bind.TransactOpts, _project common.Address) (*types.Transaction, error)
- func (_Project *ProjectTransactor) Pause(opts *bind.TransactOpts, _projectId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Project *ProjectTransactor) Resume(opts *bind.TransactOpts, _projectId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectTransactor) SetAttributes(opts *bind.TransactOpts, _projectId *big.Int, _keys [][32]byte, ...) (*types.Transaction, error)
- func (_Project *ProjectTransactor) SetBinder(opts *bind.TransactOpts, _binder common.Address) (*types.Transaction, error)
- func (_Project *ProjectTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Project *ProjectTransactor) UpdateConfig(opts *bind.TransactOpts, _projectId *big.Int, _uri string, _hash [32]byte) (*types.Transaction, error)
- type ProjectTransactorRaw
- type ProjectTransactorSession
- func (_Project *ProjectTransactorSession) Bind(_projectId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) Initialize(_project common.Address) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) Pause(_projectId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) Resume(_projectId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) SetAttributes(_projectId *big.Int, _keys [][32]byte, _values [][]byte) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) SetBinder(_binder common.Address) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) UpdateConfig(_projectId *big.Int, _uri string, _hash [32]byte) (*types.Transaction, error)
- type W3bstreamProjectProjectConfig
Constants ¶
This section is empty.
Variables ¶
var ProjectABI = ProjectMetaData.ABI
ProjectABI is the input ABI used to generate the binding from. Deprecated: Use ProjectMetaData.ABI instead.
var ProjectMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"name\":\"AttributeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"binder\",\"type\":\"address\"}],\"name\":\"BinderSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"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\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"}],\"name\":\"ProjectBinded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"ProjectConfigUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"}],\"name\":\"ProjectPaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"}],\"name\":\"ProjectResumed\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_name\",\"type\":\"bytes32\"}],\"name\":\"attribute\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"attributes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_keys\",\"type\":\"bytes32[]\"}],\"name\":\"attributesOf\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"values_\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"bind\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"binder\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"config\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"internalType\":\"structW3bstreamProject.ProjectConfig\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"count\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_project\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"isPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"isValidProject\",\"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\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"project\",\"outputs\":[{\"internalType\":\"contractIERC721\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"resume\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_keys\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_values\",\"type\":\"bytes[]\"}],\"name\":\"setAttributes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_binder\",\"type\":\"address\"}],\"name\":\"setBinder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"_hash\",\"type\":\"bytes32\"}],\"name\":\"updateConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
ProjectMetaData contains all meta data concerning the Project contract.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project struct { ProjectCaller // Read-only binding to the contract ProjectTransactor // Write-only binding to the contract ProjectFilterer // Log filterer for contract events }
Project is an auto generated Go binding around an Ethereum contract.
func NewProject ¶
NewProject creates a new instance of Project, bound to a specific deployed contract.
type ProjectAttributeSet ¶
type ProjectAttributeSet struct { ProjectId *big.Int Key [32]byte Value []byte Raw types.Log // Blockchain specific contextual infos }
ProjectAttributeSet represents a AttributeSet event raised by the Project contract.
type ProjectAttributeSetIterator ¶
type ProjectAttributeSetIterator struct { Event *ProjectAttributeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectAttributeSetIterator is returned from FilterAttributeSet and is used to iterate over the raw logs and unpacked data for AttributeSet events raised by the Project contract.
func (*ProjectAttributeSetIterator) Close ¶
func (it *ProjectAttributeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectAttributeSetIterator) Error ¶
func (it *ProjectAttributeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectAttributeSetIterator) Next ¶
func (it *ProjectAttributeSetIterator) 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 ProjectBinderSet ¶ added in v0.10.3
type ProjectBinderSet struct { Binder common.Address Raw types.Log // Blockchain specific contextual infos }
ProjectBinderSet represents a BinderSet event raised by the Project contract.
type ProjectBinderSetIterator ¶ added in v0.10.3
type ProjectBinderSetIterator struct { Event *ProjectBinderSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectBinderSetIterator is returned from FilterBinderSet and is used to iterate over the raw logs and unpacked data for BinderSet events raised by the Project contract.
func (*ProjectBinderSetIterator) Close ¶ added in v0.10.3
func (it *ProjectBinderSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectBinderSetIterator) Error ¶ added in v0.10.3
func (it *ProjectBinderSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectBinderSetIterator) Next ¶ added in v0.10.3
func (it *ProjectBinderSetIterator) 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 ProjectCaller ¶
type ProjectCaller struct {
// contains filtered or unexported fields
}
ProjectCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewProjectCaller ¶
func NewProjectCaller(address common.Address, caller bind.ContractCaller) (*ProjectCaller, error)
NewProjectCaller creates a new read-only instance of Project, bound to a specific deployed contract.
func (*ProjectCaller) Attribute ¶
func (_Project *ProjectCaller) Attribute(opts *bind.CallOpts, _projectId *big.Int, _name [32]byte) ([]byte, error)
Attribute is a free data retrieval call binding the contract method 0x40341e4b.
Solidity: function attribute(uint256 _projectId, bytes32 _name) view returns(bytes)
func (*ProjectCaller) Attributes ¶
func (_Project *ProjectCaller) Attributes(opts *bind.CallOpts, arg0 *big.Int, arg1 [32]byte) ([]byte, error)
Attributes is a free data retrieval call binding the contract method 0x73c773db.
Solidity: function attributes(uint256 , bytes32 ) view returns(bytes)
func (*ProjectCaller) AttributesOf ¶
func (_Project *ProjectCaller) AttributesOf(opts *bind.CallOpts, _projectId *big.Int, _keys [][32]byte) ([][]byte, error)
AttributesOf is a free data retrieval call binding the contract method 0xe76d621c.
Solidity: function attributesOf(uint256 _projectId, bytes32[] _keys) view returns(bytes[] values_)
func (*ProjectCaller) Binder ¶ added in v0.10.3
Binder is a free data retrieval call binding the contract method 0xacba7b42.
Solidity: function binder() view returns(address)
func (*ProjectCaller) Config ¶
func (_Project *ProjectCaller) Config(opts *bind.CallOpts, _projectId *big.Int) (W3bstreamProjectProjectConfig, error)
Config is a free data retrieval call binding the contract method 0x84691767.
Solidity: function config(uint256 _projectId) view returns((string,bytes32))
func (*ProjectCaller) Count ¶
Count is a free data retrieval call binding the contract method 0x06661abd.
Solidity: function count() view returns(uint256)
func (*ProjectCaller) IsPaused ¶
IsPaused is a free data retrieval call binding the contract method 0xbdf2a43c.
Solidity: function isPaused(uint256 _projectId) view returns(bool)
func (*ProjectCaller) IsValidProject ¶ added in v0.10.3
func (_Project *ProjectCaller) IsValidProject(opts *bind.CallOpts, _projectId *big.Int) (bool, error)
IsValidProject is a free data retrieval call binding the contract method 0x2c7caaf1.
Solidity: function isValidProject(uint256 _projectId) view returns(bool)
func (*ProjectCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
type ProjectCallerRaw ¶
type ProjectCallerRaw struct {
Contract *ProjectCaller // Generic read-only contract binding to access the raw methods on
}
ProjectCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ProjectCallerRaw) Call ¶
func (_Project *ProjectCallerRaw) 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 ProjectCallerSession ¶
type ProjectCallerSession struct { Contract *ProjectCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ProjectCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ProjectCallerSession) Attribute ¶
func (_Project *ProjectCallerSession) Attribute(_projectId *big.Int, _name [32]byte) ([]byte, error)
Attribute is a free data retrieval call binding the contract method 0x40341e4b.
Solidity: function attribute(uint256 _projectId, bytes32 _name) view returns(bytes)
func (*ProjectCallerSession) Attributes ¶
Attributes is a free data retrieval call binding the contract method 0x73c773db.
Solidity: function attributes(uint256 , bytes32 ) view returns(bytes)
func (*ProjectCallerSession) AttributesOf ¶
func (_Project *ProjectCallerSession) AttributesOf(_projectId *big.Int, _keys [][32]byte) ([][]byte, error)
AttributesOf is a free data retrieval call binding the contract method 0xe76d621c.
Solidity: function attributesOf(uint256 _projectId, bytes32[] _keys) view returns(bytes[] values_)
func (*ProjectCallerSession) Binder ¶ added in v0.10.3
func (_Project *ProjectCallerSession) Binder() (common.Address, error)
Binder is a free data retrieval call binding the contract method 0xacba7b42.
Solidity: function binder() view returns(address)
func (*ProjectCallerSession) Config ¶
func (_Project *ProjectCallerSession) Config(_projectId *big.Int) (W3bstreamProjectProjectConfig, error)
Config is a free data retrieval call binding the contract method 0x84691767.
Solidity: function config(uint256 _projectId) view returns((string,bytes32))
func (*ProjectCallerSession) Count ¶
func (_Project *ProjectCallerSession) Count() (*big.Int, error)
Count is a free data retrieval call binding the contract method 0x06661abd.
Solidity: function count() view returns(uint256)
func (*ProjectCallerSession) IsPaused ¶
func (_Project *ProjectCallerSession) IsPaused(_projectId *big.Int) (bool, error)
IsPaused is a free data retrieval call binding the contract method 0xbdf2a43c.
Solidity: function isPaused(uint256 _projectId) view returns(bool)
func (*ProjectCallerSession) IsValidProject ¶ added in v0.10.3
func (_Project *ProjectCallerSession) IsValidProject(_projectId *big.Int) (bool, error)
IsValidProject is a free data retrieval call binding the contract method 0x2c7caaf1.
Solidity: function isValidProject(uint256 _projectId) view returns(bool)
func (*ProjectCallerSession) Owner ¶
func (_Project *ProjectCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
type ProjectFilterer ¶
type ProjectFilterer struct {
// contains filtered or unexported fields
}
ProjectFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewProjectFilterer ¶
func NewProjectFilterer(address common.Address, filterer bind.ContractFilterer) (*ProjectFilterer, error)
NewProjectFilterer creates a new log filterer instance of Project, bound to a specific deployed contract.
func (*ProjectFilterer) FilterAttributeSet ¶
func (_Project *ProjectFilterer) FilterAttributeSet(opts *bind.FilterOpts, projectId []*big.Int, key [][32]byte) (*ProjectAttributeSetIterator, error)
FilterAttributeSet is a free log retrieval operation binding the contract event 0x840db4c564ec8ec61fd9377b125346993b20659d558d2e066e33c588b60f9fc3.
Solidity: event AttributeSet(uint256 indexed projectId, bytes32 indexed key, bytes value)
func (*ProjectFilterer) FilterBinderSet ¶ added in v0.10.3
func (_Project *ProjectFilterer) FilterBinderSet(opts *bind.FilterOpts, binder []common.Address) (*ProjectBinderSetIterator, error)
FilterBinderSet is a free log retrieval operation binding the contract event 0xb19637e660a60813c298ad7ddbf824f445fc38044f48e8ad24dc0ac64646f29b.
Solidity: event BinderSet(address indexed binder)
func (*ProjectFilterer) FilterInitialized ¶
func (_Project *ProjectFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProjectInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProjectFilterer) FilterOwnershipTransferred ¶
func (_Project *ProjectFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ProjectOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ProjectFilterer) FilterProjectBinded ¶ added in v0.10.3
func (_Project *ProjectFilterer) FilterProjectBinded(opts *bind.FilterOpts, projectId []*big.Int) (*ProjectProjectBindedIterator, error)
FilterProjectBinded is a free log retrieval operation binding the contract event 0x333b64ed2eccc26c75dc26694a75281557fd03abd4b4f13cc7399ab89ad0761a.
Solidity: event ProjectBinded(uint256 indexed projectId)
func (*ProjectFilterer) FilterProjectConfigUpdated ¶
func (_Project *ProjectFilterer) FilterProjectConfigUpdated(opts *bind.FilterOpts, projectId []*big.Int) (*ProjectProjectConfigUpdatedIterator, error)
FilterProjectConfigUpdated is a free log retrieval operation binding the contract event 0xa9ee0c223bc138bec6ebb21e09d00d5423fc3bbc210bdb6aef9d190b0641aecb.
Solidity: event ProjectConfigUpdated(uint256 indexed projectId, string uri, bytes32 hash)
func (*ProjectFilterer) FilterProjectPaused ¶
func (_Project *ProjectFilterer) FilterProjectPaused(opts *bind.FilterOpts, projectId []*big.Int) (*ProjectProjectPausedIterator, error)
FilterProjectPaused is a free log retrieval operation binding the contract event 0x9f505f325627bdd7f5a6dd8bcceecdc48a989f647561427d61d35b7a50703f79.
Solidity: event ProjectPaused(uint256 indexed projectId)
func (*ProjectFilterer) FilterProjectResumed ¶
func (_Project *ProjectFilterer) FilterProjectResumed(opts *bind.FilterOpts, projectId []*big.Int) (*ProjectProjectResumedIterator, error)
FilterProjectResumed is a free log retrieval operation binding the contract event 0x8c936416fd11c0291d9c7f69aad7e8847c5228b15a3969a1ac6a1c7bf394cd75.
Solidity: event ProjectResumed(uint256 indexed projectId)
func (*ProjectFilterer) ParseAttributeSet ¶
func (_Project *ProjectFilterer) ParseAttributeSet(log types.Log) (*ProjectAttributeSet, error)
ParseAttributeSet is a log parse operation binding the contract event 0x840db4c564ec8ec61fd9377b125346993b20659d558d2e066e33c588b60f9fc3.
Solidity: event AttributeSet(uint256 indexed projectId, bytes32 indexed key, bytes value)
func (*ProjectFilterer) ParseBinderSet ¶ added in v0.10.3
func (_Project *ProjectFilterer) ParseBinderSet(log types.Log) (*ProjectBinderSet, error)
ParseBinderSet is a log parse operation binding the contract event 0xb19637e660a60813c298ad7ddbf824f445fc38044f48e8ad24dc0ac64646f29b.
Solidity: event BinderSet(address indexed binder)
func (*ProjectFilterer) ParseInitialized ¶
func (_Project *ProjectFilterer) ParseInitialized(log types.Log) (*ProjectInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProjectFilterer) ParseOwnershipTransferred ¶
func (_Project *ProjectFilterer) ParseOwnershipTransferred(log types.Log) (*ProjectOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ProjectFilterer) ParseProjectBinded ¶ added in v0.10.3
func (_Project *ProjectFilterer) ParseProjectBinded(log types.Log) (*ProjectProjectBinded, error)
ParseProjectBinded is a log parse operation binding the contract event 0x333b64ed2eccc26c75dc26694a75281557fd03abd4b4f13cc7399ab89ad0761a.
Solidity: event ProjectBinded(uint256 indexed projectId)
func (*ProjectFilterer) ParseProjectConfigUpdated ¶
func (_Project *ProjectFilterer) ParseProjectConfigUpdated(log types.Log) (*ProjectProjectConfigUpdated, error)
ParseProjectConfigUpdated is a log parse operation binding the contract event 0xa9ee0c223bc138bec6ebb21e09d00d5423fc3bbc210bdb6aef9d190b0641aecb.
Solidity: event ProjectConfigUpdated(uint256 indexed projectId, string uri, bytes32 hash)
func (*ProjectFilterer) ParseProjectPaused ¶
func (_Project *ProjectFilterer) ParseProjectPaused(log types.Log) (*ProjectProjectPaused, error)
ParseProjectPaused is a log parse operation binding the contract event 0x9f505f325627bdd7f5a6dd8bcceecdc48a989f647561427d61d35b7a50703f79.
Solidity: event ProjectPaused(uint256 indexed projectId)
func (*ProjectFilterer) ParseProjectResumed ¶
func (_Project *ProjectFilterer) ParseProjectResumed(log types.Log) (*ProjectProjectResumed, error)
ParseProjectResumed is a log parse operation binding the contract event 0x8c936416fd11c0291d9c7f69aad7e8847c5228b15a3969a1ac6a1c7bf394cd75.
Solidity: event ProjectResumed(uint256 indexed projectId)
func (*ProjectFilterer) WatchAttributeSet ¶
func (_Project *ProjectFilterer) WatchAttributeSet(opts *bind.WatchOpts, sink chan<- *ProjectAttributeSet, projectId []*big.Int, key [][32]byte) (event.Subscription, error)
WatchAttributeSet is a free log subscription operation binding the contract event 0x840db4c564ec8ec61fd9377b125346993b20659d558d2e066e33c588b60f9fc3.
Solidity: event AttributeSet(uint256 indexed projectId, bytes32 indexed key, bytes value)
func (*ProjectFilterer) WatchBinderSet ¶ added in v0.10.3
func (_Project *ProjectFilterer) WatchBinderSet(opts *bind.WatchOpts, sink chan<- *ProjectBinderSet, binder []common.Address) (event.Subscription, error)
WatchBinderSet is a free log subscription operation binding the contract event 0xb19637e660a60813c298ad7ddbf824f445fc38044f48e8ad24dc0ac64646f29b.
Solidity: event BinderSet(address indexed binder)
func (*ProjectFilterer) WatchInitialized ¶
func (_Project *ProjectFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProjectInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProjectFilterer) WatchOwnershipTransferred ¶
func (_Project *ProjectFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProjectOwnershipTransferred, 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 (*ProjectFilterer) WatchProjectBinded ¶ added in v0.10.3
func (_Project *ProjectFilterer) WatchProjectBinded(opts *bind.WatchOpts, sink chan<- *ProjectProjectBinded, projectId []*big.Int) (event.Subscription, error)
WatchProjectBinded is a free log subscription operation binding the contract event 0x333b64ed2eccc26c75dc26694a75281557fd03abd4b4f13cc7399ab89ad0761a.
Solidity: event ProjectBinded(uint256 indexed projectId)
func (*ProjectFilterer) WatchProjectConfigUpdated ¶
func (_Project *ProjectFilterer) WatchProjectConfigUpdated(opts *bind.WatchOpts, sink chan<- *ProjectProjectConfigUpdated, projectId []*big.Int) (event.Subscription, error)
WatchProjectConfigUpdated is a free log subscription operation binding the contract event 0xa9ee0c223bc138bec6ebb21e09d00d5423fc3bbc210bdb6aef9d190b0641aecb.
Solidity: event ProjectConfigUpdated(uint256 indexed projectId, string uri, bytes32 hash)
func (*ProjectFilterer) WatchProjectPaused ¶
func (_Project *ProjectFilterer) WatchProjectPaused(opts *bind.WatchOpts, sink chan<- *ProjectProjectPaused, projectId []*big.Int) (event.Subscription, error)
WatchProjectPaused is a free log subscription operation binding the contract event 0x9f505f325627bdd7f5a6dd8bcceecdc48a989f647561427d61d35b7a50703f79.
Solidity: event ProjectPaused(uint256 indexed projectId)
func (*ProjectFilterer) WatchProjectResumed ¶
func (_Project *ProjectFilterer) WatchProjectResumed(opts *bind.WatchOpts, sink chan<- *ProjectProjectResumed, projectId []*big.Int) (event.Subscription, error)
WatchProjectResumed is a free log subscription operation binding the contract event 0x8c936416fd11c0291d9c7f69aad7e8847c5228b15a3969a1ac6a1c7bf394cd75.
Solidity: event ProjectResumed(uint256 indexed projectId)
type ProjectInitialized ¶
type ProjectInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
ProjectInitialized represents a Initialized event raised by the Project contract.
type ProjectInitializedIterator ¶
type ProjectInitializedIterator struct { Event *ProjectInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Project contract.
func (*ProjectInitializedIterator) Close ¶
func (it *ProjectInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectInitializedIterator) Error ¶
func (it *ProjectInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectInitializedIterator) Next ¶
func (it *ProjectInitializedIterator) 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 ProjectOwnershipTransferred ¶
type ProjectOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ProjectOwnershipTransferred represents a OwnershipTransferred event raised by the Project contract.
type ProjectOwnershipTransferredIterator ¶
type ProjectOwnershipTransferredIterator struct { Event *ProjectOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Project contract.
func (*ProjectOwnershipTransferredIterator) Close ¶
func (it *ProjectOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectOwnershipTransferredIterator) Error ¶
func (it *ProjectOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectOwnershipTransferredIterator) Next ¶
func (it *ProjectOwnershipTransferredIterator) 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 ProjectProjectBinded ¶ added in v0.10.3
type ProjectProjectBinded struct { ProjectId *big.Int Raw types.Log // Blockchain specific contextual infos }
ProjectProjectBinded represents a ProjectBinded event raised by the Project contract.
type ProjectProjectBindedIterator ¶ added in v0.10.3
type ProjectProjectBindedIterator struct { Event *ProjectProjectBinded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectProjectBindedIterator is returned from FilterProjectBinded and is used to iterate over the raw logs and unpacked data for ProjectBinded events raised by the Project contract.
func (*ProjectProjectBindedIterator) Close ¶ added in v0.10.3
func (it *ProjectProjectBindedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectProjectBindedIterator) Error ¶ added in v0.10.3
func (it *ProjectProjectBindedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectProjectBindedIterator) Next ¶ added in v0.10.3
func (it *ProjectProjectBindedIterator) 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 ProjectProjectConfigUpdated ¶
type ProjectProjectConfigUpdated struct { ProjectId *big.Int Uri string Hash [32]byte Raw types.Log // Blockchain specific contextual infos }
ProjectProjectConfigUpdated represents a ProjectConfigUpdated event raised by the Project contract.
type ProjectProjectConfigUpdatedIterator ¶
type ProjectProjectConfigUpdatedIterator struct { Event *ProjectProjectConfigUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectProjectConfigUpdatedIterator is returned from FilterProjectConfigUpdated and is used to iterate over the raw logs and unpacked data for ProjectConfigUpdated events raised by the Project contract.
func (*ProjectProjectConfigUpdatedIterator) Close ¶
func (it *ProjectProjectConfigUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectProjectConfigUpdatedIterator) Error ¶
func (it *ProjectProjectConfigUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectProjectConfigUpdatedIterator) Next ¶
func (it *ProjectProjectConfigUpdatedIterator) 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 ProjectProjectPaused ¶
type ProjectProjectPaused struct { ProjectId *big.Int Raw types.Log // Blockchain specific contextual infos }
ProjectProjectPaused represents a ProjectPaused event raised by the Project contract.
type ProjectProjectPausedIterator ¶
type ProjectProjectPausedIterator struct { Event *ProjectProjectPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectProjectPausedIterator is returned from FilterProjectPaused and is used to iterate over the raw logs and unpacked data for ProjectPaused events raised by the Project contract.
func (*ProjectProjectPausedIterator) Close ¶
func (it *ProjectProjectPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectProjectPausedIterator) Error ¶
func (it *ProjectProjectPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectProjectPausedIterator) Next ¶
func (it *ProjectProjectPausedIterator) 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 ProjectProjectResumed ¶
type ProjectProjectResumed struct { ProjectId *big.Int Raw types.Log // Blockchain specific contextual infos }
ProjectProjectResumed represents a ProjectResumed event raised by the Project contract.
type ProjectProjectResumedIterator ¶
type ProjectProjectResumedIterator struct { Event *ProjectProjectResumed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectProjectResumedIterator is returned from FilterProjectResumed and is used to iterate over the raw logs and unpacked data for ProjectResumed events raised by the Project contract.
func (*ProjectProjectResumedIterator) Close ¶
func (it *ProjectProjectResumedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectProjectResumedIterator) Error ¶
func (it *ProjectProjectResumedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectProjectResumedIterator) Next ¶
func (it *ProjectProjectResumedIterator) 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 ProjectRaw ¶
type ProjectRaw struct {
Contract *Project // Generic contract binding to access the raw methods on
}
ProjectRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ProjectRaw) Call ¶
func (_Project *ProjectRaw) 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 (*ProjectRaw) Transact ¶
func (_Project *ProjectRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProjectRaw) Transfer ¶
func (_Project *ProjectRaw) 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 ProjectSession ¶
type ProjectSession struct { Contract *Project // 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 }
ProjectSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ProjectSession) Attribute ¶
Attribute is a free data retrieval call binding the contract method 0x40341e4b.
Solidity: function attribute(uint256 _projectId, bytes32 _name) view returns(bytes)
func (*ProjectSession) Attributes ¶
Attributes is a free data retrieval call binding the contract method 0x73c773db.
Solidity: function attributes(uint256 , bytes32 ) view returns(bytes)
func (*ProjectSession) AttributesOf ¶
func (_Project *ProjectSession) AttributesOf(_projectId *big.Int, _keys [][32]byte) ([][]byte, error)
AttributesOf is a free data retrieval call binding the contract method 0xe76d621c.
Solidity: function attributesOf(uint256 _projectId, bytes32[] _keys) view returns(bytes[] values_)
func (*ProjectSession) Bind ¶ added in v0.10.3
func (_Project *ProjectSession) Bind(_projectId *big.Int) (*types.Transaction, error)
Bind is a paid mutator transaction binding the contract method 0x1fb8b00e.
Solidity: function bind(uint256 _projectId) returns()
func (*ProjectSession) Binder ¶ added in v0.10.3
func (_Project *ProjectSession) Binder() (common.Address, error)
Binder is a free data retrieval call binding the contract method 0xacba7b42.
Solidity: function binder() view returns(address)
func (*ProjectSession) Config ¶
func (_Project *ProjectSession) Config(_projectId *big.Int) (W3bstreamProjectProjectConfig, error)
Config is a free data retrieval call binding the contract method 0x84691767.
Solidity: function config(uint256 _projectId) view returns((string,bytes32))
func (*ProjectSession) Count ¶
func (_Project *ProjectSession) Count() (*big.Int, error)
Count is a free data retrieval call binding the contract method 0x06661abd.
Solidity: function count() view returns(uint256)
func (*ProjectSession) Initialize ¶
func (_Project *ProjectSession) Initialize(_project common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _project) returns()
func (*ProjectSession) IsPaused ¶
func (_Project *ProjectSession) IsPaused(_projectId *big.Int) (bool, error)
IsPaused is a free data retrieval call binding the contract method 0xbdf2a43c.
Solidity: function isPaused(uint256 _projectId) view returns(bool)
func (*ProjectSession) IsValidProject ¶ added in v0.10.3
func (_Project *ProjectSession) IsValidProject(_projectId *big.Int) (bool, error)
IsValidProject is a free data retrieval call binding the contract method 0x2c7caaf1.
Solidity: function isValidProject(uint256 _projectId) view returns(bool)
func (*ProjectSession) Owner ¶
func (_Project *ProjectSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ProjectSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 _projectId) view returns(address)
func (*ProjectSession) Pause ¶
func (_Project *ProjectSession) Pause(_projectId *big.Int) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x136439dd.
Solidity: function pause(uint256 _projectId) returns()
func (*ProjectSession) Project ¶ added in v0.10.3
func (_Project *ProjectSession) Project() (common.Address, error)
Project is a free data retrieval call binding the contract method 0xf60ca60d.
Solidity: function project() view returns(address)
func (*ProjectSession) RenounceOwnership ¶
func (_Project *ProjectSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProjectSession) Resume ¶
func (_Project *ProjectSession) Resume(_projectId *big.Int) (*types.Transaction, error)
Resume is a paid mutator transaction binding the contract method 0x414000b5.
Solidity: function resume(uint256 _projectId) returns()
func (*ProjectSession) SetAttributes ¶
func (_Project *ProjectSession) SetAttributes(_projectId *big.Int, _keys [][32]byte, _values [][]byte) (*types.Transaction, error)
SetAttributes is a paid mutator transaction binding the contract method 0xa122effb.
Solidity: function setAttributes(uint256 _projectId, bytes32[] _keys, bytes[] _values) returns()
func (*ProjectSession) SetBinder ¶ added in v0.10.3
func (_Project *ProjectSession) SetBinder(_binder common.Address) (*types.Transaction, error)
SetBinder is a paid mutator transaction binding the contract method 0x536c54fa.
Solidity: function setBinder(address _binder) returns()
func (*ProjectSession) TransferOwnership ¶
func (_Project *ProjectSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ProjectSession) UpdateConfig ¶
func (_Project *ProjectSession) UpdateConfig(_projectId *big.Int, _uri string, _hash [32]byte) (*types.Transaction, error)
UpdateConfig is a paid mutator transaction binding the contract method 0x4b597aa3.
Solidity: function updateConfig(uint256 _projectId, string _uri, bytes32 _hash) returns()
type ProjectTransactor ¶
type ProjectTransactor struct {
// contains filtered or unexported fields
}
ProjectTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewProjectTransactor ¶
func NewProjectTransactor(address common.Address, transactor bind.ContractTransactor) (*ProjectTransactor, error)
NewProjectTransactor creates a new write-only instance of Project, bound to a specific deployed contract.
func (*ProjectTransactor) Bind ¶ added in v0.10.3
func (_Project *ProjectTransactor) Bind(opts *bind.TransactOpts, _projectId *big.Int) (*types.Transaction, error)
Bind is a paid mutator transaction binding the contract method 0x1fb8b00e.
Solidity: function bind(uint256 _projectId) returns()
func (*ProjectTransactor) Initialize ¶
func (_Project *ProjectTransactor) Initialize(opts *bind.TransactOpts, _project common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _project) returns()
func (*ProjectTransactor) Pause ¶
func (_Project *ProjectTransactor) Pause(opts *bind.TransactOpts, _projectId *big.Int) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x136439dd.
Solidity: function pause(uint256 _projectId) returns()
func (*ProjectTransactor) RenounceOwnership ¶
func (_Project *ProjectTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProjectTransactor) Resume ¶
func (_Project *ProjectTransactor) Resume(opts *bind.TransactOpts, _projectId *big.Int) (*types.Transaction, error)
Resume is a paid mutator transaction binding the contract method 0x414000b5.
Solidity: function resume(uint256 _projectId) returns()
func (*ProjectTransactor) SetAttributes ¶
func (_Project *ProjectTransactor) SetAttributes(opts *bind.TransactOpts, _projectId *big.Int, _keys [][32]byte, _values [][]byte) (*types.Transaction, error)
SetAttributes is a paid mutator transaction binding the contract method 0xa122effb.
Solidity: function setAttributes(uint256 _projectId, bytes32[] _keys, bytes[] _values) returns()
func (*ProjectTransactor) SetBinder ¶ added in v0.10.3
func (_Project *ProjectTransactor) SetBinder(opts *bind.TransactOpts, _binder common.Address) (*types.Transaction, error)
SetBinder is a paid mutator transaction binding the contract method 0x536c54fa.
Solidity: function setBinder(address _binder) returns()
func (*ProjectTransactor) TransferOwnership ¶
func (_Project *ProjectTransactor) 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()
func (*ProjectTransactor) UpdateConfig ¶
func (_Project *ProjectTransactor) UpdateConfig(opts *bind.TransactOpts, _projectId *big.Int, _uri string, _hash [32]byte) (*types.Transaction, error)
UpdateConfig is a paid mutator transaction binding the contract method 0x4b597aa3.
Solidity: function updateConfig(uint256 _projectId, string _uri, bytes32 _hash) returns()
type ProjectTransactorRaw ¶
type ProjectTransactorRaw struct {
Contract *ProjectTransactor // Generic write-only contract binding to access the raw methods on
}
ProjectTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ProjectTransactorRaw) Transact ¶
func (_Project *ProjectTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProjectTransactorRaw) Transfer ¶
func (_Project *ProjectTransactorRaw) 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 ProjectTransactorSession ¶
type ProjectTransactorSession struct { Contract *ProjectTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ProjectTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ProjectTransactorSession) Bind ¶ added in v0.10.3
func (_Project *ProjectTransactorSession) Bind(_projectId *big.Int) (*types.Transaction, error)
Bind is a paid mutator transaction binding the contract method 0x1fb8b00e.
Solidity: function bind(uint256 _projectId) returns()
func (*ProjectTransactorSession) Initialize ¶
func (_Project *ProjectTransactorSession) Initialize(_project common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _project) returns()
func (*ProjectTransactorSession) Pause ¶
func (_Project *ProjectTransactorSession) Pause(_projectId *big.Int) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x136439dd.
Solidity: function pause(uint256 _projectId) returns()
func (*ProjectTransactorSession) RenounceOwnership ¶
func (_Project *ProjectTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProjectTransactorSession) Resume ¶
func (_Project *ProjectTransactorSession) Resume(_projectId *big.Int) (*types.Transaction, error)
Resume is a paid mutator transaction binding the contract method 0x414000b5.
Solidity: function resume(uint256 _projectId) returns()
func (*ProjectTransactorSession) SetAttributes ¶
func (_Project *ProjectTransactorSession) SetAttributes(_projectId *big.Int, _keys [][32]byte, _values [][]byte) (*types.Transaction, error)
SetAttributes is a paid mutator transaction binding the contract method 0xa122effb.
Solidity: function setAttributes(uint256 _projectId, bytes32[] _keys, bytes[] _values) returns()
func (*ProjectTransactorSession) SetBinder ¶ added in v0.10.3
func (_Project *ProjectTransactorSession) SetBinder(_binder common.Address) (*types.Transaction, error)
SetBinder is a paid mutator transaction binding the contract method 0x536c54fa.
Solidity: function setBinder(address _binder) returns()
func (*ProjectTransactorSession) TransferOwnership ¶
func (_Project *ProjectTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ProjectTransactorSession) UpdateConfig ¶
func (_Project *ProjectTransactorSession) UpdateConfig(_projectId *big.Int, _uri string, _hash [32]byte) (*types.Transaction, error)
UpdateConfig is a paid mutator transaction binding the contract method 0x4b597aa3.
Solidity: function updateConfig(uint256 _projectId, string _uri, bytes32 _hash) returns()
type W3bstreamProjectProjectConfig ¶
W3bstreamProjectProjectConfig is an auto generated low-level Go binding around an user-defined struct.