generc721

package
v0.0.0-...-7862fbb Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Erc721ABI = Erc721MetaData.ABI

Erc721ABI is the input ABI used to generate the binding from. Deprecated: Use Erc721MetaData.ABI instead.

View Source
var Erc721MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"status\",\"type\":\"string\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"metaDataUri\",\"type\":\"string\"}],\"name\":\"TicketCreated\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FLEXABLENFT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FLEXABLENFT_CREATOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FLEXABLENFT_OPERATOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"FlexableNFTNFTs\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"status\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"metadataHash\",\"type\":\"string\"}],\"name\":\"createTicket\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"metadataHash\",\"type\":\"string\"}],\"name\":\"delegateTicketCreation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"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\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"status\",\"type\":\"string\"}],\"name\":\"setStatus\",\"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\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

Erc721MetaData contains all meta data concerning the Erc721 contract.

Functions

This section is empty.

Types

type Erc721

type Erc721 struct {
	Erc721Caller     // Read-only binding to the contract
	Erc721Transactor // Write-only binding to the contract
	Erc721Filterer   // Log filterer for contract events
}

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

func NewErc721

func NewErc721(address common.Address, backend bind.ContractBackend) (*Erc721, error)

NewErc721 creates a new instance of Erc721, bound to a specific deployed contract.

type Erc721Approval

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

Erc721Approval represents a Approval event raised by the Erc721 contract.

type Erc721ApprovalForAll

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

Erc721ApprovalForAll represents a ApprovalForAll event raised by the Erc721 contract.

type Erc721ApprovalForAllIterator

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

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

func (*Erc721ApprovalForAllIterator) Close

func (it *Erc721ApprovalForAllIterator) Close() error

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

func (*Erc721ApprovalForAllIterator) Error

func (it *Erc721ApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*Erc721ApprovalIterator) Close

func (it *Erc721ApprovalIterator) Close() error

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

func (*Erc721ApprovalIterator) Error

func (it *Erc721ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721ApprovalIterator) Next

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

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

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

func NewErc721Caller

func NewErc721Caller(address common.Address, caller bind.ContractCaller) (*Erc721Caller, error)

NewErc721Caller creates a new read-only instance of Erc721, bound to a specific deployed contract.

func (*Erc721Caller) BalanceOf

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

func (_Erc721 *Erc721Caller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*Erc721Caller) FLEXABLENFTADMINROLE

func (_Erc721 *Erc721Caller) FLEXABLENFTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

FLEXABLENFTADMINROLE is a free data retrieval call binding the contract method 0xea7676c7.

Solidity: function FLEXABLENFT_ADMIN_ROLE() view returns(bytes32)

func (*Erc721Caller) FLEXABLENFTCREATORROLE

func (_Erc721 *Erc721Caller) FLEXABLENFTCREATORROLE(opts *bind.CallOpts) ([32]byte, error)

FLEXABLENFTCREATORROLE is a free data retrieval call binding the contract method 0x0aca6616.

Solidity: function FLEXABLENFT_CREATOR_ROLE() view returns(bytes32)

func (*Erc721Caller) FLEXABLENFTOPERATORROLE

func (_Erc721 *Erc721Caller) FLEXABLENFTOPERATORROLE(opts *bind.CallOpts) ([32]byte, error)

FLEXABLENFTOPERATORROLE is a free data retrieval call binding the contract method 0x36a913b5.

Solidity: function FLEXABLENFT_OPERATOR_ROLE() view returns(bytes32)

func (*Erc721Caller) FlexableNFTNFTs

func (_Erc721 *Erc721Caller) FlexableNFTNFTs(opts *bind.CallOpts, arg0 *big.Int) (string, error)

FlexableNFTNFTs is a free data retrieval call binding the contract method 0x665a6f67.

Solidity: function FlexableNFTNFTs(uint256 ) view returns(string status)

func (*Erc721Caller) GetApproved

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

func (_Erc721 *Erc721Caller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*Erc721Caller) GetRoleMember

func (_Erc721 *Erc721Caller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*Erc721Caller) GetRoleMemberCount

func (_Erc721 *Erc721Caller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*Erc721Caller) HasRole

