erc721

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: MPL-2.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\"},{\"internalType\":\"string\",\"name\":\"ERC20name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"ERC20symbol_\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"ERC20amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"ERC20owneraddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"ancientnftname_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"ancientnftsymbol_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"babynftname_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"babynftsymbol_\",\"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\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseExtension\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI_\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"id2\",\"type\":\"uint256\"}],\"name\":\"breed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"id2\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"id3\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkPause\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkancientnftaddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkbabynftaddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"add\",\"type\":\"address\"}],\"name\":\"checkdragonnotbreeded\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkerc20address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkrewardbal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkrewardforancientbal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkrewardforbabybal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimreward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cost\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"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\":\"maxMintAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_mintAmount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_newBaseExtension\",\"type\":\"string\"}],\"name\":\"setBaseExtension\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_newBaseURI\",\"type\":\"string\"}],\"name\":\"setBaseURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newCost\",\"type\":\"uint256\"}],\"name\":\"setCost\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_newBaseURI\",\"type\":\"string\"}],\"name\":\"setbaseuriforancientnft\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_newBaseURI\",\"type\":\"string\"}],\"name\":\"setbaseuriforbabynft\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newmaxMintAmount\",\"type\":\"uint256\"}],\"name\":\"setmaxMintAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"setmaxsupplyforbabynft\",\"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\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"walletofNFT\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"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) BaseExtension

func (_Erc721 *Erc721Caller) BaseExtension(opts *bind.CallOpts) (string, error)

BaseExtension is a free data retrieval call binding the contract method 0xc6682862.

Solidity: function baseExtension() view returns(string)

func (*Erc721Caller) BaseURI

func (_Erc721 *Erc721Caller) BaseURI(opts *bind.CallOpts) (string, error)

BaseURI is a free data retrieval call binding the contract method 0xf259a29e.

Solidity: function baseURI_() view returns(string)

func (*Erc721Caller) CheckPause

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

CheckPause is a free data retrieval call binding the contract method 0xa0b9f0e1.

Solidity: function checkPause() view returns(bool)

func (*Erc721Caller) Checkancientnftaddress

func (_Erc721 *Erc721Caller) Checkancientnftaddress(opts *bind.CallOpts) (common.Address, error)

Checkancientnftaddress is a free data retrieval call binding the contract method 0xe2d358ac.

Solidity: function checkancientnftaddress() view returns(address)

func (*Erc721Caller) Checkbabynftaddress

func (_Erc721 *Erc721Caller) Checkbabynftaddress(opts *bind.CallOpts) (common.Address, error)

Checkbabynftaddress is a free data retrieval call binding the contract method 0x374fdb87.

Solidity: function checkbabynftaddress() view returns(address)

func (*Erc721Caller) Checkdragonnotbreeded

func (_Erc721 *Erc721Caller) Checkdragonnotbreeded(opts *bind.CallOpts, add common.Address) ([]*big.Int, error)

Checkdragonnotbreeded is a free data retrieval call binding the contract method 0xf6368b83.

Solidity: function checkdragonnotbreeded(address add) view returns(uint256[])

func (*Erc721Caller) Checkerc20address

func (_Erc721 *Erc721Caller) Checkerc20address(opts *bind.CallOpts) (common.Address, error)

Checkerc20address is a free data retrieval call binding the contract method 0xbe597c3e.

Solidity: function checkerc20address() view returns(address)

func (*Erc721Caller) Checkrewardbal

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

Checkrewardbal is a free data retrieval call binding the contract method 0x4e157569.

Solidity: function checkrewardbal() view returns(uint256)

func (*Erc721Caller) Checkrewardforancientbal

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

Checkrewardforancientbal is a free data retrieval call binding the contract method 0x8894038d.

Solidity: function checkrewardforancientbal() view returns(uint256)

func (*Erc721Caller) Checkrewardforbabybal

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

Checkrewardforbabybal is a free data retrieval call binding the contract method 0x73508aec.

Solidity: function checkrewardforbabybal() view returns(uint256)

func (*Erc721Caller) Cost

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

Cost is a free data retrieval call binding the contract method 0x13faede6.

Solidity: function cost() view returns(uint256)

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

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

MaxMintAmount is a free data retrieval call binding the contract method 0x239c70ae.

Solidity: function maxMintAmount() view returns(uint256)

func (*Erc721Caller) MaxSupply

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

