Documentation
¶
Index ¶
- Constants
- type Car
- type CarApproval
- type CarApprovalForAll
- type CarApprovalForAllIterator
- type CarApprovalIterator
- type CarCaller
- func (_Car *CarCaller) AirdropQuota(opts *bind.CallOpts, addr common.Address) (struct{ ... }, error)
- func (_Car *CarCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Car *CarCaller) Capacity(opts *bind.CallOpts) (*big.Int, error)
- func (_Car *CarCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Car *CarCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Car *CarCaller) MintPrice(opts *bind.CallOpts) (*big.Int, error)
- func (_Car *CarCaller) MintQuota(opts *bind.CallOpts, addr common.Address) (struct{ ... }, error)
- func (_Car *CarCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Car *CarCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Car *CarCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Car *CarCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Car *CarCaller) Phase(opts *bind.CallOpts) (int8, error)
- func (_Car *CarCaller) Reserved(opts *bind.CallOpts) (*big.Int, error)
- func (_Car *CarCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Car *CarCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Car *CarCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
- func (_Car *CarCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
- func (_Car *CarCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_Car *CarCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Car *CarCaller) Version(opts *bind.CallOpts) (string, error)
- func (_Car *CarCaller) WhitelistCap(opts *bind.CallOpts) (*big.Int, error)
- type CarCallerRaw
- type CarCallerSession
- func (_Car *CarCallerSession) AirdropQuota(addr common.Address) (struct{ ... }, error)
- func (_Car *CarCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Car *CarCallerSession) Capacity() (*big.Int, error)
- func (_Car *CarCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Car *CarCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Car *CarCallerSession) MintPrice() (*big.Int, error)
- func (_Car *CarCallerSession) MintQuota(addr common.Address) (struct{ ... }, error)
- func (_Car *CarCallerSession) Name() (string, error)
- func (_Car *CarCallerSession) Owner() (common.Address, error)
- func (_Car *CarCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Car *CarCallerSession) Paused() (bool, error)
- func (_Car *CarCallerSession) Phase() (int8, error)
- func (_Car *CarCallerSession) Reserved() (*big.Int, error)
- func (_Car *CarCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Car *CarCallerSession) Symbol() (string, error)
- func (_Car *CarCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_Car *CarCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_Car *CarCallerSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Car *CarCallerSession) TotalSupply() (*big.Int, error)
- func (_Car *CarCallerSession) Version() (string, error)
- func (_Car *CarCallerSession) WhitelistCap() (*big.Int, error)
- type CarFilterer
- func (_Car *CarFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*CarApprovalIterator, error)
- func (_Car *CarFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*CarApprovalForAllIterator, error)
- func (_Car *CarFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*CarOwnershipTransferredIterator, error)
- func (_Car *CarFilterer) FilterPaused(opts *bind.FilterOpts) (*CarPausedIterator, error)
- func (_Car *CarFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*CarTransferIterator, error)
- func (_Car *CarFilterer) FilterUnpaused(opts *bind.FilterOpts) (*CarUnpausedIterator, error)
- func (_Car *CarFilterer) ParseApproval(log types.Log) (*CarApproval, error)
- func (_Car *CarFilterer) ParseApprovalForAll(log types.Log) (*CarApprovalForAll, error)
- func (_Car *CarFilterer) ParseOwnershipTransferred(log types.Log) (*CarOwnershipTransferred, error)
- func (_Car *CarFilterer) ParsePaused(log types.Log) (*CarPaused, error)
- func (_Car *CarFilterer) ParseTransfer(log types.Log) (*CarTransfer, error)
- func (_Car *CarFilterer) ParseUnpaused(log types.Log) (*CarUnpaused, error)
- func (_Car *CarFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CarApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Car *CarFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *CarApprovalForAll, owner []common.Address, ...) (event.Subscription, error)
- func (_Car *CarFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CarOwnershipTransferred, ...) (event.Subscription, error)
- func (_Car *CarFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *CarPaused) (event.Subscription, error)
- func (_Car *CarFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CarTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_Car *CarFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *CarUnpaused) (event.Subscription, error)
- type CarOwnershipTransferred
- type CarOwnershipTransferredIterator
- type CarPaused
- type CarPausedIterator
- type CarRaw
- type CarSession
- func (_Car *CarSession) AddAirdrop(addrs []common.Address, amount uint8) (*types.Transaction, error)
- func (_Car *CarSession) AddReserve(addrs []common.Address, amount uint8) (*types.Transaction, error)
- func (_Car *CarSession) AddWhitelist(addrs []common.Address, amount uint8) (*types.Transaction, error)
- func (_Car *CarSession) AirdropQuota(addr common.Address) (struct{ ... }, error)
- func (_Car *CarSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Car *CarSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Car *CarSession) Capacity() (*big.Int, error)
- func (_Car *CarSession) Claim(amount uint8) (*types.Transaction, error)
- func (_Car *CarSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Car *CarSession) Initialize() (*types.Transaction, error)
- func (_Car *CarSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Car *CarSession) Mint(amount uint8) (*types.Transaction, error)
- func (_Car *CarSession) MintPrice() (*big.Int, error)
- func (_Car *CarSession) MintQuota(addr common.Address) (struct{ ... }, error)
- func (_Car *CarSession) Name() (string, error)
- func (_Car *CarSession) Owner() (common.Address, error)
- func (_Car *CarSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Car *CarSession) Pause() (*types.Transaction, error)
- func (_Car *CarSession) Paused() (bool, error)
- func (_Car *CarSession) Phase() (int8, error)
- func (_Car *CarSession) RenounceOwnership() (*types.Transaction, error)
- func (_Car *CarSession) Reserve() (*types.Transaction, error)
- func (_Car *CarSession) Reserved() (*big.Int, error)
- func (_Car *CarSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Car *CarSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Car *CarSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Car *CarSession) SetPhase(newPhase int8) (*types.Transaction, error)
- func (_Car *CarSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Car *CarSession) Symbol() (string, error)
- func (_Car *CarSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_Car *CarSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_Car *CarSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Car *CarSession) TotalSupply() (*big.Int, error)
- func (_Car *CarSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Car *CarSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Car *CarSession) Unpause() (*types.Transaction, error)
- func (_Car *CarSession) Version() (string, error)
- func (_Car *CarSession) WhitelistCap() (*big.Int, error)
- func (_Car *CarSession) Withdraw() (*types.Transaction, error)
- type CarTransactor
- func (_Car *CarTransactor) AddAirdrop(opts *bind.TransactOpts, addrs []common.Address, amount uint8) (*types.Transaction, error)
- func (_Car *CarTransactor) AddReserve(opts *bind.TransactOpts, addrs []common.Address, amount uint8) (*types.Transaction, error)
- func (_Car *CarTransactor) AddWhitelist(opts *bind.TransactOpts, addrs []common.Address, amount uint8) (*types.Transaction, error)
- func (_Car *CarTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Car *CarTransactor) Claim(opts *bind.TransactOpts, amount uint8) (*types.Transaction, error)
- func (_Car *CarTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Car *CarTransactor) Mint(opts *bind.TransactOpts, amount uint8) (*types.Transaction, error)
- func (_Car *CarTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Car *CarTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Car *CarTransactor) Reserve(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Car *CarTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Car *CarTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Car *CarTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Car *CarTransactor) SetPhase(opts *bind.TransactOpts, newPhase int8) (*types.Transaction, error)
- func (_Car *CarTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Car *CarTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Car *CarTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Car *CarTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- type CarTransactorRaw
- type CarTransactorSession
- func (_Car *CarTransactorSession) AddAirdrop(addrs []common.Address, amount uint8) (*types.Transaction, error)
- func (_Car *CarTransactorSession) AddReserve(addrs []common.Address, amount uint8) (*types.Transaction, error)
- func (_Car *CarTransactorSession) AddWhitelist(addrs []common.Address, amount uint8) (*types.Transaction, error)
- func (_Car *CarTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Car *CarTransactorSession) Claim(amount uint8) (*types.Transaction, error)
- func (_Car *CarTransactorSession) Initialize() (*types.Transaction, error)
- func (_Car *CarTransactorSession) Mint(amount uint8) (*types.Transaction, error)
- func (_Car *CarTransactorSession) Pause() (*types.Transaction, error)
- func (_Car *CarTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Car *CarTransactorSession) Reserve() (*types.Transaction, error)
- func (_Car *CarTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Car *CarTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Car *CarTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Car *CarTransactorSession) SetPhase(newPhase int8) (*types.Transaction, error)
- func (_Car *CarTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Car *CarTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Car *CarTransactorSession) Unpause() (*types.Transaction, error)
- func (_Car *CarTransactorSession) Withdraw() (*types.Transaction, error)
- type CarTransfer
- type CarTransferIterator
- type CarUnpaused
- type CarUnpausedIterator
Constants ¶
const CarABI = "" /* 10345-byte string literal not displayed */
CarABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Car ¶
type Car struct { CarCaller // Read-only binding to the contract CarTransactor // Write-only binding to the contract CarFilterer // Log filterer for contract events }
Car is an auto generated Go binding around an Ethereum contract.
type CarApproval ¶
type CarApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
CarApproval represents a Approval event raised by the Car contract.
type CarApprovalForAll ¶
type CarApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
CarApprovalForAll represents a ApprovalForAll event raised by the Car contract.
type CarApprovalForAllIterator ¶
type CarApprovalForAllIterator struct { Event *CarApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CarApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Car contract.
func (*CarApprovalForAllIterator) Close ¶
func (it *CarApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CarApprovalForAllIterator) Error ¶
func (it *CarApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CarApprovalForAllIterator) Next ¶
func (it *CarApprovalForAllIterator) 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 CarApprovalIterator ¶
type CarApprovalIterator struct { Event *CarApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CarApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Car contract.
func (*CarApprovalIterator) Close ¶
func (it *CarApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CarApprovalIterator) Error ¶
func (it *CarApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CarApprovalIterator) Next ¶
func (it *CarApprovalIterator) 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 CarCaller ¶
type CarCaller struct {
// contains filtered or unexported fields
}
CarCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCarCaller ¶
NewCarCaller creates a new read-only instance of Car, bound to a specific deployed contract.
func (*CarCaller) AirdropQuota ¶
func (_Car *CarCaller) AirdropQuota(opts *bind.CallOpts, addr common.Address) (struct { Minted uint8 Cap uint8 }, error)
AirdropQuota is a free data retrieval call binding the contract method 0x2bce1d35.
Solidity: function airdropQuota(address addr) view returns(uint8 minted, uint8 cap)
func (*CarCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*CarCaller) Capacity ¶
Capacity is a free data retrieval call binding the contract method 0x5cfc1a51.
Solidity: function capacity() view returns(uint256)
func (*CarCaller) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*CarCaller) IsApprovedForAll ¶
func (_Car *CarCaller) 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 (*CarCaller) MintPrice ¶
MintPrice is a free data retrieval call binding the contract method 0x6817c76c.
Solidity: function mintPrice() view returns(uint256)
func (*CarCaller) MintQuota ¶
func (_Car *CarCaller) MintQuota(opts *bind.CallOpts, addr common.Address) (struct { Minted uint8 Cap uint8 }, error)
MintQuota is a free data retrieval call binding the contract method 0x2c915a22.
Solidity: function mintQuota(address addr) view returns(uint8 minted, uint8 cap)
func (*CarCaller) Name ¶
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*CarCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CarCaller) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*CarCaller) Paused ¶
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*CarCaller) Phase ¶
Phase is a free data retrieval call binding the contract method 0xb1c9fe6e.
Solidity: function phase() view returns(int8)
func (*CarCaller) Reserved ¶
Reserved is a free data retrieval call binding the contract method 0xfe60d12c.
Solidity: function reserved() view returns(uint256)
func (*CarCaller) SupportsInterface ¶
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CarCaller) Symbol ¶
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*CarCaller) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*CarCaller) TokenOfOwnerByIndex ¶
func (_Car *CarCaller) 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 (*CarCaller) TokenURI ¶
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*CarCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type CarCallerRaw ¶
type CarCallerRaw struct {
Contract *CarCaller // Generic read-only contract binding to access the raw methods on
}
CarCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CarCallerRaw) Call ¶
func (_Car *CarCallerRaw) 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 CarCallerSession ¶
type CarCallerSession struct { Contract *CarCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CarCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CarCallerSession) AirdropQuota ¶
func (_Car *CarCallerSession) AirdropQuota(addr common.Address) (struct { Minted uint8 Cap uint8 }, error)
AirdropQuota is a free data retrieval call binding the contract method 0x2bce1d35.
Solidity: function airdropQuota(address addr) view returns(uint8 minted, uint8 cap)
func (*CarCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*CarCallerSession) Capacity ¶
func (_Car *CarCallerSession) Capacity() (*big.Int, error)
Capacity is a free data retrieval call binding the contract method 0x5cfc1a51.
Solidity: function capacity() view returns(uint256)
func (*CarCallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*CarCallerSession) IsApprovedForAll ¶
func (_Car *CarCallerSession) 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 (*CarCallerSession) MintPrice ¶
func (_Car *CarCallerSession) MintPrice() (*big.Int, error)
MintPrice is a free data retrieval call binding the contract method 0x6817c76c.
Solidity: function mintPrice() view returns(uint256)
func (*CarCallerSession) MintQuota ¶
func (_Car *CarCallerSession) MintQuota(addr common.Address) (struct { Minted uint8 Cap uint8 }, error)
MintQuota is a free data retrieval call binding the contract method 0x2c915a22.
Solidity: function mintQuota(address addr) view returns(uint8 minted, uint8 cap)
func (*CarCallerSession) Name ¶
func (_Car *CarCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*CarCallerSession) Owner ¶
func (_Car *CarCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CarCallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*CarCallerSession) Paused ¶
func (_Car *CarCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*CarCallerSession) Phase ¶
func (_Car *CarCallerSession) Phase() (int8, error)
Phase is a free data retrieval call binding the contract method 0xb1c9fe6e.
Solidity: function phase() view returns(int8)
func (*CarCallerSession) Reserved ¶
func (_Car *CarCallerSession) Reserved() (*big.Int, error)
Reserved is a free data retrieval call binding the contract method 0xfe60d12c.
Solidity: function reserved() view returns(uint256)
func (*CarCallerSession) SupportsInterface ¶
func (_Car *CarCallerSession) 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 (*CarCallerSession) Symbol ¶
func (_Car *CarCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*CarCallerSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*CarCallerSession) TokenOfOwnerByIndex ¶
func (_Car *CarCallerSession) 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 (*CarCallerSession) TokenURI ¶
func (_Car *CarCallerSession) 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 (*CarCallerSession) TotalSupply ¶
func (_Car *CarCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*CarCallerSession) Version ¶
func (_Car *CarCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
func (*CarCallerSession) WhitelistCap ¶
func (_Car *CarCallerSession) WhitelistCap() (*big.Int, error)
WhitelistCap is a free data retrieval call binding the contract method 0xf634d519.
Solidity: function whitelistCap() view returns(uint256)
type CarFilterer ¶
type CarFilterer struct {
// contains filtered or unexported fields
}
CarFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCarFilterer ¶
func NewCarFilterer(address common.Address, filterer bind.ContractFilterer) (*CarFilterer, error)
NewCarFilterer creates a new log filterer instance of Car, bound to a specific deployed contract.
func (*CarFilterer) FilterApproval ¶
func (_Car *CarFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*CarApprovalIterator, 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 (*CarFilterer) FilterApprovalForAll ¶
func (_Car *CarFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*CarApprovalForAllIterator, 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 (*CarFilterer) FilterOwnershipTransferred ¶
func (_Car *CarFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CarOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*CarFilterer) FilterPaused ¶
func (_Car *CarFilterer) FilterPaused(opts *bind.FilterOpts) (*CarPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*CarFilterer) FilterTransfer ¶
func (_Car *CarFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*CarTransferIterator, 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 (*CarFilterer) FilterUnpaused ¶
func (_Car *CarFilterer) FilterUnpaused(opts *bind.FilterOpts) (*CarUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*CarFilterer) ParseApproval ¶
func (_Car *CarFilterer) ParseApproval(log types.Log) (*CarApproval, 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 (*CarFilterer) ParseApprovalForAll ¶
func (_Car *CarFilterer) ParseApprovalForAll(log types.Log) (*CarApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*CarFilterer) ParseOwnershipTransferred ¶
func (_Car *CarFilterer) ParseOwnershipTransferred(log types.Log) (*CarOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*CarFilterer) ParsePaused ¶
func (_Car *CarFilterer) ParsePaused(log types.Log) (*CarPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*CarFilterer) ParseTransfer ¶
func (_Car *CarFilterer) ParseTransfer(log types.Log) (*CarTransfer, 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 (*CarFilterer) ParseUnpaused ¶
func (_Car *CarFilterer) ParseUnpaused(log types.Log) (*CarUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*CarFilterer) WatchApproval ¶
func (_Car *CarFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CarApproval, 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 (*CarFilterer) WatchApprovalForAll ¶
func (_Car *CarFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *CarApprovalForAll, 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 (*CarFilterer) WatchOwnershipTransferred ¶
func (_Car *CarFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CarOwnershipTransferred, 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 (*CarFilterer) WatchPaused ¶
func (_Car *CarFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *CarPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*CarFilterer) WatchTransfer ¶
func (_Car *CarFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CarTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*CarFilterer) WatchUnpaused ¶
func (_Car *CarFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *CarUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type CarOwnershipTransferred ¶
type CarOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
CarOwnershipTransferred represents a OwnershipTransferred event raised by the Car contract.
type CarOwnershipTransferredIterator ¶
type CarOwnershipTransferredIterator struct { Event *CarOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CarOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Car contract.
func (*CarOwnershipTransferredIterator) Close ¶
func (it *CarOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CarOwnershipTransferredIterator) Error ¶
func (it *CarOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CarOwnershipTransferredIterator) Next ¶
func (it *CarOwnershipTransferredIterator) 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 CarPaused ¶
type CarPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
CarPaused represents a Paused event raised by the Car contract.
type CarPausedIterator ¶
type CarPausedIterator struct { Event *CarPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CarPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Car contract.
func (*CarPausedIterator) Close ¶
func (it *CarPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CarPausedIterator) Error ¶
func (it *CarPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CarPausedIterator) Next ¶
func (it *CarPausedIterator) 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 CarRaw ¶
type CarRaw struct {
Contract *Car // Generic contract binding to access the raw methods on
}
CarRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CarRaw) Call ¶
func (_Car *CarRaw) 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 (*CarRaw) Transact ¶
func (_Car *CarRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CarRaw) Transfer ¶
func (_Car *CarRaw) 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 CarSession ¶
type CarSession struct { Contract *Car // 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 }
CarSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CarSession) AddAirdrop ¶
func (_Car *CarSession) AddAirdrop(addrs []common.Address, amount uint8) (*types.Transaction, error)
AddAirdrop is a paid mutator transaction binding the contract method 0x7509447d.
Solidity: function addAirdrop(address[] addrs, uint8 amount) returns()
func (*CarSession) AddReserve ¶
func (_Car *CarSession) AddReserve(addrs []common.Address, amount uint8) (*types.Transaction, error)
AddReserve is a paid mutator transaction binding the contract method 0xb2fa739a.
Solidity: function addReserve(address[] addrs, uint8 amount) returns()
func (*CarSession) AddWhitelist ¶
func (_Car *CarSession) AddWhitelist(addrs []common.Address, amount uint8) (*types.Transaction, error)
AddWhitelist is a paid mutator transaction binding the contract method 0x6eb42e9d.
Solidity: function addWhitelist(address[] addrs, uint8 amount) returns()
func (*CarSession) AirdropQuota ¶
func (_Car *CarSession) AirdropQuota(addr common.Address) (struct { Minted uint8 Cap uint8 }, error)
AirdropQuota is a free data retrieval call binding the contract method 0x2bce1d35.
Solidity: function airdropQuota(address addr) view returns(uint8 minted, uint8 cap)
func (*CarSession) Approve ¶
func (_Car *CarSession) 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 (*CarSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*CarSession) Capacity ¶
func (_Car *CarSession) Capacity() (*big.Int, error)
Capacity is a free data retrieval call binding the contract method 0x5cfc1a51.
Solidity: function capacity() view returns(uint256)
func (*CarSession) Claim ¶
func (_Car *CarSession) Claim(amount uint8) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x95d4063f.
Solidity: function claim(uint8 amount) returns()
func (*CarSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*CarSession) Initialize ¶
func (_Car *CarSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*CarSession) IsApprovedForAll ¶
func (_Car *CarSession) 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 (*CarSession) Mint ¶
func (_Car *CarSession) Mint(amount uint8) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6ecd2306.
Solidity: function mint(uint8 amount) payable returns()
func (*CarSession) MintPrice ¶
func (_Car *CarSession) MintPrice() (*big.Int, error)
MintPrice is a free data retrieval call binding the contract method 0x6817c76c.
Solidity: function mintPrice() view returns(uint256)
func (*CarSession) MintQuota ¶
MintQuota is a free data retrieval call binding the contract method 0x2c915a22.
Solidity: function mintQuota(address addr) view returns(uint8 minted, uint8 cap)
func (*CarSession) Name ¶
func (_Car *CarSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*CarSession) Owner ¶
func (_Car *CarSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CarSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*CarSession) Pause ¶
func (_Car *CarSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*CarSession) Paused ¶
func (_Car *CarSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*CarSession) Phase ¶
func (_Car *CarSession) Phase() (int8, error)
Phase is a free data retrieval call binding the contract method 0xb1c9fe6e.
Solidity: function phase() view returns(int8)
func (*CarSession) RenounceOwnership ¶
func (_Car *CarSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*CarSession) Reserve ¶
func (_Car *CarSession) Reserve() (*types.Transaction, error)
Reserve is a paid mutator transaction binding the contract method 0xcd3293de.
Solidity: function reserve() returns()
func (*CarSession) Reserved ¶
func (_Car *CarSession) Reserved() (*big.Int, error)
Reserved is a free data retrieval call binding the contract method 0xfe60d12c.
Solidity: function reserved() view returns(uint256)
func (*CarSession) SafeTransferFrom ¶
func (_Car *CarSession) 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 (*CarSession) SafeTransferFrom0 ¶
func (_Car *CarSession) 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 (*CarSession) SetApprovalForAll ¶
func (_Car *CarSession) 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 (*CarSession) SetPhase ¶
func (_Car *CarSession) SetPhase(newPhase int8) (*types.Transaction, error)
SetPhase is a paid mutator transaction binding the contract method 0xea41df3d.
Solidity: function setPhase(int8 newPhase) returns()
func (*CarSession) SupportsInterface ¶
func (_Car *CarSession) 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 (*CarSession) Symbol ¶
func (_Car *CarSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*CarSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*CarSession) TokenOfOwnerByIndex ¶
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*CarSession) TokenURI ¶
func (_Car *CarSession) 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 (*CarSession) TotalSupply ¶
func (_Car *CarSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*CarSession) TransferFrom ¶
func (_Car *CarSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*CarSession) TransferOwnership ¶
func (_Car *CarSession) 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 (*CarSession) Unpause ¶
func (_Car *CarSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*CarSession) Version ¶
func (_Car *CarSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
func (*CarSession) WhitelistCap ¶
func (_Car *CarSession) WhitelistCap() (*big.Int, error)
WhitelistCap is a free data retrieval call binding the contract method 0xf634d519.
Solidity: function whitelistCap() view returns(uint256)
func (*CarSession) Withdraw ¶
func (_Car *CarSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type CarTransactor ¶
type CarTransactor struct {
// contains filtered or unexported fields
}
CarTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCarTransactor ¶
func NewCarTransactor(address common.Address, transactor bind.ContractTransactor) (*CarTransactor, error)
NewCarTransactor creates a new write-only instance of Car, bound to a specific deployed contract.
func (*CarTransactor) AddAirdrop ¶
func (_Car *CarTransactor) AddAirdrop(opts *bind.TransactOpts, addrs []common.Address, amount uint8) (*types.Transaction, error)
AddAirdrop is a paid mutator transaction binding the contract method 0x7509447d.
Solidity: function addAirdrop(address[] addrs, uint8 amount) returns()
func (*CarTransactor) AddReserve ¶
func (_Car *CarTransactor) AddReserve(opts *bind.TransactOpts, addrs []common.Address, amount uint8) (*types.Transaction, error)
AddReserve is a paid mutator transaction binding the contract method 0xb2fa739a.
Solidity: function addReserve(address[] addrs, uint8 amount) returns()
func (*CarTransactor) AddWhitelist ¶
func (_Car *CarTransactor) AddWhitelist(opts *bind.TransactOpts, addrs []common.Address, amount uint8) (*types.Transaction, error)
AddWhitelist is a paid mutator transaction binding the contract method 0x6eb42e9d.
Solidity: function addWhitelist(address[] addrs, uint8 amount) returns()
func (*CarTransactor) Approve ¶
func (_Car *CarTransactor) 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 (*CarTransactor) Claim ¶
func (_Car *CarTransactor) Claim(opts *bind.TransactOpts, amount uint8) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x95d4063f.
Solidity: function claim(uint8 amount) returns()
func (*CarTransactor) Initialize ¶
func (_Car *CarTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*CarTransactor) Mint ¶
func (_Car *CarTransactor) Mint(opts *bind.TransactOpts, amount uint8) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6ecd2306.
Solidity: function mint(uint8 amount) payable returns()
func (*CarTransactor) Pause ¶
func (_Car *CarTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*CarTransactor) RenounceOwnership ¶
func (_Car *CarTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*CarTransactor) Reserve ¶
func (_Car *CarTransactor) Reserve(opts *bind.TransactOpts) (*types.Transaction, error)
Reserve is a paid mutator transaction binding the contract method 0xcd3293de.
Solidity: function reserve() returns()
func (*CarTransactor) SafeTransferFrom ¶
func (_Car *CarTransactor) 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 (*CarTransactor) SafeTransferFrom0 ¶
func (_Car *CarTransactor) 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 (*CarTransactor) SetApprovalForAll ¶
func (_Car *CarTransactor) 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 (*CarTransactor) SetPhase ¶
func (_Car *CarTransactor) SetPhase(opts *bind.TransactOpts, newPhase int8) (*types.Transaction, error)
SetPhase is a paid mutator transaction binding the contract method 0xea41df3d.
Solidity: function setPhase(int8 newPhase) returns()
func (*CarTransactor) TransferFrom ¶
func (_Car *CarTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*CarTransactor) TransferOwnership ¶
func (_Car *CarTransactor) 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 (*CarTransactor) Unpause ¶
func (_Car *CarTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*CarTransactor) Withdraw ¶
func (_Car *CarTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type CarTransactorRaw ¶
type CarTransactorRaw struct {
Contract *CarTransactor // Generic write-only contract binding to access the raw methods on
}
CarTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CarTransactorRaw) Transact ¶
func (_Car *CarTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CarTransactorRaw) Transfer ¶
func (_Car *CarTransactorRaw) 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 CarTransactorSession ¶
type CarTransactorSession struct { Contract *CarTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CarTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CarTransactorSession) AddAirdrop ¶
func (_Car *CarTransactorSession) AddAirdrop(addrs []common.Address, amount uint8) (*types.Transaction, error)
AddAirdrop is a paid mutator transaction binding the contract method 0x7509447d.
Solidity: function addAirdrop(address[] addrs, uint8 amount) returns()
func (*CarTransactorSession) AddReserve ¶
func (_Car *CarTransactorSession) AddReserve(addrs []common.Address, amount uint8) (*types.Transaction, error)
AddReserve is a paid mutator transaction binding the contract method 0xb2fa739a.
Solidity: function addReserve(address[] addrs, uint8 amount) returns()
func (*CarTransactorSession) AddWhitelist ¶
func (_Car *CarTransactorSession) AddWhitelist(addrs []common.Address, amount uint8) (*types.Transaction, error)
AddWhitelist is a paid mutator transaction binding the contract method 0x6eb42e9d.
Solidity: function addWhitelist(address[] addrs, uint8 amount) returns()
func (*CarTransactorSession) Approve ¶
func (_Car *CarTransactorSession) 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 (*CarTransactorSession) Claim ¶
func (_Car *CarTransactorSession) Claim(amount uint8) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x95d4063f.
Solidity: function claim(uint8 amount) returns()
func (*CarTransactorSession) Initialize ¶
func (_Car *CarTransactorSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*CarTransactorSession) Mint ¶
func (_Car *CarTransactorSession) Mint(amount uint8) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6ecd2306.
Solidity: function mint(uint8 amount) payable returns()
func (*CarTransactorSession) Pause ¶
func (_Car *CarTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*CarTransactorSession) RenounceOwnership ¶
func (_Car *CarTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*CarTransactorSession) Reserve ¶
func (_Car *CarTransactorSession) Reserve() (*types.Transaction, error)
Reserve is a paid mutator transaction binding the contract method 0xcd3293de.
Solidity: function reserve() returns()
func (*CarTransactorSession) SafeTransferFrom ¶
func (_Car *CarTransactorSession) 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 (*CarTransactorSession) SafeTransferFrom0 ¶
func (_Car *CarTransactorSession) 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 (*CarTransactorSession) SetApprovalForAll ¶
func (_Car *CarTransactorSession) 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 (*CarTransactorSession) SetPhase ¶
func (_Car *CarTransactorSession) SetPhase(newPhase int8) (*types.Transaction, error)
SetPhase is a paid mutator transaction binding the contract method 0xea41df3d.
Solidity: function setPhase(int8 newPhase) returns()
func (*CarTransactorSession) TransferFrom ¶
func (_Car *CarTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*CarTransactorSession) TransferOwnership ¶
func (_Car *CarTransactorSession) 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 (*CarTransactorSession) Unpause ¶
func (_Car *CarTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*CarTransactorSession) Withdraw ¶
func (_Car *CarTransactorSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type CarTransfer ¶
type CarTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
CarTransfer represents a Transfer event raised by the Car contract.
type CarTransferIterator ¶
type CarTransferIterator struct { Event *CarTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CarTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Car contract.
func (*CarTransferIterator) Close ¶
func (it *CarTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CarTransferIterator) Error ¶
func (it *CarTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CarTransferIterator) Next ¶
func (it *CarTransferIterator) 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 CarUnpaused ¶
type CarUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
CarUnpaused represents a Unpaused event raised by the Car contract.
type CarUnpausedIterator ¶
type CarUnpausedIterator struct { Event *CarUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CarUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Car contract.
func (*CarUnpausedIterator) Close ¶
func (it *CarUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CarUnpausedIterator) Error ¶
func (it *CarUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CarUnpausedIterator) Next ¶
func (it *CarUnpausedIterator) 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.