func (_Erc721 *Erc721Caller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*Erc721Caller) IsApprovedForAll

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

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

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

func (_Erc721 *Erc721Caller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*Erc721Caller) SupportsInterface

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

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

func (_Erc721 *Erc721Caller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*Erc721Caller) TokenOfOwnerByIndex

func (_Erc721 *Erc721Caller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*Erc721Caller) TokenURI

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

func (*Erc721Caller) TotalSupply

func (_Erc721 *Erc721Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type Erc721CallerRaw

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

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

func (*Erc721CallerRaw) Call

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

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

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

func (*Erc721CallerSession) BalanceOf

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

func (_Erc721 *Erc721CallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*Erc721CallerSession) FLEXABLENFTADMINROLE

func (_Erc721 *Erc721CallerSession) FLEXABLENFTADMINROLE() ([32]byte, error)

FLEXABLENFTADMINROLE is a free data retrieval call binding the contract method 0xea7676c7.

Solidity: function FLEXABLENFT_ADMIN_ROLE() view returns(bytes32)

func (*Erc721CallerSession) FLEXABLENFTCREATORROLE

func (_Erc721 *Erc721CallerSession) FLEXABLENFTCREATORROLE() ([32]byte, error)

FLEXABLENFTCREATORROLE is a free data retrieval call binding the contract method 0x0aca6616.

Solidity: function FLEXABLENFT_CREATOR_ROLE() view returns(bytes32)

func (*Erc721CallerSession) FLEXABLENFTOPERATORROLE

func (_Erc721 *Erc721CallerSession) FLEXABLENFTOPERATORROLE() ([32]byte, error)

FLEXABLENFTOPERATORROLE is a free data retrieval call binding the contract method 0x36a913b5.

Solidity: function FLEXABLENFT_OPERATOR_ROLE() view returns(bytes32)

func (*Erc721CallerSession) FlexableNFTNFTs

func (_Erc721 *Erc721CallerSession) FlexableNFTNFTs(arg0 *big.Int) (string, error)

FlexableNFTNFTs is a free data retrieval call binding the contract method 0x665a6f67.

Solidity: function FlexableNFTNFTs(uint256 ) view returns(string status)

func (*Erc721CallerSession) GetApproved

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

func (_Erc721 *Erc721CallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*Erc721CallerSession) GetRoleMember

func (_Erc721 *Erc721CallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*Erc721CallerSession) GetRoleMemberCount

func (_Erc721 *Erc721CallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*Erc721CallerSession) HasRole

func (_Erc721 *Erc721CallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*Erc721CallerSession) IsApprovedForAll

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

func (_Erc721 *Erc721CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Erc721CallerSession) OwnerOf

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

func (_Erc721 *Erc721CallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*Erc721CallerSession) SupportsInterface

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

func (_Erc721 *Erc721CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Erc721CallerSession) TokenByIndex

func (_Erc721 *Erc721CallerSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*Erc721CallerSession) TokenOfOwnerByIndex

func (_Erc721 *Erc721CallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*Erc721CallerSession) TokenURI

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

func (_Erc721 *Erc721CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type Erc721Filterer

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

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

func NewErc721Filterer

func NewErc721Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc721Filterer, error)

NewErc721Filterer creates a new log filterer instance of Erc721, bound to a specific deployed contract.

func (*Erc721Filterer) FilterApproval

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

func (_Erc721 *Erc721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*Erc721ApprovalForAllIterator, 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 (*Erc721Filterer) FilterPaused

func (_Erc721 *Erc721Filterer) FilterPaused(opts *bind.FilterOpts) (*Erc721PausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*Erc721Filterer) FilterRoleAdminChanged

func (_Erc721 *Erc721Filterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*Erc721RoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*Erc721Filterer) FilterRoleGranted

func (_Erc721 *Erc721Filterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*Erc721RoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*Erc721Filterer) FilterRoleRevoked

func (_Erc721 *Erc721Filterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*Erc721RoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*Erc721Filterer) FilterStatusUpdated

func (_Erc721 *Erc721Filterer) FilterStatusUpdated(opts *bind.FilterOpts) (*Erc721StatusUpdatedIterator, error)

FilterStatusUpdated is a free log retrieval operation binding the contract event 0xdc280875b120650ffe3edf5f724f07fd086361a32c2a387fe34b495f5679e77d.

Solidity: event StatusUpdated(uint256 tokenID, string status)

func (*Erc721Filterer) FilterTicketCreated

func (_Erc721 *Erc721Filterer) FilterTicketCreated(opts *bind.FilterOpts, creator []common.Address) (*Erc721TicketCreatedIterator, error)

FilterTicketCreated is a free log retrieval operation binding the contract event 0x0484f94842646b419a0e924ba515b27093fce72662146119168089c5279dd3e4.

Solidity: event TicketCreated(uint256 tokenID, address indexed creator, string metaDataUri)

func (*Erc721Filterer) FilterTransfer

func (_Erc721 *Erc721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*Erc721TransferIterator, 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 (*Erc721Filterer) FilterUnpaused

func (_Erc721 *Erc721Filterer) FilterUnpaused(opts *bind.FilterOpts) (*Erc721UnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*Erc721Filterer) ParseApproval

func (_Erc721 *Erc721Filterer) ParseApproval(log types.Log) (*Erc721Approval, 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 (*Erc721Filterer) ParseApprovalForAll

func (_Erc721 *Erc721Filterer) ParseApprovalForAll(log types.Log) (*Erc721ApprovalForAll, error)

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

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

func (*Erc721Filterer) ParsePaused

func (_Erc721 *Erc721Filterer) ParsePaused(log types.Log) (*Erc721Paused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*Erc721Filterer) ParseRoleAdminChanged

func (_Erc721 *Erc721Filterer) ParseRoleAdminChanged(log types.Log) (*Erc721RoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*Erc721Filterer) ParseRoleGranted

func (_Erc721 *Erc721Filterer) ParseRoleGranted(log types.Log) (*Erc721RoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*Erc721Filterer) ParseRoleRevoked

func (_Erc721 *Erc721Filterer) ParseRoleRevoked(log types.Log) (*Erc721RoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*Erc721Filterer) ParseStatusUpdated

func (_Erc721 *Erc721Filterer) ParseStatusUpdated(log types.Log) (*Erc721StatusUpdated, error)

ParseStatusUpdated is a log parse operation binding the contract event 0xdc280875b120650ffe3edf5f724f07fd086361a32c2a387fe34b495f5679e77d.

Solidity: event StatusUpdated(uint256 tokenID, string status)

func (*Erc721Filterer) ParseTicketCreated

func (_Erc721 *Erc721Filterer) ParseTicketCreated(log types.Log) (*Erc721TicketCreated, error)

ParseTicketCreated is a log parse operation binding the contract event 0x0484f94842646b419a0e924ba515b27093fce72662146119168089c5279dd3e4.

Solidity: event TicketCreated(uint256 tokenID, address indexed creator, string metaDataUri)

func (*Erc721Filterer) ParseTransfer

func (_Erc721 *Erc721Filterer) ParseTransfer(log types.Log) (*Erc721Transfer, 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 (*Erc721Filterer) ParseUnpaused

func (_Erc721 *Erc721Filterer) ParseUnpaused(log types.Log) (*Erc721Unpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*Erc721Filterer) WatchApproval

func (_Erc721 *Erc721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc721Approval, 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 (*Erc721Filterer) WatchApprovalForAll

func (_Erc721 *Erc721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc721ApprovalForAll, 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 (*Erc721Filterer) WatchPaused

func (_Erc721 *Erc721Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *Erc721Paused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*Erc721Filterer) WatchRoleAdminChanged

func (_Erc721 *Erc721Filterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *Erc721RoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*Erc721Filterer) WatchRoleGranted

func (_Erc721 *Erc721Filterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *Erc721RoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*Erc721Filterer) WatchRoleRevoked

func (_Erc721 *Erc721Filterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *Erc721RoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*Erc721Filterer) WatchStatusUpdated

func (_Erc721 *Erc721Filterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *Erc721StatusUpdated) (event.Subscription, error)

WatchStatusUpdated is a free log subscription operation binding the contract event 0xdc280875b120650ffe3edf5f724f07fd086361a32c2a387fe34b495f5679e77d.

Solidity: event StatusUpdated(uint256 tokenID, string status)

func (*Erc721Filterer) WatchTicketCreated

func (_Erc721 *Erc721Filterer) WatchTicketCreated(opts *bind.WatchOpts, sink chan<- *Erc721TicketCreated, creator []common.Address) (event.Subscription, error)

WatchTicketCreated is a free log subscription operation binding the contract event 0x0484f94842646b419a0e924ba515b27093fce72662146119168089c5279dd3e4.

Solidity: event TicketCreated(uint256 tokenID, address indexed creator, string metaDataUri)

func (*Erc721Filterer) WatchTransfer

func (_Erc721 *Erc721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc721Transfer, 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)

func (*Erc721Filterer) WatchUnpaused

func (_Erc721 *Erc721Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *Erc721Unpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type Erc721Paused

type Erc721Paused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

Erc721Paused represents a Paused event raised by the Erc721 contract.

type Erc721PausedIterator

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

Erc721PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Erc721 contract.

func (*Erc721PausedIterator) Close

func (it *Erc721PausedIterator) Close() error

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

func (*Erc721PausedIterator) Error

func (it *Erc721PausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721PausedIterator) Next

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

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

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

func (*Erc721Raw) Call

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

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

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

func (*Erc721Raw) Transfer

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

type Erc721RoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

Erc721RoleAdminChanged represents a RoleAdminChanged event raised by the Erc721 contract.

type Erc721RoleAdminChangedIterator

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

Erc721RoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Erc721 contract.

func (*Erc721RoleAdminChangedIterator) Close

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

func (*Erc721RoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type Erc721RoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

Erc721RoleGranted represents a RoleGranted event raised by the Erc721 contract.

type Erc721RoleGrantedIterator

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

Erc721RoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Erc721 contract.

func (*Erc721RoleGrantedIterator) Close

func (it *Erc721RoleGrantedIterator) Close() error

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

func (*Erc721RoleGrantedIterator) Error

func (it *Erc721RoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721RoleGrantedIterator) Next

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

type Erc721RoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

Erc721RoleRevoked represents a RoleRevoked event raised by the Erc721 contract.

type Erc721RoleRevokedIterator

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

Erc721RoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Erc721 contract.

func (*Erc721RoleRevokedIterator) Close

func (it *Erc721RoleRevokedIterator) Close() error

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

func (*Erc721RoleRevokedIterator) Error

func (it *Erc721RoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721RoleRevokedIterator) Next

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

type Erc721Session struct {
	Contract     *Erc721           // 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
}

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

func (*Erc721Session) Approve

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

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

func (_Erc721 *Erc721Session) Burn(tokenId *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 tokenId) returns()

func (*Erc721Session) CreateTicket

func (_Erc721 *Erc721Session) CreateTicket(metadataHash string) (*types.Transaction, error)

CreateTicket is a paid mutator transaction binding the contract method 0x6897082f.

Solidity: function createTicket(string metadataHash) returns(uint256)

func (*Erc721Session) DEFAULTADMINROLE

func (_Erc721 *Erc721Session) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*Erc721Session) DelegateTicketCreation

func (_Erc721 *Erc721Session) DelegateTicketCreation(creator common.Address, metadataHash string) (*types.Transaction, error)

DelegateTicketCreation is a paid mutator transaction binding the contract method 0x00c95078.

Solidity: function delegateTicketCreation(address creator, string metadataHash) returns(uint256)

func (*Erc721Session) FLEXABLENFTADMINROLE

func (_Erc721 *Erc721Session) FLEXABLENFTADMINROLE() ([32]byte, error)

FLEXABLENFTADMINROLE is a free data retrieval call binding the contract method 0xea7676c7.

Solidity: function FLEXABLENFT_ADMIN_ROLE() view returns(bytes32)

func (*Erc721Session) FLEXABLENFTCREATORROLE

func (_Erc721 *Erc721Session) FLEXABLENFTCREATORROLE() ([32]byte, error)

FLEXABLENFTCREATORROLE is a free data retrieval call binding the contract method 0x0aca6616.

Solidity: function FLEXABLENFT_CREATOR_ROLE() view returns(bytes32)

func (*Erc721Session) FLEXABLENFTOPERATORROLE

func (_Erc721 *Erc721Session) FLEXABLENFTOPERATORROLE() ([32]byte, error)

FLEXABLENFTOPERATORROLE is a free data retrieval call binding the contract method 0x36a913b5.

Solidity: function FLEXABLENFT_OPERATOR_ROLE() view returns(bytes32)

func (*Erc721Session) FlexableNFTNFTs

func (_Erc721 *Erc721Session) FlexableNFTNFTs(arg0 *big.Int) (string, error)

FlexableNFTNFTs is a free data retrieval call binding the contract method 0x665a6f67.

Solidity: function FlexableNFTNFTs(uint256 ) view returns(string status)

func (*Erc721Session) GetApproved

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

func (_Erc721 *Erc721Session) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*Erc721Session) GetRoleMember

func (_Erc721 *Erc721Session) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*Erc721Session) GetRoleMemberCount

func (_Erc721 *Erc721Session) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*Erc721Session) GrantRole

func (_Erc721 *Erc721Session) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*Erc721Session) HasRole

func (_Erc721 *Erc721Session) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*Erc721Session) IsApprovedForAll

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

func (_Erc721 *Erc721Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Erc721Session) OwnerOf

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

func (_Erc721 *Erc721Session) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*Erc721Session) Paused

func (_Erc721 *Erc721Session) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*Erc721Session) RenounceRole

func (_Erc721 *Erc721Session) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*Erc721Session) RevokeRole

