service

package
v0.0.0-...-1369677 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ERC721EnumerableABI = "" /* 5175-byte string literal not displayed */

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

View Source
const LeggiABI = "" /* 10035-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type ERC721Enumerable

type ERC721Enumerable struct {
	ERC721EnumerableCaller     // Read-only binding to the contract
	ERC721EnumerableTransactor // Write-only binding to the contract
	ERC721EnumerableFilterer   // Log filterer for contract events
}

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

func NewERC721Enumerable

func NewERC721Enumerable(address common.Address, backend bind.ContractBackend) (*ERC721Enumerable, error)

NewERC721Enumerable creates a new instance of ERC721Enumerable, bound to a specific deployed contract.

type ERC721EnumerableApproval

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

ERC721EnumerableApproval represents a Approval event raised by the ERC721Enumerable contract.

type ERC721EnumerableApprovalForAll

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

ERC721EnumerableApprovalForAll represents a ApprovalForAll event raised by the ERC721Enumerable contract.

type ERC721EnumerableApprovalForAllIterator

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

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

func (*ERC721EnumerableApprovalForAllIterator) Close

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

func (*ERC721EnumerableApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*ERC721EnumerableApprovalIterator) Close

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

func (*ERC721EnumerableApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewERC721EnumerableCaller

func NewERC721EnumerableCaller(address common.Address, caller bind.ContractCaller) (*ERC721EnumerableCaller, error)

NewERC721EnumerableCaller creates a new read-only instance of ERC721Enumerable, bound to a specific deployed contract.

func (*ERC721EnumerableCaller) BalanceOf

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

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

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

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

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

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

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

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

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

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

func (_ERC721Enumerable *ERC721EnumerableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC721EnumerableCallerRaw

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

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

func (*ERC721EnumerableCallerRaw) Call

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

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

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

func (*ERC721EnumerableCallerSession) BalanceOf

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

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

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

func (_ERC721Enumerable *ERC721EnumerableCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC721EnumerableCallerSession) OwnerOf

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

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

func (_ERC721Enumerable *ERC721EnumerableCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC721EnumerableCallerSession) TokenByIndex

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

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

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

func (_ERC721Enumerable *ERC721EnumerableCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC721EnumerableFilterer

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

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

func NewERC721EnumerableFilterer

func NewERC721EnumerableFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721EnumerableFilterer, error)

NewERC721EnumerableFilterer creates a new log filterer instance of ERC721Enumerable, bound to a specific deployed contract.

func (*ERC721EnumerableFilterer) FilterApproval

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

func (_ERC721Enumerable *ERC721EnumerableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721EnumerableApprovalForAllIterator, 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 (*ERC721EnumerableFilterer) FilterTransfer

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

func (_ERC721Enumerable *ERC721EnumerableFilterer) ParseApproval(log types.Log) (*ERC721EnumerableApproval, 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 (*ERC721EnumerableFilterer) ParseApprovalForAll

func (_ERC721Enumerable *ERC721EnumerableFilterer) ParseApprovalForAll(log types.Log) (*ERC721EnumerableApprovalForAll, error)

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

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

func (*ERC721EnumerableFilterer) ParseTransfer

func (_ERC721Enumerable *ERC721EnumerableFilterer) ParseTransfer(log types.Log) (*ERC721EnumerableTransfer, 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 (*ERC721EnumerableFilterer) WatchApproval

func (_ERC721Enumerable *ERC721EnumerableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721EnumerableApproval, 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 (*ERC721EnumerableFilterer) WatchApprovalForAll

func (_ERC721Enumerable *ERC721EnumerableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721EnumerableApprovalForAll, 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 (*ERC721EnumerableFilterer) WatchTransfer

func (_ERC721Enumerable *ERC721EnumerableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721EnumerableTransfer, 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 ERC721EnumerableRaw

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

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

func (*ERC721EnumerableRaw) Call

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

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

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

func (*ERC721EnumerableRaw) Transfer

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

type ERC721EnumerableSession struct {
	Contract     *ERC721Enumerable // 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
}

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

func (*ERC721EnumerableSession) Approve

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

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

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

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

func (_ERC721Enumerable *ERC721EnumerableSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC721EnumerableSession) OwnerOf

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

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

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

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

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

func (_ERC721Enumerable *ERC721EnumerableSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC721EnumerableSession) TokenByIndex

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

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

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

func (_ERC721Enumerable *ERC721EnumerableSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC721EnumerableSession) TransferFrom

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

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

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

func NewERC721EnumerableTransactor

func NewERC721EnumerableTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721EnumerableTransactor, error)

NewERC721EnumerableTransactor creates a new write-only instance of ERC721Enumerable, bound to a specific deployed contract.

func (*ERC721EnumerableTransactor) Approve

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

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

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

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

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

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

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

func (*ERC721EnumerableTransactorRaw) Transact

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

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

func (*ERC721EnumerableTransactorRaw) Transfer

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

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

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

func (*ERC721EnumerableTransactorSession) Approve

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

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

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

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

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

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

ERC721EnumerableTransfer represents a Transfer event raised by the ERC721Enumerable contract.

type ERC721EnumerableTransferIterator

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

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

func (*ERC721EnumerableTransferIterator) Close

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

func (*ERC721EnumerableTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type Leggi struct {
	LeggiCaller     // Read-only binding to the contract
	LeggiTransactor // Write-only binding to the contract
	LeggiFilterer   // Log filterer for contract events
}

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

func NewLeggi

func NewLeggi(address common.Address, backend bind.ContractBackend) (*Leggi, error)

NewLeggi creates a new instance of Leggi, bound to a specific deployed contract.

type LeggiApproval

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

LeggiApproval represents a Approval event raised by the Leggi contract.

type LeggiApprovalForAll

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

LeggiApprovalForAll represents a ApprovalForAll event raised by the Leggi contract.

type LeggiApprovalForAllIterator

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

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

func (*LeggiApprovalForAllIterator) Close

func (it *LeggiApprovalForAllIterator) Close() error

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

func (*LeggiApprovalForAllIterator) Error

func (it *LeggiApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LeggiApprovalForAllIterator) Next

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

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

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

func (*LeggiApprovalIterator) Close

func (it *LeggiApprovalIterator) Close() error

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

func (*LeggiApprovalIterator) Error

func (it *LeggiApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LeggiApprovalIterator) Next

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

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

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

func NewLeggiCaller

func NewLeggiCaller(address common.Address, caller bind.ContractCaller) (*LeggiCaller, error)

NewLeggiCaller creates a new read-only instance of Leggi, bound to a specific deployed contract.

func (*LeggiCaller) AddressMinted

func (_Leggi *LeggiCaller) AddressMinted(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)

AddressMinted is a free data retrieval call binding the contract method 0xf4a66808.

Solidity: function addressMinted(uint256 , address ) view returns(uint256)

func (*LeggiCaller) BalanceOf

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

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

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

func (_Leggi *LeggiCaller) MAXSUPPLY(opts *bind.CallOpts) (*big.Int, error)

MAXSUPPLY is a free data retrieval call binding the contract method 0x32cb6b0c.

Solidity: function MAX_SUPPLY() view returns(uint256)

func (*LeggiCaller) Name

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

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

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

func (_Leggi *LeggiCaller) RoyaltyInfo(opts *bind.CallOpts, tokenId *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.

Solidity: function royaltyInfo(uint256 tokenId, uint256 salePrice) view returns(address receiver, uint256 royaltyAmount)

func (*LeggiCaller) StageMintConfig

func (_Leggi *LeggiCaller) StageMintConfig(opts *bind.CallOpts) (struct {
	StageNum              uint64
	MaxPerStage           uint64
	MaxPerAddress         uint64
	IsWhiteListMintActive bool
	IsPublicMintActive    bool
	BeginTime             uint64
	EndTime               uint64
}, error)

StageMintConfig is a free data retrieval call binding the contract method 0x3173ea1a.

Solidity: function stageMintConfig() view returns(uint64 stageNum, uint64 maxPerStage, uint64 maxPerAddress, bool isWhiteListMintActive, bool isPublicMintActive, uint64 beginTime, uint64 endTime)

func (*LeggiCaller) SupportsInterface

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

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

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

func (_Leggi *LeggiCaller) TotalMinted(opts *bind.CallOpts) (*big.Int, error)

TotalMinted is a free data retrieval call binding the contract method 0xa2309ff8.

Solidity: function totalMinted() view returns(uint256)

func (*LeggiCaller) TotalSupply

func (_Leggi *LeggiCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type LeggiCallerRaw

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

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

func (*LeggiCallerRaw) Call

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

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

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

func (*LeggiCallerSession) AddressMinted

func (_Leggi *LeggiCallerSession) AddressMinted(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

AddressMinted is a free data retrieval call binding the contract method 0xf4a66808.

Solidity: function addressMinted(uint256 , address ) view returns(uint256)

func (*LeggiCallerSession) BalanceOf

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

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

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

func (_Leggi *LeggiCallerSession) MAXSUPPLY() (*big.Int, error)

MAXSUPPLY is a free data retrieval call binding the contract method 0x32cb6b0c.

Solidity: function MAX_SUPPLY() view returns(uint256)

func (*LeggiCallerSession) Name

func (_Leggi *LeggiCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*LeggiCallerSession) Owner

func (_Leggi *LeggiCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*LeggiCallerSession) OwnerOf

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

func (_Leggi *LeggiCallerSession) RoyaltyInfo(tokenId *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.

Solidity: function royaltyInfo(uint256 tokenId, uint256 salePrice) view returns(address receiver, uint256 royaltyAmount)

func (*LeggiCallerSession) StageMintConfig

func (_Leggi *LeggiCallerSession) StageMintConfig() (struct {
	StageNum              uint64
	MaxPerStage           uint64
	MaxPerAddress         uint64
	IsWhiteListMintActive bool
	IsPublicMintActive    bool
	BeginTime             uint64
	EndTime               uint64
}, error)

StageMintConfig is a free data retrieval call binding the contract method 0x3173ea1a.

Solidity: function stageMintConfig() view returns(uint64 stageNum, uint64 maxPerStage, uint64 maxPerAddress, bool isWhiteListMintActive, bool isPublicMintActive, uint64 beginTime, uint64 endTime)

func (*LeggiCallerSession) SupportsInterface

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

func (_Leggi *LeggiCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*LeggiCallerSession) TokenURI

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

func (_Leggi *LeggiCallerSession) TotalMinted() (*big.Int, error)

TotalMinted is a free data retrieval call binding the contract method 0xa2309ff8.

Solidity: function totalMinted() view returns(uint256)

func (*LeggiCallerSession) TotalSupply

func (_Leggi *LeggiCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type LeggiConsecutiveTransfer

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

LeggiConsecutiveTransfer represents a ConsecutiveTransfer event raised by the Leggi contract.

type LeggiConsecutiveTransferIterator

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

LeggiConsecutiveTransferIterator is returned from FilterConsecutiveTransfer and is used to iterate over the raw logs and unpacked data for ConsecutiveTransfer events raised by the Leggi contract.

func (*LeggiConsecutiveTransferIterator) Close

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

func (*LeggiConsecutiveTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewLeggiFilterer

func NewLeggiFilterer(address common.Address, filterer bind.ContractFilterer) (*LeggiFilterer, error)

NewLeggiFilterer creates a new log filterer instance of Leggi, bound to a specific deployed contract.

func (*LeggiFilterer) FilterApproval

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

func (_Leggi *LeggiFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*LeggiApprovalForAllIterator, 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 (*LeggiFilterer) FilterConsecutiveTransfer

func (_Leggi *LeggiFilterer) FilterConsecutiveTransfer(opts *bind.FilterOpts, fromTokenId []*big.Int, from []common.Address, to []common.Address) (*LeggiConsecutiveTransferIterator, error)

FilterConsecutiveTransfer is a free log retrieval operation binding the contract event 0xdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d.

Solidity: event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to)

func (*LeggiFilterer) FilterOwnershipTransferred

func (_Leggi *LeggiFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LeggiOwnershipTransferredIterator, error)

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

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

func (*LeggiFilterer) FilterReceived

func (_Leggi *LeggiFilterer) FilterReceived(opts *bind.FilterOpts, arg0 []common.Address) (*LeggiReceivedIterator, error)

FilterReceived is a free log retrieval operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address indexed arg0, uint256 arg1)

func (*LeggiFilterer) FilterStageMintConfigChanged

func (_Leggi *LeggiFilterer) FilterStageMintConfigChanged(opts *bind.FilterOpts) (*LeggiStageMintConfigChangedIterator, error)

FilterStageMintConfigChanged is a free log retrieval operation binding the contract event 0xd37212ab2e34cdb607238f80545d9144ce37490ecac6d116d15c1ce74bd06fee.

Solidity: event StageMintConfigChanged((uint64,uint64,uint64,bool,bool,uint64,uint64) config)

func (*LeggiFilterer) FilterTransfer

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

func (_Leggi *LeggiFilterer) ParseApproval(log types.Log) (*LeggiApproval, 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 (*LeggiFilterer) ParseApprovalForAll

func (_Leggi *LeggiFilterer) ParseApprovalForAll(log types.Log) (*LeggiApprovalForAll, error)

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

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

func (*LeggiFilterer) ParseConsecutiveTransfer

func (_Leggi *LeggiFilterer) ParseConsecutiveTransfer(log types.Log) (*LeggiConsecutiveTransfer, error)

ParseConsecutiveTransfer is a log parse operation binding the contract event 0xdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d.

Solidity: event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to)

func (*LeggiFilterer) ParseOwnershipTransferred

func (_Leggi *LeggiFilterer) ParseOwnershipTransferred(log types.Log) (*LeggiOwnershipTransferred, error)

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

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

func (*LeggiFilterer) ParseReceived

func (_Leggi *LeggiFilterer) ParseReceived(log types.Log) (*LeggiReceived, error)

ParseReceived is a log parse operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address indexed arg0, uint256 arg1)

func (*LeggiFilterer) ParseStageMintConfigChanged

func (_Leggi *LeggiFilterer) ParseStageMintConfigChanged(log types.Log) (*LeggiStageMintConfigChanged, error)

ParseStageMintConfigChanged is a log parse operation binding the contract event 0xd37212ab2e34cdb607238f80545d9144ce37490ecac6d116d15c1ce74bd06fee.

Solidity: event StageMintConfigChanged((uint64,uint64,uint64,bool,bool,uint64,uint64) config)

func (*LeggiFilterer) ParseTransfer

func (_Leggi *LeggiFilterer) ParseTransfer(log types.Log) (*LeggiTransfer, 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 (*LeggiFilterer) WatchApproval

func (_Leggi *LeggiFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LeggiApproval, 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 (*LeggiFilterer) WatchApprovalForAll

func (_Leggi *LeggiFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *LeggiApprovalForAll, 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 (*LeggiFilterer) WatchConsecutiveTransfer

func (_Leggi *LeggiFilterer) WatchConsecutiveTransfer(opts *bind.WatchOpts, sink chan<- *LeggiConsecutiveTransfer, fromTokenId []*big.Int, from []common.Address, to []common.Address) (event.Subscription, error)

WatchConsecutiveTransfer is a free log subscription operation binding the contract event 0xdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d.

Solidity: event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to)

func (*LeggiFilterer) WatchOwnershipTransferred

func (_Leggi *LeggiFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LeggiOwnershipTransferred, 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 (*LeggiFilterer) WatchReceived

func (_Leggi *LeggiFilterer) WatchReceived(opts *bind.WatchOpts, sink chan<- *LeggiReceived, arg0 []common.Address) (event.Subscription, error)

WatchReceived is a free log subscription operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address indexed arg0, uint256 arg1)

func (*LeggiFilterer) WatchStageMintConfigChanged

func (_Leggi *LeggiFilterer) WatchStageMintConfigChanged(opts *bind.WatchOpts, sink chan<- *LeggiStageMintConfigChanged) (event.Subscription, error)

WatchStageMintConfigChanged is a free log subscription operation binding the contract event 0xd37212ab2e34cdb607238f80545d9144ce37490ecac6d116d15c1ce74bd06fee.

Solidity: event StageMintConfigChanged((uint64,uint64,uint64,bool,bool,uint64,uint64) config)

func (*LeggiFilterer) WatchTransfer

func (_Leggi *LeggiFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LeggiTransfer, 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 LeggiNFTStageMintConfig

type LeggiNFTStageMintConfig struct {
	StageNum              uint64
	MaxPerStage           uint64
	MaxPerAddress         uint64
	IsWhiteListMintActive bool
	IsPublicMintActive    bool
	BeginTime             uint64
	EndTime               uint64
}

LeggiNFTStageMintConfig is an auto generated low-level Go binding around an user-defined struct.

type LeggiOwnershipTransferred

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

LeggiOwnershipTransferred represents a OwnershipTransferred event raised by the Leggi contract.

type LeggiOwnershipTransferredIterator

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

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

func (*LeggiOwnershipTransferredIterator) Close

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

func (*LeggiOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*LeggiRaw) Call

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

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

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

func (*LeggiRaw) Transfer

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

type LeggiReceived struct {
	Arg0 common.Address
	Arg1 *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

LeggiReceived represents a Received event raised by the Leggi contract.

type LeggiReceivedIterator

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

LeggiReceivedIterator is returned from FilterReceived and is used to iterate over the raw logs and unpacked data for Received events raised by the Leggi contract.

func (*LeggiReceivedIterator) Close

func (it *LeggiReceivedIterator) Close() error

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

func (*LeggiReceivedIterator) Error

func (it *LeggiReceivedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LeggiReceivedIterator) Next

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

type LeggiSession struct {
	Contract     *Leggi            // 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
}

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

func (*LeggiSession) AddressMinted

func (_Leggi *LeggiSession) AddressMinted(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

AddressMinted is a free data retrieval call binding the contract method 0xf4a66808.

Solidity: function addressMinted(uint256 , address ) view returns(uint256)

func (*LeggiSession) Approve

func (_Leggi *LeggiSession) 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) payable returns()

func (*LeggiSession) BalanceOf

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

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

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

func (_Leggi *LeggiSession) MAXSUPPLY() (*big.Int, error)

MAXSUPPLY is a free data retrieval call binding the contract method 0x32cb6b0c.

Solidity: function MAX_SUPPLY() view returns(uint256)

func (*LeggiSession) Name

func (_Leggi *LeggiSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*LeggiSession) Owner

func (_Leggi *LeggiSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*LeggiSession) OwnerOf

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

func (_Leggi *LeggiSession) PublicMint(quantity uint64) (*types.Transaction, error)

PublicMint is a paid mutator transaction binding the contract method 0x6afcb7b0.

Solidity: function publicMint(uint64 quantity) returns()

func (*LeggiSession) Receive

func (_Leggi *LeggiSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*LeggiSession) RenounceOwnership

func (_Leggi *LeggiSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*LeggiSession) RoyaltyInfo

func (_Leggi *LeggiSession) RoyaltyInfo(tokenId *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.

Solidity: function royaltyInfo(uint256 tokenId, uint256 salePrice) view returns(address receiver, uint256 royaltyAmount)

func (*LeggiSession) SafeTransferFrom

func (_Leggi *LeggiSession) 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) payable returns()

func (*LeggiSession) SafeTransferFrom0

func (_Leggi *LeggiSession) 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) payable returns()

func (*LeggiSession) SetApprovalForAll

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

func (_Leggi *LeggiSession) SetStageMintConfig(config_ LeggiNFTStageMintConfig) (*types.Transaction, error)

SetStageMintConfig is a paid mutator transaction binding the contract method 0x96d5e0af.

Solidity: function setStageMintConfig((uint64,uint64,uint64,bool,bool,uint64,uint64) config_) returns()

func (*LeggiSession) SetTokenURI

func (_Leggi *LeggiSession) SetTokenURI(tokenURI_ string) (*types.Transaction, error)

SetTokenURI is a paid mutator transaction binding the contract method 0xe0df5b6f.

Solidity: function setTokenURI(string tokenURI_) returns()

func (*LeggiSession) StageMintConfig

func (_Leggi *LeggiSession) StageMintConfig() (struct {
	StageNum              uint64
	MaxPerStage           uint64
	MaxPerAddress         uint64
	IsWhiteListMintActive bool
	IsPublicMintActive    bool
	BeginTime             uint64
	EndTime               uint64
}, error)

StageMintConfig is a free data retrieval call binding the contract method 0x3173ea1a.

Solidity: function stageMintConfig() view returns(uint64 stageNum, uint64 maxPerStage, uint64 maxPerAddress, bool isWhiteListMintActive, bool isPublicMintActive, uint64 beginTime, uint64 endTime)

func (*LeggiSession) SupportsInterface

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

func (_Leggi *LeggiSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*LeggiSession) TokenURI

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

func (_Leggi *LeggiSession) TotalMinted() (*big.Int, error)

TotalMinted is a free data retrieval call binding the contract method 0xa2309ff8.

Solidity: function totalMinted() view returns(uint256)

func (*LeggiSession) TotalSupply

func (_Leggi *LeggiSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*LeggiSession) TransferFrom

func (_Leggi *LeggiSession) 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) payable returns()

func (*LeggiSession) TransferOwnership

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

func (_Leggi *LeggiSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*LeggiSession) WithdrawTokens

func (_Leggi *LeggiSession) WithdrawTokens(token common.Address) (*types.Transaction, error)

WithdrawTokens is a paid mutator transaction binding the contract method 0x49df728c.

Solidity: function withdrawTokens(address token) returns()

type LeggiStageMintConfigChanged

type LeggiStageMintConfigChanged struct {
	Config LeggiNFTStageMintConfig
	Raw    types.Log // Blockchain specific contextual infos
}

LeggiStageMintConfigChanged represents a StageMintConfigChanged event raised by the Leggi contract.

type LeggiStageMintConfigChangedIterator

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

LeggiStageMintConfigChangedIterator is returned from FilterStageMintConfigChanged and is used to iterate over the raw logs and unpacked data for StageMintConfigChanged events raised by the Leggi contract.

func (*LeggiStageMintConfigChangedIterator) Close

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

func (*LeggiStageMintConfigChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewLeggiTransactor

func NewLeggiTransactor(address common.Address, transactor bind.ContractTransactor) (*LeggiTransactor, error)

NewLeggiTransactor creates a new write-only instance of Leggi, bound to a specific deployed contract.

func (*LeggiTransactor) Approve

func (_Leggi *LeggiTransactor) 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) payable returns()

func (*LeggiTransactor) PublicMint

func (_Leggi *LeggiTransactor) PublicMint(opts *bind.TransactOpts, quantity uint64) (*types.Transaction, error)

PublicMint is a paid mutator transaction binding the contract method 0x6afcb7b0.

Solidity: function publicMint(uint64 quantity) returns()

func (*LeggiTransactor) Receive

func (_Leggi *LeggiTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*LeggiTransactor) RenounceOwnership

func (_Leggi *LeggiTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*LeggiTransactor) SafeTransferFrom

func (_Leggi *LeggiTransactor) 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) payable returns()

func (*LeggiTransactor) SafeTransferFrom0

func (_Leggi *LeggiTransactor) 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) payable returns()

func (*LeggiTransactor) SetApprovalForAll

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

func (_Leggi *LeggiTransactor) SetStageMintConfig(opts *bind.TransactOpts, config_ LeggiNFTStageMintConfig) (*types.Transaction, error)

SetStageMintConfig is a paid mutator transaction binding the contract method 0x96d5e0af.

Solidity: function setStageMintConfig((uint64,uint64,uint64,bool,bool,uint64,uint64) config_) returns()

func (*LeggiTransactor) SetTokenURI

func (_Leggi *LeggiTransactor) SetTokenURI(opts *bind.TransactOpts, tokenURI_ string) (*types.Transaction, error)

SetTokenURI is a paid mutator transaction binding the contract method 0xe0df5b6f.

Solidity: function setTokenURI(string tokenURI_) returns()

func (*LeggiTransactor) TransferFrom

func (_Leggi *LeggiTransactor) 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) payable returns()

func (*LeggiTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*LeggiTransactor) Withdraw

func (_Leggi *LeggiTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*LeggiTransactor) WithdrawTokens

func (_Leggi *LeggiTransactor) WithdrawTokens(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

WithdrawTokens is a paid mutator transaction binding the contract method 0x49df728c.

Solidity: function withdrawTokens(address token) returns()

type LeggiTransactorRaw

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

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

func (*LeggiTransactorRaw) Transact

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

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

func (*LeggiTransactorRaw) Transfer

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

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

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

func (*LeggiTransactorSession) Approve

func (_Leggi *LeggiTransactorSession) 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) payable returns()

func (*LeggiTransactorSession) PublicMint

func (_Leggi *LeggiTransactorSession) PublicMint(quantity uint64) (*types.Transaction, error)

PublicMint is a paid mutator transaction binding the contract method 0x6afcb7b0.

Solidity: function publicMint(uint64 quantity) returns()

func (*LeggiTransactorSession) Receive

func (_Leggi *LeggiTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*LeggiTransactorSession) RenounceOwnership

func (_Leggi *LeggiTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*LeggiTransactorSession) SafeTransferFrom

func (_Leggi *LeggiTransactorSession) 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) payable returns()

func (*LeggiTransactorSession) SafeTransferFrom0

func (_Leggi *LeggiTransactorSession) 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) payable returns()

func (*LeggiTransactorSession) SetApprovalForAll

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

func (_Leggi *LeggiTransactorSession) SetStageMintConfig(config_ LeggiNFTStageMintConfig) (*types.Transaction, error)

SetStageMintConfig is a paid mutator transaction binding the contract method 0x96d5e0af.

Solidity: function setStageMintConfig((uint64,uint64,uint64,bool,bool,uint64,uint64) config_) returns()

func (*LeggiTransactorSession) SetTokenURI

func (_Leggi *LeggiTransactorSession) SetTokenURI(tokenURI_ string) (*types.Transaction, error)

SetTokenURI is a paid mutator transaction binding the contract method 0xe0df5b6f.

Solidity: function setTokenURI(string tokenURI_) returns()

func (*LeggiTransactorSession) TransferFrom

func (_Leggi *LeggiTransactorSession) 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) payable returns()

func (*LeggiTransactorSession) TransferOwnership

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

func (_Leggi *LeggiTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*LeggiTransactorSession) WithdrawTokens

func (_Leggi *LeggiTransactorSession) WithdrawTokens(token common.Address) (*types.Transaction, error)

WithdrawTokens is a paid mutator transaction binding the contract method 0x49df728c.

Solidity: function withdrawTokens(address token) returns()

type LeggiTransfer

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

LeggiTransfer represents a Transfer event raised by the Leggi contract.

type LeggiTransferIterator

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

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

func (*LeggiTransferIterator) Close

func (it *LeggiTransferIterator) Close() error

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

func (*LeggiTransferIterator) Error

func (it *LeggiTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LeggiTransferIterator) Next

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