func (_Erc721 *Erc721Caller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

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

func (*Erc721Caller) WalletofNFT

func (_Erc721 *Erc721Caller) WalletofNFT(opts *bind.CallOpts, _owner common.Address) ([]*big.Int, error)

WalletofNFT is a free data retrieval call binding the contract method 0x2d38f11e.

Solidity: function walletofNFT(address _owner) 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) BaseExtension

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

BaseExtension is a free data retrieval call binding the contract method 0xc6682862.

Solidity: function baseExtension() view returns(string)

func (*Erc721CallerSession) BaseURI

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

BaseURI is a free data retrieval call binding the contract method 0xf259a29e.

Solidity: function baseURI_() view returns(string)

func (*Erc721CallerSession) CheckPause

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

CheckPause is a free data retrieval call binding the contract method 0xa0b9f0e1.

Solidity: function checkPause() view returns(bool)

func (*Erc721CallerSession) Checkancientnftaddress

func (_Erc721 *Erc721CallerSession) Checkancientnftaddress() (common.Address, error)

Checkancientnftaddress is a free data retrieval call binding the contract method 0xe2d358ac.

Solidity: function checkancientnftaddress() view returns(address)

func (*Erc721CallerSession) Checkbabynftaddress

func (_Erc721 *Erc721CallerSession) Checkbabynftaddress() (common.Address, error)

Checkbabynftaddress is a free data retrieval call binding the contract method 0x374fdb87.

Solidity: function checkbabynftaddress() view returns(address)

func (*Erc721CallerSession) Checkdragonnotbreeded

func (_Erc721 *Erc721CallerSession) Checkdragonnotbreeded(add common.Address) ([]*big.Int, error)

Checkdragonnotbreeded is a free data retrieval call binding the contract method 0xf6368b83.

Solidity: function checkdragonnotbreeded(address add) view returns(uint256[])

func (*Erc721CallerSession) Checkerc20address

func (_Erc721 *Erc721CallerSession) Checkerc20address() (common.Address, error)

Checkerc20address is a free data retrieval call binding the contract method 0xbe597c3e.

Solidity: function checkerc20address() view returns(address)

func (*Erc721CallerSession) Checkrewardbal

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

Checkrewardbal is a free data retrieval call binding the contract method 0x4e157569.

Solidity: function checkrewardbal() view returns(uint256)

func (*Erc721CallerSession) Checkrewardforancientbal

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

Checkrewardforancientbal is a free data retrieval call binding the contract method 0x8894038d.

Solidity: function checkrewardforancientbal() view returns(uint256)

func (*Erc721CallerSession) Checkrewardforbabybal

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

Checkrewardforbabybal is a free data retrieval call binding the contract method 0x73508aec.

Solidity: function checkrewardforbabybal() view returns(uint256)

func (*Erc721CallerSession) Cost

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

Cost is a free data retrieval call binding the contract method 0x13faede6.

Solidity: function cost() view returns(uint256)

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

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

MaxMintAmount is a free data retrieval call binding the contract method 0x239c70ae.

Solidity: function maxMintAmount() view returns(uint256)

func (*Erc721CallerSession) MaxSupply

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

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

Solidity: function maxSupply() view returns(uint256)

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

func (_Erc721 *Erc721CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

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)

func (*Erc721CallerSession) WalletofNFT

func (_Erc721 *Erc721CallerSession) WalletofNFT(_owner common.Address) ([]*big.Int, error)

WalletofNFT is a free data retrieval call binding the contract method 0x2d38f11e.

Solidity: function walletofNFT(address _owner) 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) FilterOwnershipTransferred

func (_Erc721 *Erc721Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*Erc721OwnershipTransferredIterator, error)

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

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

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

func (_Erc721 *Erc721Filterer) ParseOwnershipTransferred(log types.Log) (*Erc721OwnershipTransferred, error)

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

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

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