func (_Erc721 *Erc721Session) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*Erc721Session) SafeTransferFrom

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

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

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

func (_Erc721 *Erc721Session) SetStatus(tokenId *big.Int, status string) (*types.Transaction, error)

SetStatus is a paid mutator transaction binding the contract method 0x76917df9.

Solidity: function setStatus(uint256 tokenId, string status) returns()

func (*Erc721Session) SupportsInterface

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

func (_Erc721 *Erc721Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Erc721Session) TokenByIndex

func (_Erc721 *Erc721Session) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*Erc721Session) TokenOfOwnerByIndex

func (_Erc721 *Erc721Session) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*Erc721Session) TokenURI

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

func (_Erc721 *Erc721Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*Erc721Session) TransferFrom

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

func (_Erc721 *Erc721Session) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type Erc721StatusUpdated

type Erc721StatusUpdated struct {
	TokenID *big.Int
	Status  string
	Raw     types.Log // Blockchain specific contextual infos
}

Erc721StatusUpdated represents a StatusUpdated event raised by the Erc721 contract.

type Erc721StatusUpdatedIterator

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

Erc721StatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the Erc721 contract.

func (*Erc721StatusUpdatedIterator) Close

func (it *Erc721StatusUpdatedIterator) Close() error

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

func (*Erc721StatusUpdatedIterator) Error

