prover

package
v0.10.2-rc4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProverABI = ProverMetaData.ABI

ProverABI is the input ABI used to generate the binding from. Deprecated: Use ProverMetaData.ABI instead.

View Source
var ProverMetaData = &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\":false,\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"}],\"name\":\"MinterSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"typ\",\"type\":\"uint256\"}],\"name\":\"NodeTypeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"OperatorSet\",\"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\":\"id\",\"type\":\"uint256\"}],\"name\":\"ProverPaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"ProverResumed\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"changeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"_id\",\"type\":\"uint256\"}],\"name\":\"isPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"id_\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"nodeType\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"operator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"ownerOfOperator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"prover\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"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\":\"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\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_type\",\"type\":\"uint256\"}],\"name\":\"updateNodeType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ProverMetaData contains all meta data concerning the Prover contract.

Functions

This section is empty.

Types

type Prover

type Prover struct {
	ProverCaller     // Read-only binding to the contract
	ProverTransactor // Write-only binding to the contract
	ProverFilterer   // Log filterer for contract events
}

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

func NewProver

func NewProver(address common.Address, backend bind.ContractBackend) (*Prover, error)

NewProver creates a new instance of Prover, bound to a specific deployed contract.

type ProverApproval

type ProverApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ProverApproval represents a Approval event raised by the Prover contract.

type ProverApprovalForAll

type ProverApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

ProverApprovalForAll represents a ApprovalForAll event raised by the Prover contract.

type ProverApprovalForAllIterator

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

ProverApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Prover contract.

func (*ProverApprovalForAllIterator) Close

func (it *ProverApprovalForAllIterator) Close() error

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

func (*ProverApprovalForAllIterator) Error