func (_Erc721 *Erc721Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *Erc721OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

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

type Erc721OwnershipTransferred

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

Erc721OwnershipTransferred represents a OwnershipTransferred event raised by the Erc721 contract.

type Erc721OwnershipTransferredIterator

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

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

func (*Erc721OwnershipTransferredIterator) Close

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

func (*Erc721OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

BaseExtension is a free data retrieval call binding the contract method 0xc6682862.

Solidity: function baseExtension() view returns(string)

func (*Erc721Session) BaseURI

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

BaseURI is a free data retrieval call binding the contract method 0xf259a29e.

Solidity: function baseURI_() view returns(string)

func (*Erc721Session) Breed

func (_Erc721 *Erc721Session) Breed(id1 *big.Int, id2 *big.Int) (*types.Transaction, error)

Breed is a paid mutator transaction binding the contract method 0xd9ecad7b.

Solidity: function breed(uint256 id1, uint256 id2) returns()

func (*Erc721Session) Burn

func (_Erc721 *Erc721Session) Burn(id1 *big.Int, id2 *big.Int, id3 *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 id1, uint256 id2, uint256 id3) returns()

func (*Erc721Session) CheckPause

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

CheckPause is a free data retrieval call binding the contract method 0xa0b9f0e1.

Solidity: function checkPause() view returns(bool)

func (*Erc721Session) Checkancientnftaddress

func (_Erc721 *Erc721Session) Checkancientnftaddress() (common.Address, error)

Checkancientnftaddress is a free data retrieval call binding the contract method 0xe2d358ac.

Solidity: function checkancientnftaddress() view returns(address)

func (*Erc721Session) Checkbabynftaddress

func (_Erc721 *Erc721Session) Checkbabynftaddress() (common.Address, error)

Checkbabynftaddress is a free data retrieval call binding the contract method 0x374fdb87.

Solidity: function checkbabynftaddress() view returns(address)

func (*Erc721Session) Checkdragonnotbreeded

func (_Erc721 *Erc721Session) Checkdragonnotbreeded(add common.Address) ([]*big.Int, error)

Checkdragonnotbreeded is a free data retrieval call binding the contract method 0xf6368b83.

Solidity: function checkdragonnotbreeded(address add) view returns(uint256[])

func (*Erc721Session) Checkerc20address

func (_Erc721 *Erc721Session) Checkerc20address() (common.Address, error)

Checkerc20address is a free data retrieval call binding the contract method 0xbe597c3e.

Solidity: function checkerc20address() view returns(address)

func (*Erc721Session) Checkrewardbal

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

Checkrewardbal is a free data retrieval call binding the contract method 0x4e157569.

Solidity: function checkrewardbal() view returns(uint256)

func (*Erc721Session) Checkrewardforancientbal

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

Checkrewardforancientbal is a free data retrieval call binding the contract method 0x8894038d.

Solidity: function checkrewardforancientbal() view returns(uint256)

func (*Erc721Session) Checkrewardforbabybal

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

Checkrewardforbabybal is a free data retrieval call binding the contract method 0x73508aec.

Solidity: function checkrewardforbabybal() view returns(uint256)

func (*Erc721Session) Claim

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

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*Erc721Session) Claimreward

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

Claimreward is a paid mutator transaction binding the contract method 0xbb6bf51d.

Solidity: function claimreward() returns()

func (*Erc721Session) Cost

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

Cost is a free data retrieval call binding the contract method 0x13faede6.

Solidity: function cost() view returns(uint256)

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

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

MaxMintAmount is a free data retrieval call binding the contract method 0x239c70ae.

Solidity: function maxMintAmount() view returns(uint256)

func (*Erc721Session) MaxSupply

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

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

Solidity: function maxSupply() view returns(uint256)

func (*Erc721Session) Mint

func (_Erc721 *Erc721Session) Mint(_to common.Address, _mintAmount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _to, uint256 _mintAmount) payable returns()

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

func (_Erc721 *Erc721Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

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

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

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

Solidity: function renounceOwnership() 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) SetBaseExtension

func (_Erc721 *Erc721Session) SetBaseExtension(_newBaseExtension string) (*types.Transaction, error)

SetBaseExtension is a paid mutator transaction binding the contract method 0xda3ef23f.

Solidity: function setBaseExtension(string _newBaseExtension) returns()

func (*Erc721Session) SetBaseURI

func (_Erc721 *Erc721Session) SetBaseURI(_newBaseURI string) (*types.Transaction, error)

SetBaseURI is a paid mutator transaction binding the contract method 0x55f804b3.

Solidity: function setBaseURI(string _newBaseURI) returns()

func (*Erc721Session) SetCost

func (_Erc721 *Erc721Session) SetCost(_newCost *big.Int) (*types.Transaction, error)

SetCost is a paid mutator transaction binding the contract method 0x44a0d68a.

Solidity: function setCost(uint256 _newCost) returns()

func (*Erc721Session) Setbaseuriforancientnft

func (_Erc721 *Erc721Session) Setbaseuriforancientnft(_newBaseURI string) (*types.Transaction, error)

Setbaseuriforancientnft is a paid mutator transaction binding the contract method 0x5843029b.

Solidity: function setbaseuriforancientnft(string _newBaseURI) returns()

func (*Erc721Session) Setbaseuriforbabynft

func (_Erc721 *Erc721Session) Setbaseuriforbabynft(_newBaseURI string) (*types.Transaction, error)

Setbaseuriforbabynft is a paid mutator transaction binding the contract method 0x056e5a7f.

Solidity: function setbaseuriforbabynft(string _newBaseURI) returns()

func (*Erc721Session) SetmaxMintAmount

func (_Erc721 *Erc721Session) SetmaxMintAmount(_newmaxMintAmount *big.Int) (*types.Transaction, error)

SetmaxMintAmount is a paid mutator transaction binding the contract method 0x7f00c7a6.

Solidity: function setmaxMintAmount(uint256 _newmaxMintAmount) returns()

func (*Erc721Session) Setmaxsupplyforbabynft

func (_Erc721 *Erc721Session) Setmaxsupplyforbabynft(amount *big.Int) (*types.Transaction, error)

Setmaxsupplyforbabynft is a paid mutator transaction binding the contract method 0xcf7f9e95.

Solidity: function setmaxsupplyforbabynft(uint256 amount) 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) TransferOwnership