func (it *Erc721StatusUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721StatusUpdatedIterator) Next

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

type Erc721TicketCreated struct {
	TokenID     *big.Int
	Creator     common.Address
	MetaDataUri string
	Raw         types.Log // Blockchain specific contextual infos
}

Erc721TicketCreated represents a TicketCreated event raised by the Erc721 contract.

type Erc721TicketCreatedIterator

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

Erc721TicketCreatedIterator is returned from FilterTicketCreated and is used to iterate over the raw logs and unpacked data for TicketCreated events raised by the Erc721 contract.

func (*Erc721TicketCreatedIterator) Close

func (it *Erc721TicketCreatedIterator) Close() error

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

func (*Erc721TicketCreatedIterator) Error

func (it *Erc721TicketCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721TicketCreatedIterator) Next

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

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

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

func NewErc721Transactor

func NewErc721Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc721Transactor, error)

NewErc721Transactor creates a new write-only instance of Erc721, bound to a specific deployed contract.

func (*Erc721Transactor) Approve

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

func (_Erc721 *Erc721Transactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 tokenId) returns()

func (*Erc721Transactor) CreateTicket

func (_Erc721 *Erc721Transactor) CreateTicket(opts *bind.TransactOpts, metadataHash string) (*types.Transaction, error)

CreateTicket is a paid mutator transaction binding the contract method 0x6897082f.