func (it *ProverApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

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

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

ProverApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Prover contract.

func (*ProverApprovalIterator) Close

func (it *ProverApprovalIterator) Close() error

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

func (*ProverApprovalIterator) Error

func (it *ProverApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProverApprovalIterator) Next

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

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

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

func NewProverCaller

func NewProverCaller(address common.Address, caller bind.ContractCaller) (*ProverCaller, error)

NewProverCaller creates a new read-only instance of Prover, bound to a specific deployed contract.

func (*ProverCaller) BalanceOf

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

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

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

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

func (_Prover *ProverCaller) IsPaused(opts *bind.CallOpts, _id *big.Int) (bool, error)

IsPaused is a free data retrieval call binding the contract method 0xbdf2a43c.

Solidity: function isPaused(uint256 _id) view returns(bool)

func (*ProverCaller) Minter added in v0.10.1

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

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

func (_Prover *ProverCaller) NodeType(opts *bind.CallOpts, _id *big.Int) (*big.Int, error)

NodeType is a free data retrieval call binding the contract method 0x1c794b84.

Solidity: function nodeType(uint256 _id) view returns(uint256)

func (*ProverCaller) Operator

func (_Prover *ProverCaller) Operator(opts *bind.CallOpts, _id *big.Int) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0xab3d047f.

Solidity: function operator(uint256 _id) view returns(address)

func (*ProverCaller) Owner

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

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

func (_Prover *ProverCaller) OwnerOfOperator(opts *bind.CallOpts, _operator common.Address) (*big.Int, common.Address, error)

OwnerOfOperator is a free data retrieval call binding the contract method 0xaeb44406.

Solidity: function ownerOfOperator(address _operator) view returns(uint256, address)

func (*ProverCaller) Prover

func (_Prover *ProverCaller) Prover(opts *bind.CallOpts, _id *big.Int) (common.Address, error)

Prover is a free data retrieval call binding the contract method 0x2becbd3e.

Solidity: function prover(uint256 _id) view returns(address)

func (*ProverCaller) SupportsInterface

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

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

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

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

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

func (*ProverCallerRaw) Call

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

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

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

func (*ProverCallerSession) BalanceOf

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

func (_Prover *ProverCallerSession) Count() (*big.Int, error)

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

Solidity: function count() view returns(uint256)

func (*ProverCallerSession) GetApproved

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

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

func (_Prover *ProverCallerSession) IsPaused(_id *big.Int) (bool, error)

IsPaused is a free data retrieval call binding the contract method 0xbdf2a43c.

Solidity: function isPaused(uint256 _id) view returns(bool)

func (*ProverCallerSession) Minter added in v0.10.1

func (_Prover *ProverCallerSession) Minter() (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*ProverCallerSession) Name

func (_Prover *ProverCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ProverCallerSession) NodeType

func (_Prover *ProverCallerSession) NodeType(_id *big.Int) (*big.Int, error)

NodeType is a free data retrieval call binding the contract method 0x1c794b84.

Solidity: function nodeType(uint256 _id) view returns(uint256)

func (*ProverCallerSession) Operator

func (_Prover *ProverCallerSession) Operator(_id *big.Int) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0xab3d047f.

Solidity: function operator(uint256 _id) view returns(address)

func (*ProverCallerSession) Owner

func (_Prover *ProverCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ProverCallerSession) OwnerOf

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

func (_Prover *ProverCallerSession) OwnerOfOperator(_operator common.Address) (*big.Int, common.Address, error)

OwnerOfOperator is a free data retrieval call binding the contract method 0xaeb44406.

Solidity: function ownerOfOperator(address _operator) view returns(uint256, address)

func (*ProverCallerSession) Prover

func (_Prover *ProverCallerSession) Prover(_id *big.Int) (common.Address, error)

Prover is a free data retrieval call binding the contract method 0x2becbd3e.

Solidity: function prover(uint256 _id) view returns(address)

func (*ProverCallerSession) SupportsInterface

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

func (_Prover *ProverCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ProverCallerSession) TokenURI

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

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

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

func NewProverFilterer

func NewProverFilterer(address common.Address, filterer bind.ContractFilterer) (*ProverFilterer, error)

NewProverFilterer creates a new log filterer instance of Prover, bound to a specific deployed contract.

func (*ProverFilterer) FilterApproval

func (_Prover *ProverFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ProverApprovalIterator, 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 (*ProverFilterer) FilterApprovalForAll

func (_Prover *ProverFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ProverApprovalForAllIterator, 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 (*ProverFilterer) FilterInitialized

func (_Prover *ProverFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProverInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*ProverFilterer) FilterMinterSet

func (_Prover *ProverFilterer) FilterMinterSet(opts *bind.FilterOpts) (*ProverMinterSetIterator, error)

FilterMinterSet is a free log retrieval operation binding the contract event 0x726b590ef91a8c76ad05bbe91a57ef84605276528f49cd47d787f558a4e755b6.

Solidity: event MinterSet(address minter)

func (*ProverFilterer) FilterNodeTypeUpdated

func (_Prover *ProverFilterer) FilterNodeTypeUpdated(opts *bind.FilterOpts, id []*big.Int) (*ProverNodeTypeUpdatedIterator, error)

FilterNodeTypeUpdated is a free log retrieval operation binding the contract event 0x09e65b7abf1ac020ee57d85addfaffc3466fbaa144c58cf8d736f09de55820ab.

Solidity: event NodeTypeUpdated(uint256 indexed id, uint256 typ)

func (*ProverFilterer) FilterOperatorSet

func (_Prover *ProverFilterer) FilterOperatorSet(opts *bind.FilterOpts, id []*big.Int, operator []common.Address) (*ProverOperatorSetIterator, error)

FilterOperatorSet is a free log retrieval operation binding the contract event 0x712369dba77e7931b9ec3bd57319108256b9f79ea5b5255122e3c06117421593.

Solidity: event OperatorSet(uint256 indexed id, address indexed operator)

func (*ProverFilterer) FilterOwnershipTransferred

func (_Prover *ProverFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ProverOwnershipTransferredIterator, error)

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

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

func (*ProverFilterer) FilterProverPaused

func (_Prover *ProverFilterer) FilterProverPaused(opts *bind.FilterOpts, id []*big.Int) (*ProverProverPausedIterator, error)

FilterProverPaused is a free log retrieval operation binding the contract event 0x09c10a851184c6f4c4f912c821413d9b27d48061ecf90d270551f40a23131a88.

Solidity: event ProverPaused(uint256 indexed id)

func (*ProverFilterer) FilterProverResumed

func (_Prover *ProverFilterer) FilterProverResumed(opts *bind.FilterOpts, id []*big.Int) (*ProverProverResumedIterator, error)

FilterProverResumed is a free log retrieval operation binding the contract event 0xd5c12038aca4e36d3193c55c06f70eee8f829f1165a9e383c70b00d28e3bfdb9.

Solidity: event ProverResumed(uint256 indexed id)

func (*ProverFilterer) FilterTransfer

func (_Prover *ProverFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ProverTransferIterator, 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 (*ProverFilterer) ParseApproval

func (_Prover *ProverFilterer) ParseApproval(log types.Log) (*ProverApproval, 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 (*ProverFilterer) ParseApprovalForAll

func (_Prover *ProverFilterer) ParseApprovalForAll(log types.Log) (*ProverApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ProverFilterer) ParseInitialized

func (_Prover *ProverFilterer) ParseInitialized(log types.Log) (*ProverInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*ProverFilterer) ParseMinterSet

func (_Prover *ProverFilterer) ParseMinterSet(log types.Log) (*ProverMinterSet, error)

ParseMinterSet is a log parse operation binding the contract event 0x726b590ef91a8c76ad05bbe91a57ef84605276528f49cd47d787f558a4e755b6.

Solidity: event MinterSet(address minter)

func (*ProverFilterer) ParseNodeTypeUpdated

func (_Prover *ProverFilterer) ParseNodeTypeUpdated(log types.Log) (*ProverNodeTypeUpdated, error)

ParseNodeTypeUpdated is a log parse operation binding the contract event 0x09e65b7abf1ac020ee57d85addfaffc3466fbaa144c58cf8d736f09de55820ab.

Solidity: event NodeTypeUpdated(uint256 indexed id, uint256 typ)

func (*ProverFilterer) ParseOperatorSet

func (_Prover *ProverFilterer) ParseOperatorSet(log types.Log) (*ProverOperatorSet, error)

ParseOperatorSet is a log parse operation binding the contract event 0x712369dba77e7931b9ec3bd57319108256b9f79ea5b5255122e3c06117421593.

Solidity: event OperatorSet(uint256 indexed id, address indexed operator)

func (*ProverFilterer) ParseOwnershipTransferred

func (_Prover *ProverFilterer) ParseOwnershipTransferred(log types.Log) (*ProverOwnershipTransferred, error)

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

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

func (*ProverFilterer) ParseProverPaused

func (_Prover *ProverFilterer) ParseProverPaused(log types.Log) (*ProverProverPaused, error)

ParseProverPaused is a log parse operation binding the contract event 0x09c10a851184c6f4c4f912c821413d9b27d48061ecf90d270551f40a23131a88.

Solidity: event ProverPaused(uint256 indexed id)

func (*ProverFilterer) ParseProverResumed

func (_Prover *ProverFilterer) ParseProverResumed(log types.Log) (*ProverProverResumed, error)

ParseProverResumed is a log parse operation binding the contract event 0xd5c12038aca4e36d3193c55c06f70eee8f829f1165a9e383c70b00d28e3bfdb9.

Solidity: event ProverResumed(uint256 indexed id)

func (*ProverFilterer) ParseTransfer

func (_Prover *ProverFilterer) ParseTransfer(log types.Log) (*ProverTransfer, 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 (*ProverFilterer) WatchApproval

func (_Prover *ProverFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ProverApproval, 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 (*ProverFilterer) WatchApprovalForAll

func (_Prover *ProverFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ProverApprovalForAll, 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 (*ProverFilterer) WatchInitialized

func (_Prover *ProverFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProverInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*ProverFilterer) WatchMinterSet

func (_Prover *ProverFilterer) WatchMinterSet(opts *bind.WatchOpts, sink chan<- *ProverMinterSet) (event.Subscription, error)

WatchMinterSet is a free log subscription operation binding the contract event 0x726b590ef91a8c76ad05bbe91a57ef84605276528f49cd47d787f558a4e755b6.

Solidity: event MinterSet(address minter)

func (*ProverFilterer) WatchNodeTypeUpdated

func (_Prover *ProverFilterer) WatchNodeTypeUpdated(opts *bind.WatchOpts, sink chan<- *ProverNodeTypeUpdated, id []*big.Int) (event.Subscription, error)

WatchNodeTypeUpdated is a free log subscription operation binding the contract event 0x09e65b7abf1ac020ee57d85addfaffc3466fbaa144c58cf8d736f09de55820ab.

Solidity: event NodeTypeUpdated(uint256 indexed id, uint256 typ)

func (*ProverFilterer) WatchOperatorSet

func (_Prover *ProverFilterer) WatchOperatorSet(opts *bind.WatchOpts, sink chan<- *ProverOperatorSet, id []*big.Int, operator []common.Address) (event.Subscription, error)

WatchOperatorSet is a free log subscription operation binding the contract event 0x712369dba77e7931b9ec3bd57319108256b9f79ea5b5255122e3c06117421593.

Solidity: event OperatorSet(uint256 indexed id, address indexed operator)

func (*ProverFilterer) WatchOwnershipTransferred

func (_Prover *ProverFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProverOwnershipTransferred, 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 (*ProverFilterer) WatchProverPaused

func (_Prover *ProverFilterer) WatchProverPaused(opts *bind.WatchOpts, sink chan<- *ProverProverPaused, id []*big.Int) (event.Subscription, error)

WatchProverPaused is a free log subscription operation binding the contract event 0x09c10a851184c6f4c4f912c821413d9b27d48061ecf90d270551f40a23131a88.

Solidity: event ProverPaused(uint256 indexed id)

func (*ProverFilterer) WatchProverResumed

func (_Prover *ProverFilterer) WatchProverResumed(opts *bind.WatchOpts, sink chan<- *ProverProverResumed, id []*big.Int) (event.Subscription, error)

WatchProverResumed is a free log subscription operation binding the contract event 0xd5c12038aca4e36d3193c55c06f70eee8f829f1165a9e383c70b00d28e3bfdb9.

Solidity: event ProverResumed(uint256 indexed id)

func (*ProverFilterer) WatchTransfer

func (_Prover *ProverFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ProverTransfer, 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 ProverInitialized

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

ProverInitialized represents a Initialized event raised by the Prover contract.

type ProverInitializedIterator

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

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

func (*ProverInitializedIterator) Close

func (it *ProverInitializedIterator) Close() error

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

func (*ProverInitializedIterator) Error

func (it *ProverInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProverInitializedIterator) Next

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

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

ProverMinterSet represents a MinterSet event raised by the Prover contract.

type ProverMinterSetIterator

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

ProverMinterSetIterator is returned from FilterMinterSet and is used to iterate over the raw logs and unpacked data for MinterSet events raised by the Prover contract.

func (*ProverMinterSetIterator) Close

func (it *ProverMinterSetIterator) Close() error

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

func (*ProverMinterSetIterator) Error

func (it *ProverMinterSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProverMinterSetIterator) Next

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

type ProverNodeTypeUpdated struct {
	Id  *big.Int
	Typ *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

ProverNodeTypeUpdated represents a NodeTypeUpdated event raised by the Prover contract.

type ProverNodeTypeUpdatedIterator

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

ProverNodeTypeUpdatedIterator is returned from FilterNodeTypeUpdated and is used to iterate over the raw logs and unpacked data for NodeTypeUpdated events raised by the Prover contract.

func (*ProverNodeTypeUpdatedIterator) Close

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

func (*ProverNodeTypeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type ProverOperatorSet struct {
	Id       *big.Int
	Operator common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

ProverOperatorSet represents a OperatorSet event raised by the Prover contract.

type ProverOperatorSetIterator

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

ProverOperatorSetIterator is returned from FilterOperatorSet and is used to iterate over the raw logs and unpacked data for OperatorSet events raised by the Prover contract.

func (*ProverOperatorSetIterator) Close

func (it *ProverOperatorSetIterator) Close() error

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

func (*ProverOperatorSetIterator) Error

func (it *ProverOperatorSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProverOperatorSetIterator) Next

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

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

ProverOwnershipTransferred represents a OwnershipTransferred event raised by the Prover contract.

type ProverOwnershipTransferredIterator

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

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

func (*ProverOwnershipTransferredIterator) Close

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

func (*ProverOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

ProverProverPaused represents a ProverPaused event raised by the Prover contract.

type ProverProverPausedIterator

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

ProverProverPausedIterator is returned from FilterProverPaused and is used to iterate over the raw logs and unpacked data for ProverPaused events raised by the Prover contract.

func (*ProverProverPausedIterator) Close

func (it *ProverProverPausedIterator) Close() error

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

func (*ProverProverPausedIterator) Error

func (it *ProverProverPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProverProverPausedIterator) Next

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

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

ProverProverResumed represents a ProverResumed event raised by the Prover contract.

type ProverProverResumedIterator

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

ProverProverResumedIterator is returned from FilterProverResumed and is used to iterate over the raw logs and unpacked data for ProverResumed events raised by the Prover contract.

func (*ProverProverResumedIterator) Close

func (it *ProverProverResumedIterator) Close() error

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

func (*ProverProverResumedIterator) Error

func (it *ProverProverResumedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProverProverResumedIterator) Next

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

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

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

func (*ProverRaw) Call

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

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

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

func (*ProverRaw) Transfer

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

type ProverSession struct {
	Contract     *Prover           // 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
}

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

func (*ProverSession) Approve

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

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

func (_Prover *ProverSession) ChangeOperator(_id *big.Int, _operator common.Address) (*types.Transaction, error)

ChangeOperator is a paid mutator transaction binding the contract method 0x7a3bc817.

Solidity: function changeOperator(uint256 _id, address _operator) returns()

func (*ProverSession) Count

func (_Prover *ProverSession) Count() (*big.Int, error)

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

Solidity: function count() view returns(uint256)

func (*ProverSession) GetApproved

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

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

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

func (_Prover *ProverSession) IsPaused(_id *big.Int) (bool, error)

IsPaused is a free data retrieval call binding the contract method 0xbdf2a43c.

Solidity: function isPaused(uint256 _id) view returns(bool)

func (*ProverSession) Mint

func (_Prover *ProverSession) Mint(_account common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address _account) returns(uint256 id_)

func (*ProverSession) Minter added in v0.10.1

func (_Prover *ProverSession) Minter() (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*ProverSession) Name

func (_Prover *ProverSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ProverSession) NodeType

func (_Prover *ProverSession) NodeType(_id *big.Int) (*big.Int, error)

NodeType is a free data retrieval call binding the contract method 0x1c794b84.

Solidity: function nodeType(uint256 _id) view returns(uint256)

func (*ProverSession) Operator

func (_Prover *ProverSession) Operator(_id *big.Int) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0xab3d047f.

Solidity: function operator(uint256 _id) view returns(address)

func (*ProverSession) Owner

func (_Prover *ProverSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ProverSession) OwnerOf

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

func (_Prover *ProverSession) OwnerOfOperator(_operator common.Address) (*big.Int, common.Address, error)

OwnerOfOperator is a free data retrieval call binding the contract method 0xaeb44406.

Solidity: function ownerOfOperator(address _operator) view returns(uint256, address)

func (*ProverSession) Pause

func (_Prover *ProverSession) Pause(_id *big.Int) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x136439dd.

Solidity: function pause(uint256 _id) returns()

func (*ProverSession) Prover

func (_Prover *ProverSession) Prover(_id *big.Int) (common.Address, error)

Prover is a free data retrieval call binding the contract method 0x2becbd3e.

Solidity: function prover(uint256 _id) view returns(address)

func (*ProverSession) RenounceOwnership

func (_Prover *ProverSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ProverSession) Resume

func (_Prover *ProverSession) Resume(_id *big.Int) (*types.Transaction, error)

Resume is a paid mutator transaction binding the contract method 0x414000b5.

Solidity: function resume(uint256 _id) returns()

func (*ProverSession) SafeTransferFrom

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

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

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

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

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

func (_Prover *ProverSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ProverSession) TokenURI

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

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

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

func (_Prover *ProverSession) UpdateNodeType(_id *big.Int, _type *big.Int) (*types.Transaction, error)

UpdateNodeType is a paid mutator transaction binding the contract method 0x6a07973f.

Solidity: function updateNodeType(uint256 _id, uint256 _type) returns()

type ProverTransactor

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

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

func NewProverTransactor

func NewProverTransactor(address common.Address, transactor bind.ContractTransactor) (*ProverTransactor, error)

NewProverTransactor creates a new write-only instance of Prover, bound to a specific deployed contract.

func (*ProverTransactor) Approve

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

func (_Prover *ProverTransactor) ChangeOperator(opts *bind.TransactOpts, _id *big.Int, _operator common.Address) (*types.Transaction, error)

ChangeOperator is a paid mutator transaction binding the contract method 0x7a3bc817.

Solidity: function changeOperator(uint256 _id, address _operator) returns()

func (*ProverTransactor) Initialize

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

func (_Prover *ProverTransactor) Mint(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address _account) returns(uint256 id_)

func (*ProverTransactor) Pause

func (_Prover *ProverTransactor) Pause(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x136439dd.

Solidity: function pause(uint256 _id) returns()

func (*ProverTransactor) RenounceOwnership

func (_Prover *ProverTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ProverTransactor) Resume

func (_Prover *ProverTransactor) Resume(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)

Resume is a paid mutator transaction binding the contract method 0x414000b5.

Solidity: function resume(uint256 _id) returns()

func (*ProverTransactor) SafeTransferFrom

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

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

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

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

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

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

func (_Prover *ProverTransactor) UpdateNodeType(opts *bind.TransactOpts, _id *big.Int, _type *big.Int) (*types.Transaction, error)

UpdateNodeType is a paid mutator transaction binding the contract method 0x6a07973f.

Solidity: function updateNodeType(uint256 _id, uint256 _type) returns()

type ProverTransactorRaw

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

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

func (*ProverTransactorRaw) Transact

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

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

func (*ProverTransactorRaw) Transfer

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

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

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

func (*ProverTransactorSession) Approve

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

func (_Prover *ProverTransactorSession) ChangeOperator(_id *big.Int, _operator common.Address) (*types.Transaction, error)

ChangeOperator is a paid mutator transaction binding the contract method 0x7a3bc817.

Solidity: function changeOperator(uint256 _id, address _operator) returns()

func (*ProverTransactorSession) Initialize

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

func (_Prover *ProverTransactorSession) Mint(_account common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address _account) returns(uint256 id_)

func (*ProverTransactorSession) Pause

func (_Prover *ProverTransactorSession) Pause(_id *big.Int) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x136439dd.

Solidity: function pause(uint256 _id) returns()

func (*ProverTransactorSession) RenounceOwnership

func (_Prover *ProverTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ProverTransactorSession) Resume

func (_Prover *ProverTransactorSession) Resume(_id *big.Int) (*types.Transaction, error)

Resume is a paid mutator transaction binding the contract method 0x414000b5.

Solidity: function resume(uint256 _id) returns()

func (*ProverTransactorSession) SafeTransferFrom

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

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

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

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

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

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

func (_Prover *ProverTransactorSession) UpdateNodeType(_id *big.Int, _type *big.Int) (*types.Transaction, error)

UpdateNodeType is a paid mutator transaction binding the contract method 0x6a07973f.

Solidity: function updateNodeType(uint256 _id, uint256 _type) returns()

type ProverTransfer

type ProverTransfer struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ProverTransfer represents a Transfer event raised by the Prover contract.

type ProverTransferIterator

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

ProverTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Prover contract.

func (*ProverTransferIterator) Close

func (it *ProverTransferIterator) Close() error

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

func (*ProverTransferIterator) Error

func (it *ProverTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProverTransferIterator) Next

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