func (_Erc721 *Erc721Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*Erc721Session) WalletofNFT

func (_Erc721 *Erc721Session) WalletofNFT(_owner common.Address) ([]*big.Int, error)

WalletofNFT is a free data retrieval call binding the contract method 0x2d38f11e.

Solidity: function walletofNFT(address _owner) view returns(uint256[])

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

func (_Erc721 *Erc721Transactor) Breed(opts *bind.TransactOpts, id1 *big.Int, id2 *big.Int) (*types.Transaction, error)

Breed is a paid mutator transaction binding the contract method 0xd9ecad7b.

Solidity: function breed(uint256 id1, uint256 id2) returns()

func (*Erc721Transactor) Burn

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

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

Solidity: function burn(uint256 id1, uint256 id2, uint256 id3) returns()

func (*Erc721Transactor) Claim

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

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*Erc721Transactor) Claimreward

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

Claimreward is a paid mutator transaction binding the contract method 0xbb6bf51d.

Solidity: function claimreward() returns()

func (*Erc721Transactor) Mint

func (_Erc721 *Erc721Transactor) Mint(opts *bind.TransactOpts, _to common.Address, _mintAmount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _to, uint256 _mintAmount) payable 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) RenounceOwnership

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

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

Solidity: function renounceOwnership() 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) SetBaseExtension

func (_Erc721 *Erc721Transactor) SetBaseExtension(opts *bind.TransactOpts, _newBaseExtension string) (*types.Transaction, error)

SetBaseExtension is a paid mutator transaction binding the contract method 0xda3ef23f.

Solidity: function setBaseExtension(string _newBaseExtension) returns()

func (*Erc721Transactor) SetBaseURI

func (_Erc721 *Erc721Transactor) SetBaseURI(opts *bind.TransactOpts, _newBaseURI string) (*types.Transaction, error)

SetBaseURI is a paid mutator transaction binding the contract method 0x55f804b3.

Solidity: function setBaseURI(string _newBaseURI) returns()

func (*Erc721Transactor) SetCost

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

SetCost is a paid mutator transaction binding the contract method 0x44a0d68a.

Solidity: function setCost(uint256 _newCost) returns()

func (*Erc721Transactor) Setbaseuriforancientnft

func (_Erc721 *Erc721Transactor) Setbaseuriforancientnft(opts *bind.TransactOpts, _newBaseURI string) (*types.Transaction, error)

Setbaseuriforancientnft is a paid mutator transaction binding the contract method 0x5843029b.

Solidity: function setbaseuriforancientnft(string _newBaseURI) returns()

func (*Erc721Transactor) Setbaseuriforbabynft

func (_Erc721 *Erc721Transactor) Setbaseuriforbabynft(opts *bind.TransactOpts, _newBaseURI string) (*types.Transaction, error)

