Documentation ¶
Index ¶
- Variables
- type Project
- type ProjectApproval
- type ProjectApprovalForAll
- type ProjectApprovalForAllIterator
- type ProjectApprovalIterator
- type ProjectAttributeSet
- type ProjectAttributeSetIterator
- 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) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, 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) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Project *ProjectCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Project *ProjectCaller) IsPaused(opts *bind.CallOpts, _projectId *big.Int) (bool, error)
- func (_Project *ProjectCaller) Minter(opts *bind.CallOpts) (common.Address, error)
- func (_Project *ProjectCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Project *ProjectCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Project *ProjectCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Project *ProjectCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Project *ProjectCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Project *ProjectCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, 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) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Project *ProjectCallerSession) Config(_projectId *big.Int) (W3bstreamProjectProjectConfig, error)
- func (_Project *ProjectCallerSession) Count() (*big.Int, error)
- func (_Project *ProjectCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Project *ProjectCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Project *ProjectCallerSession) IsPaused(_projectId *big.Int) (bool, error)
- func (_Project *ProjectCallerSession) Minter() (common.Address, error)
- func (_Project *ProjectCallerSession) Name() (string, error)
- func (_Project *ProjectCallerSession) Owner() (common.Address, error)
- func (_Project *ProjectCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Project *ProjectCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Project *ProjectCallerSession) Symbol() (string, error)
- func (_Project *ProjectCallerSession) TokenURI(tokenId *big.Int) (string, error)
- type ProjectFilterer
- func (_Project *ProjectFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*ProjectApprovalIterator, error)
- func (_Project *ProjectFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ProjectApprovalForAllIterator, error)
- func (_Project *ProjectFilterer) FilterAttributeSet(opts *bind.FilterOpts, projectId []*big.Int, key [][32]byte) (*ProjectAttributeSetIterator, error)
- func (_Project *ProjectFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProjectInitializedIterator, error)
- func (_Project *ProjectFilterer) FilterMinterSet(opts *bind.FilterOpts, minter []common.Address) (*ProjectMinterSetIterator, error)
- func (_Project *ProjectFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ProjectOwnershipTransferredIterator, 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) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*ProjectTransferIterator, error)
- func (_Project *ProjectFilterer) ParseApproval(log types.Log) (*ProjectApproval, error)
- func (_Project *ProjectFilterer) ParseApprovalForAll(log types.Log) (*ProjectApprovalForAll, error)
- func (_Project *ProjectFilterer) ParseAttributeSet(log types.Log) (*ProjectAttributeSet, error)
- func (_Project *ProjectFilterer) ParseInitialized(log types.Log) (*ProjectInitialized, error)
- func (_Project *ProjectFilterer) ParseMinterSet(log types.Log) (*ProjectMinterSet, error)
- func (_Project *ProjectFilterer) ParseOwnershipTransferred(log types.Log) (*ProjectOwnershipTransferred, 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) ParseTransfer(log types.Log) (*ProjectTransfer, error)
- func (_Project *ProjectFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ProjectApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ProjectApprovalForAll, ...) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchAttributeSet(opts *bind.WatchOpts, sink chan<- *ProjectAttributeSet, projectId []*big.Int, ...) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProjectInitialized) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchMinterSet(opts *bind.WatchOpts, sink chan<- *ProjectMinterSet, minter []common.Address) (event.Subscription, error)
- func (_Project *ProjectFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProjectOwnershipTransferred, ...) (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)
- func (_Project *ProjectFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ProjectTransfer, from []common.Address, ...) (event.Subscription, error)
- type ProjectInitialized
- type ProjectInitializedIterator
- type ProjectMinterSet
- type ProjectMinterSetIterator
- type ProjectOwnershipTransferred
- type ProjectOwnershipTransferredIterator
- 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) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- 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) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Project *ProjectSession) Config(_projectId *big.Int) (W3bstreamProjectProjectConfig, error)
- func (_Project *ProjectSession) Count() (*big.Int, error)
- func (_Project *ProjectSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Project *ProjectSession) Initialize(_name string, _symbol string) (*types.Transaction, error)
- func (_Project *ProjectSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Project *ProjectSession) IsPaused(_projectId *big.Int) (bool, error)
- func (_Project *ProjectSession) Mint(_owner common.Address) (*types.Transaction, error)
- func (_Project *ProjectSession) Minter() (common.Address, error)
- func (_Project *ProjectSession) Name() (string, error)
- func (_Project *ProjectSession) Owner() (common.Address, error)
- func (_Project *ProjectSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Project *ProjectSession) Pause(_projectId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectSession) RenounceOwnership() (*types.Transaction, error)
- func (_Project *ProjectSession) Resume(_projectId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Project *ProjectSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Project *ProjectSession) SetAttributes(_projectId *big.Int, _keys [][32]byte, _values [][]byte) (*types.Transaction, error)
- func (_Project *ProjectSession) SetMinter(_minter common.Address) (*types.Transaction, error)
- func (_Project *ProjectSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Project *ProjectSession) Symbol() (string, error)
- func (_Project *ProjectSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Project *ProjectSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*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) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectTransactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string) (*types.Transaction, error)
- func (_Project *ProjectTransactor) Mint(opts *bind.TransactOpts, _owner 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) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Project *ProjectTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Project *ProjectTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Project *ProjectTransactor) SetAttributes(opts *bind.TransactOpts, _projectId *big.Int, _keys [][32]byte, ...) (*types.Transaction, error)
- func (_Project *ProjectTransactor) SetMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)
- func (_Project *ProjectTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to 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) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) Initialize(_name string, _symbol string) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) Mint(_owner 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) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) SetAttributes(_projectId *big.Int, _keys [][32]byte, _values [][]byte) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) SetMinter(_minter common.Address) (*types.Transaction, error)
- func (_Project *ProjectTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*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 ProjectTransfer
- type ProjectTransferIterator
- 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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"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\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"}],\"name\":\"MinterSet\",\"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\"},{\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"isPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"projectId_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"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\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"resume\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"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\":\"_minter\",\"type\":\"address\"}],\"name\":\"setMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"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 ProjectApproval ¶
type ProjectApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ProjectApproval represents a Approval event raised by the Project contract.
type ProjectApprovalForAll ¶
type ProjectApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
ProjectApprovalForAll represents a ApprovalForAll event raised by the Project contract.
type ProjectApprovalForAllIterator ¶
type ProjectApprovalForAllIterator struct { Event *ProjectApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Project contract.
func (*ProjectApprovalForAllIterator) Close ¶
func (it *ProjectApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectApprovalForAllIterator) Error ¶
func (it *ProjectApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectApprovalForAllIterator) Next ¶
func (it *ProjectApprovalForAllIterator) 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 ProjectApprovalIterator ¶
type ProjectApprovalIterator struct { Event *ProjectApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Project contract.
func (*ProjectApprovalIterator) Close ¶
func (it *ProjectApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectApprovalIterator) Error ¶
func (it *ProjectApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectApprovalIterator) Next ¶
func (it *ProjectApprovalIterator) 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 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 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) BalanceOf ¶
func (_Project *ProjectCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
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) GetApproved ¶
func (_Project *ProjectCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*ProjectCaller) IsApprovedForAll ¶
func (_Project *ProjectCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
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) Minter ¶
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*ProjectCaller) Name ¶
func (_Project *ProjectCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ProjectCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ProjectCaller) OwnerOf ¶
func (_Project *ProjectCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ProjectCaller) SupportsInterface ¶
func (_Project *ProjectCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type 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) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
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) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*ProjectCallerSession) IsApprovedForAll ¶
func (_Project *ProjectCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
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) Minter ¶
func (_Project *ProjectCallerSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*ProjectCallerSession) Name ¶
func (_Project *ProjectCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
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)
func (*ProjectCallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ProjectCallerSession) SupportsInterface ¶
func (_Project *ProjectCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ProjectCallerSession) Symbol ¶
func (_Project *ProjectCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
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) FilterApproval ¶
func (_Project *ProjectFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ProjectApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*ProjectFilterer) FilterApprovalForAll ¶
func (_Project *ProjectFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ProjectApprovalForAllIterator, error)
FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
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) 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) FilterMinterSet ¶
func (_Project *ProjectFilterer) FilterMinterSet(opts *bind.FilterOpts, minter []common.Address) (*ProjectMinterSetIterator, error)
FilterMinterSet is a free log retrieval operation binding the contract event 0x726b590ef91a8c76ad05bbe91a57ef84605276528f49cd47d787f558a4e755b6.
Solidity: event MinterSet(address indexed minter)
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) 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) FilterTransfer ¶
func (_Project *ProjectFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ProjectTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*ProjectFilterer) ParseApproval ¶
func (_Project *ProjectFilterer) ParseApproval(log types.Log) (*ProjectApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*ProjectFilterer) ParseApprovalForAll ¶
func (_Project *ProjectFilterer) ParseApprovalForAll(log types.Log) (*ProjectApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
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) 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) ParseMinterSet ¶
func (_Project *ProjectFilterer) ParseMinterSet(log types.Log) (*ProjectMinterSet, error)
ParseMinterSet is a log parse operation binding the contract event 0x726b590ef91a8c76ad05bbe91a57ef84605276528f49cd47d787f558a4e755b6.
Solidity: event MinterSet(address indexed minter)
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) 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) ParseTransfer ¶
func (_Project *ProjectFilterer) ParseTransfer(log types.Log) (*ProjectTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*ProjectFilterer) WatchApproval ¶
func (_Project *ProjectFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ProjectApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*ProjectFilterer) WatchApprovalForAll ¶
func (_Project *ProjectFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ProjectApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)
WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
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) 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) WatchMinterSet ¶
func (_Project *ProjectFilterer) WatchMinterSet(opts *bind.WatchOpts, sink chan<- *ProjectMinterSet, minter []common.Address) (event.Subscription, error)
WatchMinterSet is a free log subscription operation binding the contract event 0x726b590ef91a8c76ad05bbe91a57ef84605276528f49cd47d787f558a4e755b6.
Solidity: event MinterSet(address indexed minter)
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) 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)
func (*ProjectFilterer) WatchTransfer ¶
func (_Project *ProjectFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ProjectTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
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 ProjectMinterSet ¶
type ProjectMinterSet struct { Minter common.Address Raw types.Log // Blockchain specific contextual infos }
ProjectMinterSet represents a MinterSet event raised by the Project contract.
type ProjectMinterSetIterator ¶
type ProjectMinterSetIterator struct { Event *ProjectMinterSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectMinterSetIterator is returned from FilterMinterSet and is used to iterate over the raw logs and unpacked data for MinterSet events raised by the Project contract.
func (*ProjectMinterSetIterator) Close ¶
func (it *ProjectMinterSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectMinterSetIterator) Error ¶
func (it *ProjectMinterSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectMinterSetIterator) Next ¶
func (it *ProjectMinterSetIterator) 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 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) Approve ¶
func (_Project *ProjectSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
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) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
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) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*ProjectSession) Initialize ¶
func (_Project *ProjectSession) Initialize(_name string, _symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string _name, string _symbol) returns()
func (*ProjectSession) IsApprovedForAll ¶
func (_Project *ProjectSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
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) Mint ¶
func (_Project *ProjectSession) Mint(_owner common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address _owner) returns(uint256 projectId_)
func (*ProjectSession) Minter ¶
func (_Project *ProjectSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*ProjectSession) Name ¶
func (_Project *ProjectSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
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 tokenId) 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) 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) SafeTransferFrom ¶
func (_Project *ProjectSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ProjectSession) SafeTransferFrom0 ¶
func (_Project *ProjectSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ProjectSession) SetApprovalForAll ¶
func (_Project *ProjectSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) 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) SetMinter ¶
func (_Project *ProjectSession) SetMinter(_minter common.Address) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.
Solidity: function setMinter(address _minter) returns()
func (*ProjectSession) SupportsInterface ¶
func (_Project *ProjectSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ProjectSession) Symbol ¶
func (_Project *ProjectSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ProjectSession) TokenURI ¶
func (_Project *ProjectSession) TokenURI(tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*ProjectSession) TransferFrom ¶
func (_Project *ProjectSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) 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) Approve ¶
func (_Project *ProjectTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ProjectTransactor) Initialize ¶
func (_Project *ProjectTransactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string _name, string _symbol) returns()
func (*ProjectTransactor) Mint ¶
func (_Project *ProjectTransactor) Mint(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address _owner) returns(uint256 projectId_)
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) SafeTransferFrom ¶
func (_Project *ProjectTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ProjectTransactor) SafeTransferFrom0 ¶
func (_Project *ProjectTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ProjectTransactor) SetApprovalForAll ¶
func (_Project *ProjectTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) 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) SetMinter ¶
func (_Project *ProjectTransactor) SetMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.
Solidity: function setMinter(address _minter) returns()
func (*ProjectTransactor) TransferFrom ¶
func (_Project *ProjectTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) 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) Approve ¶
func (_Project *ProjectTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ProjectTransactorSession) Initialize ¶
func (_Project *ProjectTransactorSession) Initialize(_name string, _symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string _name, string _symbol) returns()
func (*ProjectTransactorSession) Mint ¶
func (_Project *ProjectTransactorSession) Mint(_owner common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address _owner) returns(uint256 projectId_)
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) SafeTransferFrom ¶
func (_Project *ProjectTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ProjectTransactorSession) SafeTransferFrom0 ¶
func (_Project *ProjectTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ProjectTransactorSession) SetApprovalForAll ¶
func (_Project *ProjectTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) 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) SetMinter ¶
func (_Project *ProjectTransactorSession) SetMinter(_minter common.Address) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.
Solidity: function setMinter(address _minter) returns()
func (*ProjectTransactorSession) TransferFrom ¶
func (_Project *ProjectTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) 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 ProjectTransfer ¶
type ProjectTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ProjectTransfer represents a Transfer event raised by the Project contract.
type ProjectTransferIterator ¶
type ProjectTransferIterator struct { Event *ProjectTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProjectTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Project contract.
func (*ProjectTransferIterator) Close ¶
func (it *ProjectTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProjectTransferIterator) Error ¶
func (it *ProjectTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProjectTransferIterator) Next ¶
func (it *ProjectTransferIterator) 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 W3bstreamProjectProjectConfig ¶
W3bstreamProjectProjectConfig is an auto generated low-level Go binding around an user-defined struct.