ownertoken

package
v0.166.10 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const OwnerTokenABI = "" /* 8091-byte string literal not displayed */

OwnerTokenABI is the input ABI used to generate the binding from.

Variables

View Source
var OwnerTokenBin = "" /* 46804-byte string literal not displayed */

OwnerTokenBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type OwnerToken

type OwnerToken struct {
	OwnerTokenCaller     // Read-only binding to the contract
	OwnerTokenTransactor // Write-only binding to the contract
	OwnerTokenFilterer   // Log filterer for contract events
}

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

func DeployOwnerToken

func DeployOwnerToken(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, _symbol string, _baseTokenURI string, _masterName string, _masterSymbol string, _masterBaseTokenURI string, _signerPublicKey []byte) (common.Address, *types.Transaction, *OwnerToken, error)

DeployOwnerToken deploys a new Ethereum contract, binding an instance of OwnerToken to it.

func NewOwnerToken

func NewOwnerToken(address common.Address, backend bind.ContractBackend) (*OwnerToken, error)

NewOwnerToken creates a new instance of OwnerToken, bound to a specific deployed contract.

type OwnerTokenApproval

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

OwnerTokenApproval represents a Approval event raised by the OwnerToken contract.

type OwnerTokenApprovalForAll

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

OwnerTokenApprovalForAll represents a ApprovalForAll event raised by the OwnerToken contract.

type OwnerTokenApprovalForAllIterator

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

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

func (*OwnerTokenApprovalForAllIterator) Close

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

func (*OwnerTokenApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*OwnerTokenApprovalIterator) Close

func (it *OwnerTokenApprovalIterator) Close() error

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

func (*OwnerTokenApprovalIterator) Error

func (it *OwnerTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnerTokenApprovalIterator) Next

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

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

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

func NewOwnerTokenCaller

func NewOwnerTokenCaller(address common.Address, caller bind.ContractCaller) (*OwnerTokenCaller, error)

NewOwnerTokenCaller creates a new read-only instance of OwnerToken, bound to a specific deployed contract.

func (*OwnerTokenCaller) BalanceOf

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

func (_OwnerToken *OwnerTokenCaller) BaseTokenURI(opts *bind.CallOpts) (string, error)

BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.

Solidity: function baseTokenURI() view returns(string)

func (*OwnerTokenCaller) GetApproved

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

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

func (_OwnerToken *OwnerTokenCaller) MasterToken(opts *bind.CallOpts) (common.Address, error)

MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.

Solidity: function masterToken() view returns(address)

func (*OwnerTokenCaller) MaxSupply

func (_OwnerToken *OwnerTokenCaller) MaxSupply(opts *bind.CallOpts) (*big.Int, error)

MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.

Solidity: function maxSupply() view returns(uint256)

func (*OwnerTokenCaller) MintedCount

func (_OwnerToken *OwnerTokenCaller) MintedCount(opts *bind.CallOpts) (*big.Int, error)

MintedCount is a free data retrieval call binding the contract method 0xcf721b15.

Solidity: function mintedCount() view returns(uint256)

func (*OwnerTokenCaller) Name

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

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

func (_OwnerToken *OwnerTokenCaller) OwnerToken(opts *bind.CallOpts) (common.Address, error)

OwnerToken is a free data retrieval call binding the contract method 0x65371883.

Solidity: function ownerToken() view returns(address)

func (*OwnerTokenCaller) RemoteBurnable

func (_OwnerToken *OwnerTokenCaller) RemoteBurnable(opts *bind.CallOpts) (bool, error)

RemoteBurnable is a free data retrieval call binding the contract method 0x101639f5.

Solidity: function remoteBurnable() view returns(bool)

func (*OwnerTokenCaller) SignerPublicKey

func (_OwnerToken *OwnerTokenCaller) SignerPublicKey(opts *bind.CallOpts) ([]byte, error)

SignerPublicKey is a free data retrieval call binding the contract method 0x549a95ea.

Solidity: function signerPublicKey() view returns(bytes)

func (*OwnerTokenCaller) SupportsInterface

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

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

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

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

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

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

func (*OwnerTokenCaller) Transferable

func (_OwnerToken *OwnerTokenCaller) Transferable(opts *bind.CallOpts) (bool, error)

Transferable is a free data retrieval call binding the contract method 0x92ff0d31.

Solidity: function transferable() view returns(bool)

type OwnerTokenCallerRaw

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

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

func (*OwnerTokenCallerRaw) Call

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

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

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