Setbaseuriforbabynft is a paid mutator transaction binding the contract method 0x056e5a7f.

Solidity: function setbaseuriforbabynft(string _newBaseURI) returns()

func (*Erc721Transactor) SetmaxMintAmount

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

SetmaxMintAmount is a paid mutator transaction binding the contract method 0x7f00c7a6.

Solidity: function setmaxMintAmount(uint256 _newmaxMintAmount) returns()

func (*Erc721Transactor) Setmaxsupplyforbabynft

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

Setmaxsupplyforbabynft is a paid mutator transaction binding the contract method 0xcf7f9e95.

Solidity: function setmaxsupplyforbabynft(uint256 amount) 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) TransferOwnership

func (_Erc721 *Erc721Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

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

func (_Erc721 *Erc721TransactorSession) Breed(id1 *big.Int, id2 *big.Int) (*types.Transaction, error)

Breed is a paid mutator transaction binding the contract method 0xd9ecad7b.

Solidity: function breed(uint256 id1, uint256 id2) returns()

func (*Erc721TransactorSession) Burn

func (_Erc721 *Erc721TransactorSession) Burn(id1 *big.Int, id2 *big.Int, id3 *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 id1, uint256 id2, uint256 id3) returns()

func (*Erc721TransactorSession) Claim

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

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*Erc721TransactorSession) Claimreward

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

Claimreward is a paid mutator transaction binding the contract method 0xbb6bf51d.

Solidity: function claimreward() returns()

func (*Erc721TransactorSession) Mint

func (_Erc721 *Erc721TransactorSession) Mint(_to common.Address, _mintAmount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _to, uint256 _mintAmount) payable 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) RenounceOwnership

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

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

Solidity: function renounceOwnership() 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) SetBaseExtension

func (_Erc721 *Erc721TransactorSession) SetBaseExtension(_newBaseExtension string) (*types.Transaction, error)

SetBaseExtension is a paid mutator transaction binding the contract method 0xda3ef23f.

Solidity: function setBaseExtension(string _newBaseExtension) returns()

func (*Erc721TransactorSession) SetBaseURI

func (_Erc721 *Erc721TransactorSession) SetBaseURI(_newBaseURI string) (*types.Transaction, error)

SetBaseURI is a paid mutator transaction binding the contract method 0x55f804b3.

Solidity: function setBaseURI(string _newBaseURI) returns()

func (*Erc721TransactorSession) SetCost

func (_Erc721 *Erc721TransactorSession) SetCost(_newCost *big.Int) (*types.Transaction, error)

SetCost is a paid mutator transaction binding the contract method 0x44a0d68a.

Solidity: function setCost(uint256 _newCost) returns()

func (*Erc721TransactorSession) Setbaseuriforancientnft

func (_Erc721 *Erc721TransactorSession) Setbaseuriforancientnft(_newBaseURI string) (*types.Transaction, error)

Setbaseuriforancientnft is a paid mutator transaction binding the contract method 0x5843029b.

Solidity: function setbaseuriforancientnft(string _newBaseURI) returns()

func (*Erc721TransactorSession) Setbaseuriforbabynft

func (_Erc721 *Erc721TransactorSession) Setbaseuriforbabynft(_newBaseURI string) (*types.Transaction, error)

Setbaseuriforbabynft is a paid mutator transaction binding the contract method 0x056e5a7f.

Solidity: function setbaseuriforbabynft(string _newBaseURI) returns()

func (*Erc721TransactorSession) SetmaxMintAmount

func (_Erc721 *Erc721TransactorSession) SetmaxMintAmount(_newmaxMintAmount *big.Int) (*types.Transaction, error)

SetmaxMintAmount is a paid mutator transaction binding the contract method 0x7f00c7a6.

Solidity: function setmaxMintAmount(uint256 _newmaxMintAmount) returns()

func (*Erc721TransactorSession) Setmaxsupplyforbabynft

func (_Erc721 *Erc721TransactorSession) Setmaxsupplyforbabynft(amount *big.Int) (*types.Transaction, error)

Setmaxsupplyforbabynft is a paid mutator transaction binding the contract method 0xcf7f9e95.

Solidity: function setmaxsupplyforbabynft(uint256 amount) 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) TransferOwnership

func (_Erc721 *Erc721TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

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

Jump to

Keyboard shortcuts

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