contracts

package
v2.0.6-rc1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProjectABI = ProjectMetaData.ABI

ProjectABI is the input ABI used to generate the binding from. Deprecated: Use ProjectMetaData.ABI instead.

View Source
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\":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\":\"address\",\"name\":\"minter\",\"type\":\"address\"}],\"name\":\"SetMinter\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"SetName\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"projectId_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"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\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\":[],\"name\":\"renounceOwnership\",\"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\":\"address\",\"name\":\"_minter\",\"type\":\"address\"}],\"name\":\"setMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"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\"}]",
}

ProjectMetaData contains all meta data concerning the Project contract.

View Source
var ProjectRegistryABI = ProjectRegistryMetaData.ABI

ProjectRegistryABI is the input ABI used to generate the binding from. Deprecated: Use ProjectRegistryMetaData.ABI instead.

View Source
var ProjectRegistryMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_project\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"project\",\"outputs\":[{\"internalType\":\"contractIProject\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"register\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"register\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

ProjectRegistryMetaData contains all meta data concerning the ProjectRegistry 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

func NewProject(address common.Address, backend bind.ContractBackend) (*Project, error)

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

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

func (*ProjectApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProjectApprovalForAllIterator) Next

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

type 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 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) 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) Count

func (_Project *ProjectCaller) Count(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function count() view returns(uint256)

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

func (_Project *ProjectCaller) Minter(opts *bind.CallOpts) (common.Address, error)

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, _projectId *big.Int) (string, error)

Name is a free data retrieval call binding the contract method 0x00ad800c.

Solidity: function name(uint256 _projectId) view returns(string)

func (*ProjectCaller) Name0

func (_Project *ProjectCaller) Name0(opts *bind.CallOpts) (string, error)

Name0 is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ProjectCaller) Owner

func (_Project *ProjectCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

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

func (*ProjectCaller) Symbol

func (_Project *ProjectCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ProjectCaller) TokenURI

func (_Project *ProjectCaller) TokenURI(opts *bind.CallOpts, 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)

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) BalanceOf

func (_Project *ProjectCallerSession) BalanceOf(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 (*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

func (_Project *ProjectCallerSession) GetApproved(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 (*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) 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(_projectId *big.Int) (string, error)

Name is a free data retrieval call binding the contract method 0x00ad800c.

Solidity: function name(uint256 _projectId) view returns(string)

func (*ProjectCallerSession) Name0

func (_Project *ProjectCallerSession) Name0() (string, error)

Name0 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

func (_Project *ProjectCallerSession) OwnerOf(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 (*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)

func (*ProjectCallerSession) TokenURI

func (_Project *ProjectCallerSession) 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)

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) 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) FilterSetMinter

func (_Project *ProjectFilterer) FilterSetMinter(opts *bind.FilterOpts, minter []common.Address) (*ProjectSetMinterIterator, error)

FilterSetMinter is a free log retrieval operation binding the contract event 0xcec52196e972044edde8689a1b608e459c5946b7f3e5c8cd3d6d8e126d422e1c.

Solidity: event SetMinter(address indexed minter)

func (*ProjectFilterer) FilterSetName

func (_Project *ProjectFilterer) FilterSetName(opts *bind.FilterOpts, projectId []*big.Int) (*ProjectSetNameIterator, error)

FilterSetName is a free log retrieval operation binding the contract event 0x7c11765983c5884b06a9f2e300c2fd2e648e31cf995bd756ce2647c93c6dbb20.

Solidity: event SetName(uint256 indexed projectId, string name)

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) 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) ParseSetMinter

func (_Project *ProjectFilterer) ParseSetMinter(log types.Log) (*ProjectSetMinter, error)

ParseSetMinter is a log parse operation binding the contract event 0xcec52196e972044edde8689a1b608e459c5946b7f3e5c8cd3d6d8e126d422e1c.

Solidity: event SetMinter(address indexed minter)

func (*ProjectFilterer) ParseSetName

func (_Project *ProjectFilterer) ParseSetName(log types.Log) (*ProjectSetName, error)

ParseSetName is a log parse operation binding the contract event 0x7c11765983c5884b06a9f2e300c2fd2e648e31cf995bd756ce2647c93c6dbb20.

Solidity: event SetName(uint256 indexed projectId, string name)

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) 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) WatchSetMinter

func (_Project *ProjectFilterer) WatchSetMinter(opts *bind.WatchOpts, sink chan<- *ProjectSetMinter, minter []common.Address) (event.Subscription, error)

WatchSetMinter is a free log subscription operation binding the contract event 0xcec52196e972044edde8689a1b608e459c5946b7f3e5c8cd3d6d8e126d422e1c.