func (*OwnerTokenCallerSession) BalanceOf

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

func (_OwnerToken *OwnerTokenCallerSession) BaseTokenURI() (string, error)

BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.

Solidity: function baseTokenURI() view returns(string)

func (*OwnerTokenCallerSession) GetApproved

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

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

func (_OwnerToken *OwnerTokenCallerSession) MasterToken() (common.Address, error)

MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.

Solidity: function masterToken() view returns(address)

func (*OwnerTokenCallerSession) MaxSupply

func (_OwnerToken *OwnerTokenCallerSession) MaxSupply() (*big.Int, error)

MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.

Solidity: function maxSupply() view returns(uint256)

func (*OwnerTokenCallerSession) MintedCount

func (_OwnerToken *OwnerTokenCallerSession) MintedCount() (*big.Int, error)

MintedCount is a free data retrieval call binding the contract method 0xcf721b15.

Solidity: function mintedCount() view returns(uint256)

func (*OwnerTokenCallerSession) Name

func (_OwnerToken *OwnerTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*OwnerTokenCallerSession) OwnerOf

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

func (_OwnerToken *OwnerTokenCallerSession) OwnerToken() (common.Address, error)

OwnerToken is a free data retrieval call binding the contract method 0x65371883.

Solidity: function ownerToken() view returns(address)

func (*OwnerTokenCallerSession) RemoteBurnable

func (_OwnerToken *OwnerTokenCallerSession) RemoteBurnable() (bool, error)

RemoteBurnable is a free data retrieval call binding the contract method 0x101639f5.

Solidity: function remoteBurnable() view returns(bool)

func (*OwnerTokenCallerSession) SignerPublicKey

func (_OwnerToken *OwnerTokenCallerSession) SignerPublicKey() ([]byte, error)

SignerPublicKey is a free data retrieval call binding the contract method 0x549a95ea.

Solidity: function signerPublicKey() view returns(bytes)

func (*OwnerTokenCallerSession) SupportsInterface

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

func (_OwnerToken *OwnerTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*OwnerTokenCallerSession) TokenByIndex

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

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

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

func (_OwnerToken *OwnerTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*OwnerTokenCallerSession) Transferable

func (_OwnerToken *OwnerTokenCallerSession) Transferable() (bool, error)

Transferable is a free data retrieval call binding the contract method 0x92ff0d31.

Solidity: function transferable() view returns(bool)

type OwnerTokenFilterer

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

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

func NewOwnerTokenFilterer

func NewOwnerTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnerTokenFilterer, error)

NewOwnerTokenFilterer creates a new log filterer instance of OwnerToken, bound to a specific deployed contract.

func (*OwnerTokenFilterer) FilterApproval

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

