Documentation ¶
Index ¶
- Variables
- type Aesnft
- type AesnftApproval
- type AesnftApprovalForAll
- type AesnftApprovalForAllIterator
- type AesnftApprovalIterator
- type AesnftCaller
- func (_Aesnft *AesnftCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Aesnft *AesnftCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Aesnft *AesnftCaller) GetTokenId(opts *bind.CallOpts) (*big.Int, error)
- func (_Aesnft *AesnftCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Aesnft *AesnftCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Aesnft *AesnftCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Aesnft *AesnftCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Aesnft *AesnftCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Aesnft *AesnftCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- type AesnftCallerRaw
- type AesnftCallerSession
- func (_Aesnft *AesnftCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Aesnft *AesnftCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Aesnft *AesnftCallerSession) GetTokenId() (*big.Int, error)
- func (_Aesnft *AesnftCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Aesnft *AesnftCallerSession) Name() (string, error)
- func (_Aesnft *AesnftCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Aesnft *AesnftCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Aesnft *AesnftCallerSession) Symbol() (string, error)
- func (_Aesnft *AesnftCallerSession) TokenURI(tokenId *big.Int) (string, error)
- type AesnftFilterer
- func (_Aesnft *AesnftFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*AesnftApprovalIterator, error)
- func (_Aesnft *AesnftFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*AesnftApprovalForAllIterator, error)
- func (_Aesnft *AesnftFilterer) FilterMintNFT(opts *bind.FilterOpts) (*AesnftMintNFTIterator, error)
- func (_Aesnft *AesnftFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*AesnftTransferIterator, error)
- func (_Aesnft *AesnftFilterer) ParseApproval(log types.Log) (*AesnftApproval, error)
- func (_Aesnft *AesnftFilterer) ParseApprovalForAll(log types.Log) (*AesnftApprovalForAll, error)
- func (_Aesnft *AesnftFilterer) ParseMintNFT(log types.Log) (*AesnftMintNFT, error)
- func (_Aesnft *AesnftFilterer) ParseTransfer(log types.Log) (*AesnftTransfer, error)
- func (_Aesnft *AesnftFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *AesnftApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Aesnft *AesnftFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *AesnftApprovalForAll, ...) (event.Subscription, error)
- func (_Aesnft *AesnftFilterer) WatchMintNFT(opts *bind.WatchOpts, sink chan<- *AesnftMintNFT) (event.Subscription, error)
- func (_Aesnft *AesnftFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *AesnftTransfer, from []common.Address, ...) (event.Subscription, error)
- type AesnftMintNFT
- type AesnftMintNFTIterator
- type AesnftRaw
- func (_Aesnft *AesnftRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Aesnft *AesnftRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Aesnft *AesnftRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AesnftSession
- func (_Aesnft *AesnftSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Aesnft *AesnftSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Aesnft *AesnftSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Aesnft *AesnftSession) GetTokenId() (*big.Int, error)
- func (_Aesnft *AesnftSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Aesnft *AesnftSession) Mint(_to common.Address) (*types.Transaction, error)
- func (_Aesnft *AesnftSession) Name() (string, error)
- func (_Aesnft *AesnftSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Aesnft *AesnftSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Aesnft *AesnftSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Aesnft *AesnftSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Aesnft *AesnftSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Aesnft *AesnftSession) Symbol() (string, error)
- func (_Aesnft *AesnftSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Aesnft *AesnftSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type AesnftTransactor
- func (_Aesnft *AesnftTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Aesnft *AesnftTransactor) Mint(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)
- func (_Aesnft *AesnftTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Aesnft *AesnftTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Aesnft *AesnftTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Aesnft *AesnftTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type AesnftTransactorRaw
- type AesnftTransactorSession
- func (_Aesnft *AesnftTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Aesnft *AesnftTransactorSession) Mint(_to common.Address) (*types.Transaction, error)
- func (_Aesnft *AesnftTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Aesnft *AesnftTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Aesnft *AesnftTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Aesnft *AesnftTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type AesnftTransfer
- type AesnftTransferIterator
Constants ¶
This section is empty.
Variables ¶
var AesnftABI = AesnftMetaData.ABI
AesnftABI is the input ABI used to generate the binding from. Deprecated: Use AesnftMetaData.ABI instead.
var AesnftMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_baseUri\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"MintNFT\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"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\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
AesnftMetaData contains all meta data concerning the Aesnft contract.
Functions ¶
This section is empty.
Types ¶
type Aesnft ¶
type Aesnft struct { AesnftCaller // Read-only binding to the contract AesnftTransactor // Write-only binding to the contract AesnftFilterer // Log filterer for contract events }
Aesnft is an auto generated Go binding around an Ethereum contract.
type AesnftApproval ¶
type AesnftApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
AesnftApproval represents a Approval event raised by the Aesnft contract.
type AesnftApprovalForAll ¶
type AesnftApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
AesnftApprovalForAll represents a ApprovalForAll event raised by the Aesnft contract.
type AesnftApprovalForAllIterator ¶
type AesnftApprovalForAllIterator struct { Event *AesnftApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AesnftApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Aesnft contract.
func (*AesnftApprovalForAllIterator) Close ¶
func (it *AesnftApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AesnftApprovalForAllIterator) Error ¶
func (it *AesnftApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AesnftApprovalForAllIterator) Next ¶
func (it *AesnftApprovalForAllIterator) 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 AesnftApprovalIterator ¶
type AesnftApprovalIterator struct { Event *AesnftApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AesnftApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Aesnft contract.
func (*AesnftApprovalIterator) Close ¶
func (it *AesnftApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AesnftApprovalIterator) Error ¶
func (it *AesnftApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AesnftApprovalIterator) Next ¶
func (it *AesnftApprovalIterator) 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 AesnftCaller ¶
type AesnftCaller struct {
// contains filtered or unexported fields
}
AesnftCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAesnftCaller ¶
func NewAesnftCaller(address common.Address, caller bind.ContractCaller) (*AesnftCaller, error)
NewAesnftCaller creates a new read-only instance of Aesnft, bound to a specific deployed contract.
func (*AesnftCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*AesnftCaller) GetApproved ¶
func (_Aesnft *AesnftCaller) 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 (*AesnftCaller) GetTokenId ¶
GetTokenId is a free data retrieval call binding the contract method 0x010a38f5.
Solidity: function getTokenId() view returns(uint256)
func (*AesnftCaller) IsApprovedForAll ¶
func (_Aesnft *AesnftCaller) 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 (*AesnftCaller) Name ¶
func (_Aesnft *AesnftCaller) 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 (*AesnftCaller) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*AesnftCaller) SupportsInterface ¶
func (_Aesnft *AesnftCaller) 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)
type AesnftCallerRaw ¶
type AesnftCallerRaw struct {
Contract *AesnftCaller // Generic read-only contract binding to access the raw methods on
}
AesnftCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AesnftCallerRaw) Call ¶
func (_Aesnft *AesnftCallerRaw) 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 AesnftCallerSession ¶
type AesnftCallerSession struct { Contract *AesnftCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AesnftCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AesnftCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*AesnftCallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*AesnftCallerSession) GetTokenId ¶
func (_Aesnft *AesnftCallerSession) GetTokenId() (*big.Int, error)
GetTokenId is a free data retrieval call binding the contract method 0x010a38f5.
Solidity: function getTokenId() view returns(uint256)
func (*AesnftCallerSession) IsApprovedForAll ¶
func (_Aesnft *AesnftCallerSession) 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 (*AesnftCallerSession) Name ¶
func (_Aesnft *AesnftCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*AesnftCallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*AesnftCallerSession) SupportsInterface ¶
func (_Aesnft *AesnftCallerSession) 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 (*AesnftCallerSession) Symbol ¶
func (_Aesnft *AesnftCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
type AesnftFilterer ¶
type AesnftFilterer struct {
// contains filtered or unexported fields
}
AesnftFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAesnftFilterer ¶
func NewAesnftFilterer(address common.Address, filterer bind.ContractFilterer) (*AesnftFilterer, error)
NewAesnftFilterer creates a new log filterer instance of Aesnft, bound to a specific deployed contract.
func (*AesnftFilterer) FilterApproval ¶
func (_Aesnft *AesnftFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*AesnftApprovalIterator, 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 (*AesnftFilterer) FilterApprovalForAll ¶
func (_Aesnft *AesnftFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*AesnftApprovalForAllIterator, 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 (*AesnftFilterer) FilterMintNFT ¶
func (_Aesnft *AesnftFilterer) FilterMintNFT(opts *bind.FilterOpts) (*AesnftMintNFTIterator, error)
FilterMintNFT is a free log retrieval operation binding the contract event 0xb5b3a7981dde7fe20443bd6dcd881600a7c12bdc69f555088fc9d764178e3fa4.
Solidity: event MintNFT(address from, address to, uint256 tokenId)
func (*AesnftFilterer) FilterTransfer ¶
func (_Aesnft *AesnftFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*AesnftTransferIterator, 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 (*AesnftFilterer) ParseApproval ¶
func (_Aesnft *AesnftFilterer) ParseApproval(log types.Log) (*AesnftApproval, 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 (*AesnftFilterer) ParseApprovalForAll ¶
func (_Aesnft *AesnftFilterer) ParseApprovalForAll(log types.Log) (*AesnftApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*AesnftFilterer) ParseMintNFT ¶
func (_Aesnft *AesnftFilterer) ParseMintNFT(log types.Log) (*AesnftMintNFT, error)
ParseMintNFT is a log parse operation binding the contract event 0xb5b3a7981dde7fe20443bd6dcd881600a7c12bdc69f555088fc9d764178e3fa4.
Solidity: event MintNFT(address from, address to, uint256 tokenId)
func (*AesnftFilterer) ParseTransfer ¶
func (_Aesnft *AesnftFilterer) ParseTransfer(log types.Log) (*AesnftTransfer, 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 (*AesnftFilterer) WatchApproval ¶
func (_Aesnft *AesnftFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *AesnftApproval, 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 (*AesnftFilterer) WatchApprovalForAll ¶
func (_Aesnft *AesnftFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *AesnftApprovalForAll, 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 (*AesnftFilterer) WatchMintNFT ¶
func (_Aesnft *AesnftFilterer) WatchMintNFT(opts *bind.WatchOpts, sink chan<- *AesnftMintNFT) (event.Subscription, error)
WatchMintNFT is a free log subscription operation binding the contract event 0xb5b3a7981dde7fe20443bd6dcd881600a7c12bdc69f555088fc9d764178e3fa4.
Solidity: event MintNFT(address from, address to, uint256 tokenId)
func (*AesnftFilterer) WatchTransfer ¶
func (_Aesnft *AesnftFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *AesnftTransfer, 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 AesnftMintNFT ¶
type AesnftMintNFT struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
AesnftMintNFT represents a MintNFT event raised by the Aesnft contract.
type AesnftMintNFTIterator ¶
type AesnftMintNFTIterator struct { Event *AesnftMintNFT // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AesnftMintNFTIterator is returned from FilterMintNFT and is used to iterate over the raw logs and unpacked data for MintNFT events raised by the Aesnft contract.
func (*AesnftMintNFTIterator) Close ¶
func (it *AesnftMintNFTIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AesnftMintNFTIterator) Error ¶
func (it *AesnftMintNFTIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AesnftMintNFTIterator) Next ¶
func (it *AesnftMintNFTIterator) 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 AesnftRaw ¶
type AesnftRaw struct {
Contract *Aesnft // Generic contract binding to access the raw methods on
}
AesnftRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AesnftRaw) Call ¶
func (_Aesnft *AesnftRaw) 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 (*AesnftRaw) Transact ¶
func (_Aesnft *AesnftRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AesnftRaw) Transfer ¶
func (_Aesnft *AesnftRaw) 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 AesnftSession ¶
type AesnftSession struct { Contract *Aesnft // 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 }
AesnftSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AesnftSession) Approve ¶
func (_Aesnft *AesnftSession) 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 (*AesnftSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*AesnftSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*AesnftSession) GetTokenId ¶
func (_Aesnft *AesnftSession) GetTokenId() (*big.Int, error)
GetTokenId is a free data retrieval call binding the contract method 0x010a38f5.
Solidity: function getTokenId() view returns(uint256)
func (*AesnftSession) IsApprovedForAll ¶
func (_Aesnft *AesnftSession) 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 (*AesnftSession) Mint ¶
func (_Aesnft *AesnftSession) Mint(_to common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address _to) returns()
func (*AesnftSession) Name ¶
func (_Aesnft *AesnftSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*AesnftSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*AesnftSession) SafeTransferFrom ¶
func (_Aesnft *AesnftSession) 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 (*AesnftSession) SafeTransferFrom0 ¶
func (_Aesnft *AesnftSession) 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 (*AesnftSession) SetApprovalForAll ¶
func (_Aesnft *AesnftSession) 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 (*AesnftSession) SupportsInterface ¶
func (_Aesnft *AesnftSession) 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 (*AesnftSession) Symbol ¶
func (_Aesnft *AesnftSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*AesnftSession) TokenURI ¶
func (_Aesnft *AesnftSession) 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 (*AesnftSession) TransferFrom ¶
func (_Aesnft *AesnftSession) 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 AesnftTransactor ¶
type AesnftTransactor struct {
// contains filtered or unexported fields
}
AesnftTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAesnftTransactor ¶
func NewAesnftTransactor(address common.Address, transactor bind.ContractTransactor) (*AesnftTransactor, error)
NewAesnftTransactor creates a new write-only instance of Aesnft, bound to a specific deployed contract.
func (*AesnftTransactor) Approve ¶
func (_Aesnft *AesnftTransactor) 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 (*AesnftTransactor) Mint ¶
func (_Aesnft *AesnftTransactor) Mint(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address _to) returns()
func (*AesnftTransactor) SafeTransferFrom ¶
func (_Aesnft *AesnftTransactor) 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 (*AesnftTransactor) SafeTransferFrom0 ¶
func (_Aesnft *AesnftTransactor) 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 (*AesnftTransactor) SetApprovalForAll ¶
func (_Aesnft *AesnftTransactor) 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 (*AesnftTransactor) TransferFrom ¶
func (_Aesnft *AesnftTransactor) 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 AesnftTransactorRaw ¶
type AesnftTransactorRaw struct {
Contract *AesnftTransactor // Generic write-only contract binding to access the raw methods on
}
AesnftTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AesnftTransactorRaw) Transact ¶
func (_Aesnft *AesnftTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AesnftTransactorRaw) Transfer ¶
func (_Aesnft *AesnftTransactorRaw) 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 AesnftTransactorSession ¶
type AesnftTransactorSession struct { Contract *AesnftTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AesnftTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AesnftTransactorSession) Approve ¶
func (_Aesnft *AesnftTransactorSession) 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 (*AesnftTransactorSession) Mint ¶
func (_Aesnft *AesnftTransactorSession) Mint(_to common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address _to) returns()
func (*AesnftTransactorSession) SafeTransferFrom ¶
func (_Aesnft *AesnftTransactorSession) 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 (*AesnftTransactorSession) SafeTransferFrom0 ¶
func (_Aesnft *AesnftTransactorSession) 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 (*AesnftTransactorSession) SetApprovalForAll ¶
func (_Aesnft *AesnftTransactorSession) 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 (*AesnftTransactorSession) TransferFrom ¶
func (_Aesnft *AesnftTransactorSession) 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 AesnftTransfer ¶
type AesnftTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
AesnftTransfer represents a Transfer event raised by the Aesnft contract.
type AesnftTransferIterator ¶
type AesnftTransferIterator struct { Event *AesnftTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AesnftTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Aesnft contract.
func (*AesnftTransferIterator) Close ¶
func (it *AesnftTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AesnftTransferIterator) Error ¶
func (it *AesnftTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AesnftTransferIterator) Next ¶
func (it *AesnftTransferIterator) 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.