Solidity: event SetMinter(address indexed minter)

func (*ProjectFilterer) WatchSetName

func (_Project *ProjectFilterer) WatchSetName(opts *bind.WatchOpts, sink chan<- *ProjectSetName, projectId []*big.Int) (event.Subscription, error)

WatchSetName is a free log subscription operation binding the contract event 0x7c11765983c5884b06a9f2e300c2fd2e648e31cf995bd756ce2647c93c6dbb20.

Solidity: event SetName(uint256 indexed projectId, string name)

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 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

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

func (*ProjectOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProjectOwnershipTransferredIterator) Next

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

type 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 ProjectRegistry

type ProjectRegistry struct {
	ProjectRegistryCaller     // Read-only binding to the contract
	ProjectRegistryTransactor // Write-only binding to the contract
	ProjectRegistryFilterer   // Log filterer for contract events
}

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

func NewProjectRegistry

func NewProjectRegistry(address common.Address, backend bind.ContractBackend) (*ProjectRegistry, error)

NewProjectRegistry creates a new instance of ProjectRegistry, bound to a specific deployed contract.

type ProjectRegistryCaller

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

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

func NewProjectRegistryCaller

func NewProjectRegistryCaller(address common.Address, caller bind.ContractCaller) (*ProjectRegistryCaller, error)

NewProjectRegistryCaller creates a new read-only instance of ProjectRegistry, bound to a specific deployed contract.

func (*ProjectRegistryCaller) Project

func (_ProjectRegistry *ProjectRegistryCaller) Project(opts *bind.CallOpts) (common.Address, error)

Project is a free data retrieval call binding the contract method 0xf60ca60d.

Solidity: function project() view returns(address)

type ProjectRegistryCallerRaw

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

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

func (*ProjectRegistryCallerRaw) Call

func (_ProjectRegistry *ProjectRegistryCallerRaw) 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 ProjectRegistryCallerSession

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

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

func (*ProjectRegistryCallerSession) Project

func (_ProjectRegistry *ProjectRegistryCallerSession) Project() (common.Address, error)

Project is a free data retrieval call binding the contract method 0xf60ca60d.

Solidity: function project() view returns(address)

type ProjectRegistryFilterer

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

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

func NewProjectRegistryFilterer

func NewProjectRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ProjectRegistryFilterer, error)

NewProjectRegistryFilterer creates a new log filterer instance of ProjectRegistry, bound to a specific deployed contract.

func (*ProjectRegistryFilterer) FilterInitialized

func (_ProjectRegistry *ProjectRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProjectRegistryInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*ProjectRegistryFilterer) ParseInitialized

func (_ProjectRegistry *ProjectRegistryFilterer) ParseInitialized(log types.Log) (*ProjectRegistryInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*ProjectRegistryFilterer) WatchInitialized