func (_OwnerToken *OwnerTokenFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*OwnerTokenApprovalForAllIterator, 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 (*OwnerTokenFilterer) FilterMasterTokenCreated

func (_OwnerToken *OwnerTokenFilterer) FilterMasterTokenCreated(opts *bind.FilterOpts) (*OwnerTokenMasterTokenCreatedIterator, error)

FilterMasterTokenCreated is a free log retrieval operation binding the contract event 0x02a0dab88b41e2a6fa5a9b4d40c16209315d6158c6a42f30879c8df187132601.

Solidity: event MasterTokenCreated(address masterToken)

func (*OwnerTokenFilterer) FilterTransfer

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

func (_OwnerToken *OwnerTokenFilterer) ParseApproval(log types.Log) (*OwnerTokenApproval, 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 (*OwnerTokenFilterer) ParseApprovalForAll

func (_OwnerToken *OwnerTokenFilterer) ParseApprovalForAll(log types.Log) (*OwnerTokenApprovalForAll, error)

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

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

func (*OwnerTokenFilterer) ParseMasterTokenCreated

func (_OwnerToken *OwnerTokenFilterer) ParseMasterTokenCreated(log types.Log) (*OwnerTokenMasterTokenCreated, error)

ParseMasterTokenCreated is a log parse operation binding the contract event 0x02a0dab88b41e2a6fa5a9b4d40c16209315d6158c6a42f30879c8df187132601.

Solidity: event MasterTokenCreated(address masterToken)

func (*OwnerTokenFilterer) ParseTransfer

func (_OwnerToken *OwnerTokenFilterer) ParseTransfer(log types.Log) (*OwnerTokenTransfer, 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 (*OwnerTokenFilterer) WatchApproval

func (_OwnerToken *OwnerTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *OwnerTokenApproval, 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 (*OwnerTokenFilterer) WatchApprovalForAll

func (_OwnerToken *OwnerTokenFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *OwnerTokenApprovalForAll, 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 (*OwnerTokenFilterer) WatchMasterTokenCreated

func (_OwnerToken *OwnerTokenFilterer) WatchMasterTokenCreated(opts *bind.WatchOpts, sink chan<- *OwnerTokenMasterTokenCreated) (event.Subscription, error)

WatchMasterTokenCreated is a free log subscription operation binding the contract event 0x02a0dab88b41e2a6fa5a9b4d40c16209315d6158c6a42f30879c8df187132601.

Solidity: event MasterTokenCreated(address masterToken)

func (*OwnerTokenFilterer) WatchTransfer

func (_OwnerToken *OwnerTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *OwnerTokenTransfer, 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 OwnerTokenMasterTokenCreated

type OwnerTokenMasterTokenCreated struct {
	MasterToken common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

OwnerTokenMasterTokenCreated represents a MasterTokenCreated event raised by the OwnerToken contract.

type OwnerTokenMasterTokenCreatedIterator

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

OwnerTokenMasterTokenCreatedIterator is returned from FilterMasterTokenCreated and is used to iterate over the raw logs and unpacked data for MasterTokenCreated events raised by the OwnerToken contract.

func (*OwnerTokenMasterTokenCreatedIterator) Close

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

func (*OwnerTokenMasterTokenCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*OwnerTokenRaw) Call

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

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

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

func (*OwnerTokenRaw) Transfer

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

type OwnerTokenSession struct {
	Contract     *OwnerToken       // 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
}

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

func (*OwnerTokenSession) Approve

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

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

func (_OwnerToken *OwnerTokenSession) BaseTokenURI() (string, error)

BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.

Solidity: function baseTokenURI() view returns(string)

func (*OwnerTokenSession) GetApproved

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

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

func (_OwnerToken *OwnerTokenSession) MasterToken() (common.Address, error)

MasterToken is a free data retrieval call binding the contract method 0x2bb5e31e.

Solidity: function masterToken() view returns(address)

func (*OwnerTokenSession) MaxSupply

func (_OwnerToken *OwnerTokenSession) MaxSupply() (*big.Int, error)

MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.

Solidity: function maxSupply() view returns(uint256)

func (*OwnerTokenSession) MintTo

func (_OwnerToken *OwnerTokenSession) MintTo(addresses []common.Address) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0xce7c8b49.

Solidity: function mintTo(address[] addresses) returns()

func (*OwnerTokenSession) MintedCount

func (_OwnerToken *OwnerTokenSession) MintedCount() (*big.Int, error)

MintedCount is a free data retrieval call binding the contract method 0xcf721b15.

Solidity: function mintedCount() view returns(uint256)

func (*OwnerTokenSession) Name

func (_OwnerToken *OwnerTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*OwnerTokenSession) OwnerOf

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

func (_OwnerToken *OwnerTokenSession) OwnerToken() (common.Address, error)

OwnerToken is a free data retrieval call binding the contract method 0x65371883.

Solidity: function ownerToken() view returns(address)

func (*OwnerTokenSession) RemoteBurn

func (_OwnerToken *OwnerTokenSession) RemoteBurn(tokenIds []*big.Int) (*types.Transaction, error)

RemoteBurn is a paid mutator transaction binding the contract method 0x4fb95e02.

Solidity: function remoteBurn(uint256[] tokenIds) returns()

func (*OwnerTokenSession) RemoteBurnable

func (_OwnerToken *OwnerTokenSession) RemoteBurnable() (bool, error)

RemoteBurnable is a free data retrieval call binding the contract method 0x101639f5.

Solidity: function remoteBurnable() view returns(bool)

func (*OwnerTokenSession) SafeTransferFrom

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

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

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

func (_OwnerToken *OwnerTokenSession) SetMaxSupply(_newMaxSupply *big.Int) (*types.Transaction, error)

SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.

Solidity: function setMaxSupply(uint256 _newMaxSupply) returns()

func (*OwnerTokenSession) SetSignerPublicKey

func (_OwnerToken *OwnerTokenSession) SetSignerPublicKey(_newSignerPublicKey []byte) (*types.Transaction, error)

SetSignerPublicKey is a paid mutator transaction binding the contract method 0x9404c91a.

Solidity: function setSignerPublicKey(bytes _newSignerPublicKey) returns()

func (*OwnerTokenSession) SignerPublicKey

func (_OwnerToken *OwnerTokenSession) SignerPublicKey() ([]byte, error)

SignerPublicKey is a free data retrieval call binding the contract method 0x549a95ea.

Solidity: function signerPublicKey() view returns(bytes)

func (*OwnerTokenSession) SupportsInterface

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

func (_OwnerToken *OwnerTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*OwnerTokenSession) TokenByIndex

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

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

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

func (_OwnerToken *OwnerTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*OwnerTokenSession) TransferFrom

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

func (_OwnerToken *OwnerTokenSession) Transferable() (bool, error)

Transferable is a free data retrieval call binding the contract method 0x92ff0d31.

Solidity: function transferable() view returns(bool)

type OwnerTokenTransactor

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

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

func NewOwnerTokenTransactor

func NewOwnerTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnerTokenTransactor, error)

NewOwnerTokenTransactor creates a new write-only instance of OwnerToken, bound to a specific deployed contract.

func (*OwnerTokenTransactor) Approve

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

func (_OwnerToken *OwnerTokenTransactor) MintTo(opts *bind.TransactOpts, addresses []common.Address) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0xce7c8b49.

Solidity: function mintTo(address[] addresses) returns()

func (*OwnerTokenTransactor) RemoteBurn

func (_OwnerToken *OwnerTokenTransactor) RemoteBurn(opts *bind.TransactOpts, tokenIds []*big.Int) (*types.Transaction, error)

RemoteBurn is a paid mutator transaction binding the contract method 0x4fb95e02.

Solidity: function remoteBurn(uint256[] tokenIds) returns()

func (*OwnerTokenTransactor) SafeTransferFrom

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

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

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

func (_OwnerToken *OwnerTokenTransactor) SetMaxSupply(opts *bind.TransactOpts, _newMaxSupply *big.Int) (*types.Transaction, error)

SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.

Solidity: function setMaxSupply(uint256 _newMaxSupply) returns()

func (*OwnerTokenTransactor) SetSignerPublicKey

func (_OwnerToken *OwnerTokenTransactor) SetSignerPublicKey(opts *bind.TransactOpts, _newSignerPublicKey []byte) (*types.Transaction, error)

SetSignerPublicKey is a paid mutator transaction binding the contract method 0x9404c91a.

Solidity: function setSignerPublicKey(bytes _newSignerPublicKey) returns()

func (*OwnerTokenTransactor) TransferFrom

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

type OwnerTokenTransactorRaw

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

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

func (*OwnerTokenTransactorRaw) Transact

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

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

func (*OwnerTokenTransactorRaw) Transfer

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

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

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

func (*OwnerTokenTransactorSession) Approve

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

func (_OwnerToken *OwnerTokenTransactorSession) MintTo(addresses []common.Address) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0xce7c8b49.

Solidity: function mintTo(address[] addresses) returns()

func (*OwnerTokenTransactorSession) RemoteBurn

func (_OwnerToken *OwnerTokenTransactorSession) RemoteBurn(tokenIds []*big.Int) (*types.Transaction, error)

RemoteBurn is a paid mutator transaction binding the contract method 0x4fb95e02.

Solidity: function remoteBurn(uint256[] tokenIds) returns()

func (*OwnerTokenTransactorSession) SafeTransferFrom

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

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

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

func (_OwnerToken *OwnerTokenTransactorSession) SetMaxSupply(_newMaxSupply *big.Int) (*types.Transaction, error)

SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.

Solidity: function setMaxSupply(uint256 _newMaxSupply) returns()

func (*OwnerTokenTransactorSession) SetSignerPublicKey

func (_OwnerToken *OwnerTokenTransactorSession) SetSignerPublicKey(_newSignerPublicKey []byte) (*types.Transaction, error)

SetSignerPublicKey is a paid mutator transaction binding the contract method 0x9404c91a.

Solidity: function setSignerPublicKey(bytes _newSignerPublicKey) returns()

func (*OwnerTokenTransactorSession) TransferFrom

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

type OwnerTokenTransfer

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

OwnerTokenTransfer represents a Transfer event raised by the OwnerToken contract.

type OwnerTokenTransferIterator

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

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

func (*OwnerTokenTransferIterator) Close

func (it *OwnerTokenTransferIterator) Close() error

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

func (*OwnerTokenTransferIterator) Error

func (it *OwnerTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnerTokenTransferIterator) Next

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