Solidity: function createTicket(string metadataHash) returns(uint256)

func (*Erc721Transactor) DelegateTicketCreation

func (_Erc721 *Erc721Transactor) DelegateTicketCreation(opts *bind.TransactOpts, creator common.Address, metadataHash string) (*types.Transaction, error)

DelegateTicketCreation is a paid mutator transaction binding the contract method 0x00c95078.

Solidity: function delegateTicketCreation(address creator, string metadataHash) returns(uint256)

func (*Erc721Transactor) GrantRole

func (_Erc721 *Erc721Transactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*Erc721Transactor) Pause

func (_Erc721 *Erc721Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*Erc721Transactor) RenounceRole

func (_Erc721 *Erc721Transactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*Erc721Transactor) RevokeRole

func (_Erc721 *Erc721Transactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*Erc721Transactor) SafeTransferFrom

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

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

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

func (_Erc721 *Erc721Transactor) SetStatus(opts *bind.TransactOpts, tokenId *big.Int, status string) (*types.Transaction, error)

SetStatus is a paid mutator transaction binding the contract method 0x76917df9.

Solidity: function setStatus(uint256 tokenId, string status) returns()

func (*Erc721Transactor) TransferFrom

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

func (_Erc721 *Erc721Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type Erc721TransactorRaw

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

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

func (*Erc721TransactorRaw) Transact

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

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

func (*Erc721TransactorRaw) Transfer

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

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

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

func (*Erc721TransactorSession) Approve

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

func (_Erc721 *Erc721TransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 tokenId) returns()

func (*Erc721TransactorSession) CreateTicket

func (_Erc721 *Erc721TransactorSession) CreateTicket(metadataHash string) (*types.Transaction, error)

CreateTicket is a paid mutator transaction binding the contract method 0x6897082f.

Solidity: function createTicket(string metadataHash) returns(uint256)

func (*Erc721TransactorSession) DelegateTicketCreation

func (_Erc721 *Erc721TransactorSession) DelegateTicketCreation(creator common.Address, metadataHash string) (*types.Transaction, error)

DelegateTicketCreation is a paid mutator transaction binding the contract method 0x00c95078.

Solidity: function delegateTicketCreation(address creator, string metadataHash) returns(uint256)

func (*Erc721TransactorSession) GrantRole

func (_Erc721 *Erc721TransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*Erc721TransactorSession) Pause

func (_Erc721 *Erc721TransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*Erc721TransactorSession) RenounceRole

func (_Erc721 *Erc721TransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*Erc721TransactorSession) RevokeRole

func (_Erc721 *Erc721TransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*Erc721TransactorSession) SafeTransferFrom

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

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

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

func (_Erc721 *Erc721TransactorSession) SetStatus(tokenId *big.Int, status string) (*types.Transaction, error)

SetStatus is a paid mutator transaction binding the contract method 0x76917df9.

Solidity: function setStatus(uint256 tokenId, string status) returns()

func (*Erc721TransactorSession) TransferFrom

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

func (_Erc721 *Erc721TransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type Erc721Transfer

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

Erc721Transfer represents a Transfer event raised by the Erc721 contract.

type Erc721TransferIterator

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

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

func (*Erc721TransferIterator) Close

func (it *Erc721TransferIterator) Close() error

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

func (*Erc721TransferIterator) Error

func (it *Erc721TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721TransferIterator) Next

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

type Erc721Unpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

Erc721Unpaused represents a Unpaused event raised by the Erc721 contract.

type Erc721UnpausedIterator

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

Erc721UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Erc721 contract.

func (*Erc721UnpausedIterator) Close

func (it *Erc721UnpausedIterator) Close() error

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

func (*Erc721UnpausedIterator) Error

func (it *Erc721UnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721UnpausedIterator) Next

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