func (_ProjectRegistry *ProjectRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProjectRegistryInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

type ProjectRegistryInitialized

type ProjectRegistryInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ProjectRegistryInitialized represents a Initialized event raised by the ProjectRegistry contract.

type ProjectRegistryInitializedIterator

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

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

func (*ProjectRegistryInitializedIterator) Close

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

func (*ProjectRegistryInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProjectRegistryInitializedIterator) Next

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

type ProjectRegistryRaw

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

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

func (*ProjectRegistryRaw) Call

func (_ProjectRegistry *ProjectRegistryRaw) 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 (*ProjectRegistryRaw) Transact

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

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

func (*ProjectRegistryRaw) Transfer

func (_ProjectRegistry *ProjectRegistryRaw) 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 ProjectRegistrySession

type ProjectRegistrySession struct {
	Contract     *ProjectRegistry  // 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
}

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

func (*ProjectRegistrySession) Initialize

func (_ProjectRegistry *ProjectRegistrySession) 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 (*ProjectRegistrySession) Project

func (_ProjectRegistry *ProjectRegistrySession) Project() (common.Address, error)

Project is a free data retrieval call binding the contract method 0xf60ca60d.

Solidity: function project() view returns(address)

func (*ProjectRegistrySession) Register

func (_ProjectRegistry *ProjectRegistrySession) Register() (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x1aa3a008.

Solidity: function register() payable returns(uint256)

func (*ProjectRegistrySession) Register0

func (_ProjectRegistry *ProjectRegistrySession) Register0(_name string) (*types.Transaction, error)

Register0 is a paid mutator transaction binding the contract method 0xf2c298be.

Solidity: function register(string _name) payable returns(uint256)

type ProjectRegistryTransactor

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

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

func NewProjectRegistryTransactor

func NewProjectRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ProjectRegistryTransactor, error)

NewProjectRegistryTransactor creates a new write-only instance of ProjectRegistry, bound to a specific deployed contract.

func (*ProjectRegistryTransactor) Initialize

func (_ProjectRegistry *ProjectRegistryTransactor) 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 (*ProjectRegistryTransactor) Register

func (_ProjectRegistry *ProjectRegistryTransactor) Register(opts *bind.TransactOpts) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x1aa3a008.

Solidity: function register() payable returns(uint256)

func (*ProjectRegistryTransactor) Register0

func (_ProjectRegistry *ProjectRegistryTransactor) Register0(opts *bind.TransactOpts, _name string) (*types.Transaction, error)

Register0 is a paid mutator transaction binding the contract method 0xf2c298be.

Solidity: function register(string _name) payable returns(uint256)

type ProjectRegistryTransactorRaw

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

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

func (*ProjectRegistryTransactorRaw) Transact

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

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

func (*ProjectRegistryTransactorRaw) Transfer

func (_ProjectRegistry *ProjectRegistryTransactorRaw) 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 ProjectRegistryTransactorSession

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

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

func (*ProjectRegistryTransactorSession) Initialize

func (_ProjectRegistry *ProjectRegistryTransactorSession) 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 (*ProjectRegistryTransactorSession) Register

func (_ProjectRegistry *ProjectRegistryTransactorSession) Register() (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x1aa3a008.

Solidity: function register() payable returns(uint256)

func (*ProjectRegistryTransactorSession) Register0

func (_ProjectRegistry *ProjectRegistryTransactorSession) Register0(_name string) (*types.Transaction, error)

Register0 is a paid mutator transaction binding the contract method 0xf2c298be.

Solidity: function register(string _name) payable returns(uint256)

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) BalanceOf

func (_Project *ProjectSession) BalanceOf(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 (*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

func (_Project *ProjectSession) GetApproved(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 (*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) 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) Mint0

func (_Project *ProjectSession) Mint0(_owner common.Address, _name string) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xd0def521.

Solidity: function mint(address _owner, string _name) 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(_projectId *big.Int) (string, error)

Name is a free data retrieval call binding the contract method 0x00ad800c.

Solidity: function name(uint256 _projectId) view returns(string)

func (*ProjectSession) Name0

func (_Project *ProjectSession) Name0() (string, error)

Name0 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

func (_Project *ProjectSession) OwnerOf(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 (*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) 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) 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) SetName

func (_Project *ProjectSession) SetName(_projectId *big.Int, _name string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xfe55932a.

Solidity: function setName(uint256 _projectId, string _name) 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()

type ProjectSetMinter

type ProjectSetMinter struct {
	Minter common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ProjectSetMinter represents a SetMinter event raised by the Project contract.

type ProjectSetMinterIterator

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

ProjectSetMinterIterator is returned from FilterSetMinter and is used to iterate over the raw logs and unpacked data for SetMinter events raised by the Project contract.

func (*ProjectSetMinterIterator) Close

func (it *ProjectSetMinterIterator) Close() error

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

func (*ProjectSetMinterIterator) Error

func (it *ProjectSetMinterIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProjectSetMinterIterator) Next

func (it *ProjectSetMinterIterator) 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 ProjectSetName

type ProjectSetName struct {
	ProjectId *big.Int
	Name      string
	Raw       types.Log // Blockchain specific contextual infos
}

ProjectSetName represents a SetName event raised by the Project contract.

type ProjectSetNameIterator

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

ProjectSetNameIterator is returned from FilterSetName and is used to iterate over the raw logs and unpacked data for SetName events raised by the Project contract.

func (*ProjectSetNameIterator) Close

func (it *ProjectSetNameIterator) Close() error

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

func (*ProjectSetNameIterator) Error

func (it *ProjectSetNameIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProjectSetNameIterator) Next

func (it *ProjectSetNameIterator) 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 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) Mint0

func (_Project *ProjectTransactor) Mint0(opts *bind.TransactOpts, _owner common.Address, _name string) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xd0def521.

Solidity: function mint(address _owner, string _name) returns(uint256 projectId_)

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) 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) 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) SetName

func (_Project *ProjectTransactor) SetName(opts *bind.TransactOpts, _projectId *big.Int, _name string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xfe55932a.

Solidity: function setName(uint256 _projectId, string _name) 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()

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) Mint0

func (_Project *ProjectTransactorSession) Mint0(_owner common.Address, _name string) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xd0def521.

Solidity: function mint(address _owner, string _name) returns(uint256 projectId_)

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) 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) 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) SetName

func (_Project *ProjectTransactorSession) SetName(_projectId *big.Int, _name string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xfe55932a.

Solidity: function setName(uint256 _projectId, string _name) 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()

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.

Jump to

Keyboard shortcuts

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