Documentation ¶
Index ¶
- Variables
- type Token
- type TokenAddressPrivateSlotsChange
- type TokenAddressPrivateSlotsChangeIterator
- type TokenAddressPublicSlotsChange
- type TokenAddressPublicSlotsChangeIterator
- type TokenApproval
- type TokenApprovalForAll
- type TokenApprovalForAllIterator
- type TokenApprovalIterator
- type TokenCaller
- func (_Token *TokenCaller) AddressPrivateSaleSlots(opts *bind.CallOpts, _address common.Address) (*big.Int, error)
- func (_Token *TokenCaller) AddressPublicSaleSlots(opts *bind.CallOpts, _address common.Address) (uint8, error)
- func (_Token *TokenCaller) AvailableForMint(opts *bind.CallOpts) (*big.Int, error)
- func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Token *TokenCaller) COLORSVARIATIONS(opts *bind.CallOpts) (uint8, error)
- func (_Token *TokenCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Token *TokenCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Token *TokenCaller) IsFreeze(opts *bind.CallOpts) (bool, error)
- func (_Token *TokenCaller) IsPrivateSaleActive(opts *bind.CallOpts) (bool, error)
- func (_Token *TokenCaller) IsPublicSaleActive(opts *bind.CallOpts) (bool, error)
- func (_Token *TokenCaller) IsPublicSaleEnded(opts *bind.CallOpts) (bool, error)
- func (_Token *TokenCaller) IsWhitelisted(opts *bind.CallOpts, _address common.Address) (bool, error)
- func (_Token *TokenCaller) MAXPURCHASE(opts *bind.CallOpts) (uint8, error)
- func (_Token *TokenCaller) MaxTotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Token *TokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Token *TokenCaller) OGPRICE(opts *bind.CallOpts) (*big.Int, error)
- func (_Token *TokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Token *TokenCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Token *TokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Token *TokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Token *TokenCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
- func (_Token *TokenCaller) TokenColor(opts *bind.CallOpts, tokenId *big.Int) (uint8, error)
- func (_Token *TokenCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
- func (_Token *TokenCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type TokenCallerRaw
- type TokenCallerSession
- func (_Token *TokenCallerSession) AddressPrivateSaleSlots(_address common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) AddressPublicSaleSlots(_address common.Address) (uint8, error)
- func (_Token *TokenCallerSession) AvailableForMint() (*big.Int, error)
- func (_Token *TokenCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) COLORSVARIATIONS() (uint8, error)
- func (_Token *TokenCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Token *TokenCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Token *TokenCallerSession) IsFreeze() (bool, error)
- func (_Token *TokenCallerSession) IsPrivateSaleActive() (bool, error)
- func (_Token *TokenCallerSession) IsPublicSaleActive() (bool, error)
- func (_Token *TokenCallerSession) IsPublicSaleEnded() (bool, error)
- func (_Token *TokenCallerSession) IsWhitelisted(_address common.Address) (bool, error)
- func (_Token *TokenCallerSession) MAXPURCHASE() (uint8, error)
- func (_Token *TokenCallerSession) MaxTotalSupply() (*big.Int, error)
- func (_Token *TokenCallerSession) Name() (string, error)
- func (_Token *TokenCallerSession) OGPRICE() (*big.Int, error)
- func (_Token *TokenCallerSession) Owner() (common.Address, error)
- func (_Token *TokenCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Token *TokenCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Token *TokenCallerSession) Symbol() (string, error)
- func (_Token *TokenCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_Token *TokenCallerSession) TokenColor(tokenId *big.Int) (uint8, error)
- func (_Token *TokenCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_Token *TokenCallerSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
- type TokenFilterer
- func (_Token *TokenFilterer) FilterAddressPrivateSlotsChange(opts *bind.FilterOpts) (*TokenAddressPrivateSlotsChangeIterator, error)
- func (_Token *TokenFilterer) FilterAddressPublicSlotsChange(opts *bind.FilterOpts) (*TokenAddressPublicSlotsChangeIterator, error)
- func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*TokenApprovalIterator, error)
- func (_Token *TokenFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*TokenApprovalForAllIterator, error)
- func (_Token *TokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*TokenOwnershipTransferredIterator, error)
- func (_Token *TokenFilterer) FilterPrivateSaleState(opts *bind.FilterOpts) (*TokenPrivateSaleStateIterator, error)
- func (_Token *TokenFilterer) FilterPublicSaleState(opts *bind.FilterOpts) (*TokenPublicSaleStateIterator, error)
- func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*TokenTransferIterator, error)
- func (_Token *TokenFilterer) ParseAddressPrivateSlotsChange(log types.Log) (*TokenAddressPrivateSlotsChange, error)
- func (_Token *TokenFilterer) ParseAddressPublicSlotsChange(log types.Log) (*TokenAddressPublicSlotsChange, error)
- func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error)
- func (_Token *TokenFilterer) ParseApprovalForAll(log types.Log) (*TokenApprovalForAll, error)
- func (_Token *TokenFilterer) ParseOwnershipTransferred(log types.Log) (*TokenOwnershipTransferred, error)
- func (_Token *TokenFilterer) ParsePrivateSaleState(log types.Log) (*TokenPrivateSaleState, error)
- func (_Token *TokenFilterer) ParsePublicSaleState(log types.Log) (*TokenPublicSaleState, error)
- func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error)
- func (_Token *TokenFilterer) WatchAddressPrivateSlotsChange(opts *bind.WatchOpts, sink chan<- *TokenAddressPrivateSlotsChange) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchAddressPublicSlotsChange(opts *bind.WatchOpts, sink chan<- *TokenAddressPublicSlotsChange) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *TokenApprovalForAll, owner []common.Address, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchPrivateSaleState(opts *bind.WatchOpts, sink chan<- *TokenPrivateSaleState) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchPublicSaleState(opts *bind.WatchOpts, sink chan<- *TokenPublicSaleState) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type TokenOwnershipTransferred
- type TokenOwnershipTransferredIterator
- type TokenPrivateSaleState
- type TokenPrivateSaleStateIterator
- type TokenPublicSaleState
- type TokenPublicSaleStateIterator
- type TokenRaw
- func (_Token *TokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Token *TokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenSession
- func (_Token *TokenSession) AddWhitelistAddresses(numberOfTokens uint8, addresses []common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) AddressPrivateSaleSlots(_address common.Address) (*big.Int, error)
- func (_Token *TokenSession) AddressPublicSaleSlots(_address common.Address) (uint8, error)
- func (_Token *TokenSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) AvailableForMint() (*big.Int, error)
- func (_Token *TokenSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Token *TokenSession) COLORSVARIATIONS() (uint8, error)
- func (_Token *TokenSession) FlipPrivateSaleState() (*types.Transaction, error)
- func (_Token *TokenSession) FlipPublicSaleState() (*types.Transaction, error)
- func (_Token *TokenSession) Freeze() (*types.Transaction, error)
- func (_Token *TokenSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Token *TokenSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Token *TokenSession) IsFreeze() (bool, error)
- func (_Token *TokenSession) IsPrivateSaleActive() (bool, error)
- func (_Token *TokenSession) IsPublicSaleActive() (bool, error)
- func (_Token *TokenSession) IsPublicSaleEnded() (bool, error)
- func (_Token *TokenSession) IsWhitelisted(_address common.Address) (bool, error)
- func (_Token *TokenSession) MAXPURCHASE() (uint8, error)
- func (_Token *TokenSession) MaxTotalSupply() (*big.Int, error)
- func (_Token *TokenSession) MintGiftToken(to common.Address, _tokenURI string, color uint8) (*types.Transaction, error)
- func (_Token *TokenSession) MintPrivate(numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
- func (_Token *TokenSession) MintPublic(numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
- func (_Token *TokenSession) Name() (string, error)
- func (_Token *TokenSession) OGPRICE() (*big.Int, error)
- func (_Token *TokenSession) Owner() (common.Address, error)
- func (_Token *TokenSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Token *TokenSession) RemoveWhitelistAddresses(addresses []common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) RenounceOwnership() (*types.Transaction, error)
- func (_Token *TokenSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Token *TokenSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Token *TokenSession) SetTokenURI(tokenId *big.Int, _tokenURI string) (*types.Transaction, error)
- func (_Token *TokenSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Token *TokenSession) Symbol() (string, error)
- func (_Token *TokenSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_Token *TokenSession) TokenColor(tokenId *big.Int) (uint8, error)
- func (_Token *TokenSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_Token *TokenSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Token *TokenSession) TotalSupply() (*big.Int, error)
- func (_Token *TokenSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) Withdraw() (*types.Transaction, error)
- type TokenTransactor
- func (_Token *TokenTransactor) AddWhitelistAddresses(opts *bind.TransactOpts, numberOfTokens uint8, addresses []common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) FlipPrivateSaleState(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Token *TokenTransactor) FlipPublicSaleState(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Token *TokenTransactor) Freeze(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Token *TokenTransactor) MintGiftToken(opts *bind.TransactOpts, to common.Address, _tokenURI string, color uint8) (*types.Transaction, error)
- func (_Token *TokenTransactor) MintPrivate(opts *bind.TransactOpts, numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
- func (_Token *TokenTransactor) MintPublic(opts *bind.TransactOpts, numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
- func (_Token *TokenTransactor) RemoveWhitelistAddresses(opts *bind.TransactOpts, addresses []common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Token *TokenTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Token *TokenTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Token *TokenTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Token *TokenTransactor) SetTokenURI(opts *bind.TransactOpts, tokenId *big.Int, _tokenURI string) (*types.Transaction, error)
- func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Token *TokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenTransactorRaw
- type TokenTransactorSession
- func (_Token *TokenTransactorSession) AddWhitelistAddresses(numberOfTokens uint8, addresses []common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) FlipPrivateSaleState() (*types.Transaction, error)
- func (_Token *TokenTransactorSession) FlipPublicSaleState() (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Freeze() (*types.Transaction, error)
- func (_Token *TokenTransactorSession) MintGiftToken(to common.Address, _tokenURI string, color uint8) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) MintPrivate(numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) MintPublic(numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) RemoveWhitelistAddresses(addresses []common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Token *TokenTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) SetTokenURI(tokenId *big.Int, _tokenURI string) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Withdraw() (*types.Transaction, error)
- type TokenTransfer
- type TokenTransferIterator
Constants ¶
This section is empty.
Variables ¶
var TokenABI = TokenMetaData.ABI
TokenABI is the input ABI used to generate the binding from. Deprecated: Use TokenMetaData.ABI instead.
var TokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"baseTokenURI\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"maxSupply\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slots\",\"type\":\"uint256\"}],\"name\":\"addressPrivateSlotsChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slots\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalRemaining\",\"type\":\"uint256\"}],\"name\":\"addressPublicSlotsChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"active\",\"type\":\"bool\"}],\"name\":\"privateSaleState\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"active\",\"type\":\"bool\"}],\"name\":\"publicSaleState\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"COLORS_VARIATIONS\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"MAX_PURCHASE\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"OG_PRICE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"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\",\"constant\":true},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"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\",\"constant\":true},{\"inputs\":[],\"name\":\"isFreeze\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"maxTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isPrivateSaleActive\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"flipPrivateSaleState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isPublicSaleActive\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"isPublicSaleEnded\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"flipPublicSaleState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"numberOfTokens\",\"type\":\"uint8\"},{\"internalType\":\"address[]\",\"name\":\"addresses\",\"type\":\"address[]\"}],\"name\":\"addWhitelistAddresses\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"addresses\",\"type\":\"address[]\"}],\"name\":\"removeWhitelistAddresses\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"isWhitelisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addressPrivateSaleSlots\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addressPublicSaleSlots\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"numberOfTokens\",\"type\":\"uint8\"},{\"internalType\":\"uint8[]\",\"name\":\"colors\",\"type\":\"uint8[]\"}],\"name\":\"mintPrivate\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\",\"payable\":true},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"numberOfTokens\",\"type\":\"uint8\"},{\"internalType\":\"uint8[]\",\"name\":\"colors\",\"type\":\"uint8[]\"}],\"name\":\"mintPublic\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\",\"payable\":true},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_tokenURI\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"color\",\"type\":\"uint8\"}],\"name\":\"mintGiftToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenColor\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"freeze\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_tokenURI\",\"type\":\"string\"}],\"name\":\"setTokenURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"availableForMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
TokenMetaData contains all meta data concerning the Token contract.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct { TokenCaller // Read-only binding to the contract TokenTransactor // Write-only binding to the contract TokenFilterer // Log filterer for contract events }
Token is an auto generated Go binding around an Ethereum contract.
type TokenAddressPrivateSlotsChange ¶
type TokenAddressPrivateSlotsChange struct { Addr common.Address Slots *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenAddressPrivateSlotsChange represents a AddressPrivateSlotsChange event raised by the Token contract.
type TokenAddressPrivateSlotsChangeIterator ¶
type TokenAddressPrivateSlotsChangeIterator struct { Event *TokenAddressPrivateSlotsChange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenAddressPrivateSlotsChangeIterator is returned from FilterAddressPrivateSlotsChange and is used to iterate over the raw logs and unpacked data for AddressPrivateSlotsChange events raised by the Token contract.
func (*TokenAddressPrivateSlotsChangeIterator) Close ¶
func (it *TokenAddressPrivateSlotsChangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenAddressPrivateSlotsChangeIterator) Error ¶
func (it *TokenAddressPrivateSlotsChangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenAddressPrivateSlotsChangeIterator) Next ¶
func (it *TokenAddressPrivateSlotsChangeIterator) 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 TokenAddressPublicSlotsChange ¶
type TokenAddressPublicSlotsChange struct { Addr common.Address Slots *big.Int TotalRemaining *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenAddressPublicSlotsChange represents a AddressPublicSlotsChange event raised by the Token contract.
type TokenAddressPublicSlotsChangeIterator ¶
type TokenAddressPublicSlotsChangeIterator struct { Event *TokenAddressPublicSlotsChange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenAddressPublicSlotsChangeIterator is returned from FilterAddressPublicSlotsChange and is used to iterate over the raw logs and unpacked data for AddressPublicSlotsChange events raised by the Token contract.
func (*TokenAddressPublicSlotsChangeIterator) Close ¶
func (it *TokenAddressPublicSlotsChangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenAddressPublicSlotsChangeIterator) Error ¶
func (it *TokenAddressPublicSlotsChangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenAddressPublicSlotsChangeIterator) Next ¶
func (it *TokenAddressPublicSlotsChangeIterator) 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 TokenApproval ¶
type TokenApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenApproval represents a Approval event raised by the Token contract.
type TokenApprovalForAll ¶
type TokenApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
TokenApprovalForAll represents a ApprovalForAll event raised by the Token contract.
type TokenApprovalForAllIterator ¶
type TokenApprovalForAllIterator struct { Event *TokenApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Token contract.
func (*TokenApprovalForAllIterator) Close ¶
func (it *TokenApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenApprovalForAllIterator) Error ¶
func (it *TokenApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenApprovalForAllIterator) Next ¶
func (it *TokenApprovalForAllIterator) 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 TokenApprovalIterator ¶
type TokenApprovalIterator struct { Event *TokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Token contract.
func (*TokenApprovalIterator) Close ¶
func (it *TokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenApprovalIterator) Error ¶
func (it *TokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenApprovalIterator) Next ¶
func (it *TokenApprovalIterator) 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 TokenCaller ¶
type TokenCaller struct {
// contains filtered or unexported fields
}
TokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenCaller ¶
func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)
NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.
func (*TokenCaller) AddressPrivateSaleSlots ¶
func (_Token *TokenCaller) AddressPrivateSaleSlots(opts *bind.CallOpts, _address common.Address) (*big.Int, error)
AddressPrivateSaleSlots is a free data retrieval call binding the contract method 0x8ec33726.
Solidity: function addressPrivateSaleSlots(address _address) view returns(uint256)
func (*TokenCaller) AddressPublicSaleSlots ¶
func (_Token *TokenCaller) AddressPublicSaleSlots(opts *bind.CallOpts, _address common.Address) (uint8, error)
AddressPublicSaleSlots is a free data retrieval call binding the contract method 0x26f8873e.
Solidity: function addressPublicSaleSlots(address _address) view returns(uint8)
func (*TokenCaller) AvailableForMint ¶
AvailableForMint is a free data retrieval call binding the contract method 0x6204b831.
Solidity: function availableForMint() view returns(uint256)
func (*TokenCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*TokenCaller) COLORSVARIATIONS ¶
func (_Token *TokenCaller) COLORSVARIATIONS(opts *bind.CallOpts) (uint8, error)
COLORSVARIATIONS is a free data retrieval call binding the contract method 0x26e0032d.
Solidity: function COLORS_VARIATIONS() view returns(uint8)
func (*TokenCaller) GetApproved ¶
func (_Token *TokenCaller) 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 (*TokenCaller) IsApprovedForAll ¶
func (_Token *TokenCaller) 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 (*TokenCaller) IsFreeze ¶
func (_Token *TokenCaller) IsFreeze(opts *bind.CallOpts) (bool, error)
IsFreeze is a free data retrieval call binding the contract method 0xc154d6ca.
Solidity: function isFreeze() view returns(bool)
func (*TokenCaller) IsPrivateSaleActive ¶
func (_Token *TokenCaller) IsPrivateSaleActive(opts *bind.CallOpts) (bool, error)
IsPrivateSaleActive is a free data retrieval call binding the contract method 0xd8a9e1e9.
Solidity: function isPrivateSaleActive() view returns(bool)
func (*TokenCaller) IsPublicSaleActive ¶
func (_Token *TokenCaller) IsPublicSaleActive(opts *bind.CallOpts) (bool, error)
IsPublicSaleActive is a free data retrieval call binding the contract method 0x1e84c413.
Solidity: function isPublicSaleActive() view returns(bool)
func (*TokenCaller) IsPublicSaleEnded ¶
func (_Token *TokenCaller) IsPublicSaleEnded(opts *bind.CallOpts) (bool, error)
IsPublicSaleEnded is a free data retrieval call binding the contract method 0xeeca3737.
Solidity: function isPublicSaleEnded() view returns(bool)
func (*TokenCaller) IsWhitelisted ¶
func (_Token *TokenCaller) IsWhitelisted(opts *bind.CallOpts, _address common.Address) (bool, error)
IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.
Solidity: function isWhitelisted(address _address) view returns(bool)
func (*TokenCaller) MAXPURCHASE ¶
func (_Token *TokenCaller) MAXPURCHASE(opts *bind.CallOpts) (uint8, error)
MAXPURCHASE is a free data retrieval call binding the contract method 0x7146bd08.
Solidity: function MAX_PURCHASE() view returns(uint8)
func (*TokenCaller) MaxTotalSupply ¶
MaxTotalSupply is a free data retrieval call binding the contract method 0x2ab4d052.
Solidity: function maxTotalSupply() view returns(uint256)
func (*TokenCaller) Name ¶
func (_Token *TokenCaller) 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 (*TokenCaller) OGPRICE ¶
OGPRICE is a free data retrieval call binding the contract method 0x90069b42.
Solidity: function OG_PRICE() view returns(uint256)
func (*TokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenCaller) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*TokenCaller) SupportsInterface ¶
func (_Token *TokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*TokenCaller) Symbol ¶
func (_Token *TokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*TokenCaller) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*TokenCaller) TokenColor ¶
TokenColor is a free data retrieval call binding the contract method 0x58ac8eef.
Solidity: function tokenColor(uint256 tokenId) view returns(uint8)
func (*TokenCaller) TokenOfOwnerByIndex ¶
func (_Token *TokenCaller) 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 (*TokenCaller) TokenURI ¶
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*TokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type TokenCallerRaw ¶
type TokenCallerRaw struct {
Contract *TokenCaller // Generic read-only contract binding to access the raw methods on
}
TokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenCallerRaw) Call ¶
func (_Token *TokenCallerRaw) 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 TokenCallerSession ¶
type TokenCallerSession struct { Contract *TokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TokenCallerSession) AddressPrivateSaleSlots ¶
func (_Token *TokenCallerSession) AddressPrivateSaleSlots(_address common.Address) (*big.Int, error)
AddressPrivateSaleSlots is a free data retrieval call binding the contract method 0x8ec33726.
Solidity: function addressPrivateSaleSlots(address _address) view returns(uint256)
func (*TokenCallerSession) AddressPublicSaleSlots ¶
func (_Token *TokenCallerSession) AddressPublicSaleSlots(_address common.Address) (uint8, error)
AddressPublicSaleSlots is a free data retrieval call binding the contract method 0x26f8873e.
Solidity: function addressPublicSaleSlots(address _address) view returns(uint8)
func (*TokenCallerSession) AvailableForMint ¶
func (_Token *TokenCallerSession) AvailableForMint() (*big.Int, error)
AvailableForMint is a free data retrieval call binding the contract method 0x6204b831.
Solidity: function availableForMint() view returns(uint256)
func (*TokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*TokenCallerSession) COLORSVARIATIONS ¶
func (_Token *TokenCallerSession) COLORSVARIATIONS() (uint8, error)
COLORSVARIATIONS is a free data retrieval call binding the contract method 0x26e0032d.
Solidity: function COLORS_VARIATIONS() view returns(uint8)
func (*TokenCallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*TokenCallerSession) IsApprovedForAll ¶
func (_Token *TokenCallerSession) 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 (*TokenCallerSession) IsFreeze ¶
func (_Token *TokenCallerSession) IsFreeze() (bool, error)
IsFreeze is a free data retrieval call binding the contract method 0xc154d6ca.
Solidity: function isFreeze() view returns(bool)
func (*TokenCallerSession) IsPrivateSaleActive ¶
func (_Token *TokenCallerSession) IsPrivateSaleActive() (bool, error)
IsPrivateSaleActive is a free data retrieval call binding the contract method 0xd8a9e1e9.
Solidity: function isPrivateSaleActive() view returns(bool)
func (*TokenCallerSession) IsPublicSaleActive ¶
func (_Token *TokenCallerSession) IsPublicSaleActive() (bool, error)
IsPublicSaleActive is a free data retrieval call binding the contract method 0x1e84c413.
Solidity: function isPublicSaleActive() view returns(bool)
func (*TokenCallerSession) IsPublicSaleEnded ¶
func (_Token *TokenCallerSession) IsPublicSaleEnded() (bool, error)
IsPublicSaleEnded is a free data retrieval call binding the contract method 0xeeca3737.
Solidity: function isPublicSaleEnded() view returns(bool)
func (*TokenCallerSession) IsWhitelisted ¶
func (_Token *TokenCallerSession) IsWhitelisted(_address common.Address) (bool, error)
IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.
Solidity: function isWhitelisted(address _address) view returns(bool)
func (*TokenCallerSession) MAXPURCHASE ¶
func (_Token *TokenCallerSession) MAXPURCHASE() (uint8, error)
MAXPURCHASE is a free data retrieval call binding the contract method 0x7146bd08.
Solidity: function MAX_PURCHASE() view returns(uint8)
func (*TokenCallerSession) MaxTotalSupply ¶
func (_Token *TokenCallerSession) MaxTotalSupply() (*big.Int, error)
MaxTotalSupply is a free data retrieval call binding the contract method 0x2ab4d052.
Solidity: function maxTotalSupply() view returns(uint256)
func (*TokenCallerSession) Name ¶
func (_Token *TokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenCallerSession) OGPRICE ¶
func (_Token *TokenCallerSession) OGPRICE() (*big.Int, error)
OGPRICE is a free data retrieval call binding the contract method 0x90069b42.
Solidity: function OG_PRICE() view returns(uint256)
func (*TokenCallerSession) Owner ¶
func (_Token *TokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenCallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*TokenCallerSession) SupportsInterface ¶
func (_Token *TokenCallerSession) 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 (*TokenCallerSession) Symbol ¶
func (_Token *TokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*TokenCallerSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*TokenCallerSession) TokenColor ¶
func (_Token *TokenCallerSession) TokenColor(tokenId *big.Int) (uint8, error)
TokenColor is a free data retrieval call binding the contract method 0x58ac8eef.
Solidity: function tokenColor(uint256 tokenId) view returns(uint8)
func (*TokenCallerSession) TokenOfOwnerByIndex ¶
func (_Token *TokenCallerSession) 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 (*TokenCallerSession) TokenURI ¶
func (_Token *TokenCallerSession) 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 (*TokenCallerSession) TotalSupply ¶
func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type TokenFilterer ¶
type TokenFilterer struct {
// contains filtered or unexported fields
}
TokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenFilterer ¶
func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)
NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.
func (*TokenFilterer) FilterAddressPrivateSlotsChange ¶
func (_Token *TokenFilterer) FilterAddressPrivateSlotsChange(opts *bind.FilterOpts) (*TokenAddressPrivateSlotsChangeIterator, error)
FilterAddressPrivateSlotsChange is a free log retrieval operation binding the contract event 0xe7d264d696ff341e3e6a10c22579a979a96db58bda028ef4dca464bfbe6a1f08.
Solidity: event addressPrivateSlotsChange(address addr, uint256 slots)
func (*TokenFilterer) FilterAddressPublicSlotsChange ¶
func (_Token *TokenFilterer) FilterAddressPublicSlotsChange(opts *bind.FilterOpts) (*TokenAddressPublicSlotsChangeIterator, error)
FilterAddressPublicSlotsChange is a free log retrieval operation binding the contract event 0xa21cede0a934fc8df5d3330132f2a959fbe0d70b901e2a17909bb1e1b8feb904.
Solidity: event addressPublicSlotsChange(address addr, uint256 slots, uint256 totalRemaining)
func (*TokenFilterer) FilterApproval ¶
func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*TokenApprovalIterator, 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 (*TokenFilterer) FilterApprovalForAll ¶
func (_Token *TokenFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*TokenApprovalForAllIterator, 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 (*TokenFilterer) FilterOwnershipTransferred ¶
func (_Token *TokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) FilterPrivateSaleState ¶
func (_Token *TokenFilterer) FilterPrivateSaleState(opts *bind.FilterOpts) (*TokenPrivateSaleStateIterator, error)
FilterPrivateSaleState is a free log retrieval operation binding the contract event 0xc08856a2421028bf2a88be7559541c7087eb189d1518a79356b4ace74b5252c9.
Solidity: event privateSaleState(bool active)
func (*TokenFilterer) FilterPublicSaleState ¶
func (_Token *TokenFilterer) FilterPublicSaleState(opts *bind.FilterOpts) (*TokenPublicSaleStateIterator, error)
FilterPublicSaleState is a free log retrieval operation binding the contract event 0xd9bc49251edd474a55897591c0b750b4f5b2609a950c788f8ef8d44b45b0f718.
Solidity: event publicSaleState(bool active)
func (*TokenFilterer) FilterTransfer ¶
func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*TokenTransferIterator, 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 (*TokenFilterer) ParseAddressPrivateSlotsChange ¶
func (_Token *TokenFilterer) ParseAddressPrivateSlotsChange(log types.Log) (*TokenAddressPrivateSlotsChange, error)
ParseAddressPrivateSlotsChange is a log parse operation binding the contract event 0xe7d264d696ff341e3e6a10c22579a979a96db58bda028ef4dca464bfbe6a1f08.
Solidity: event addressPrivateSlotsChange(address addr, uint256 slots)
func (*TokenFilterer) ParseAddressPublicSlotsChange ¶
func (_Token *TokenFilterer) ParseAddressPublicSlotsChange(log types.Log) (*TokenAddressPublicSlotsChange, error)
ParseAddressPublicSlotsChange is a log parse operation binding the contract event 0xa21cede0a934fc8df5d3330132f2a959fbe0d70b901e2a17909bb1e1b8feb904.
Solidity: event addressPublicSlotsChange(address addr, uint256 slots, uint256 totalRemaining)
func (*TokenFilterer) ParseApproval ¶
func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, 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 (*TokenFilterer) ParseApprovalForAll ¶
func (_Token *TokenFilterer) ParseApprovalForAll(log types.Log) (*TokenApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*TokenFilterer) ParseOwnershipTransferred ¶
func (_Token *TokenFilterer) ParseOwnershipTransferred(log types.Log) (*TokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) ParsePrivateSaleState ¶
func (_Token *TokenFilterer) ParsePrivateSaleState(log types.Log) (*TokenPrivateSaleState, error)
ParsePrivateSaleState is a log parse operation binding the contract event 0xc08856a2421028bf2a88be7559541c7087eb189d1518a79356b4ace74b5252c9.
Solidity: event privateSaleState(bool active)
func (*TokenFilterer) ParsePublicSaleState ¶
func (_Token *TokenFilterer) ParsePublicSaleState(log types.Log) (*TokenPublicSaleState, error)
ParsePublicSaleState is a log parse operation binding the contract event 0xd9bc49251edd474a55897591c0b750b4f5b2609a950c788f8ef8d44b45b0f718.
Solidity: event publicSaleState(bool active)
func (*TokenFilterer) ParseTransfer ¶
func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, 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 (*TokenFilterer) WatchAddressPrivateSlotsChange ¶
func (_Token *TokenFilterer) WatchAddressPrivateSlotsChange(opts *bind.WatchOpts, sink chan<- *TokenAddressPrivateSlotsChange) (event.Subscription, error)
WatchAddressPrivateSlotsChange is a free log subscription operation binding the contract event 0xe7d264d696ff341e3e6a10c22579a979a96db58bda028ef4dca464bfbe6a1f08.
Solidity: event addressPrivateSlotsChange(address addr, uint256 slots)
func (*TokenFilterer) WatchAddressPublicSlotsChange ¶
func (_Token *TokenFilterer) WatchAddressPublicSlotsChange(opts *bind.WatchOpts, sink chan<- *TokenAddressPublicSlotsChange) (event.Subscription, error)
WatchAddressPublicSlotsChange is a free log subscription operation binding the contract event 0xa21cede0a934fc8df5d3330132f2a959fbe0d70b901e2a17909bb1e1b8feb904.
Solidity: event addressPublicSlotsChange(address addr, uint256 slots, uint256 totalRemaining)
func (*TokenFilterer) WatchApproval ¶
func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, 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 (*TokenFilterer) WatchApprovalForAll ¶
func (_Token *TokenFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *TokenApprovalForAll, 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 (*TokenFilterer) WatchOwnershipTransferred ¶
func (_Token *TokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenOwnershipTransferred, 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 (*TokenFilterer) WatchPrivateSaleState ¶
func (_Token *TokenFilterer) WatchPrivateSaleState(opts *bind.WatchOpts, sink chan<- *TokenPrivateSaleState) (event.Subscription, error)
WatchPrivateSaleState is a free log subscription operation binding the contract event 0xc08856a2421028bf2a88be7559541c7087eb189d1518a79356b4ace74b5252c9.
Solidity: event privateSaleState(bool active)
func (*TokenFilterer) WatchPublicSaleState ¶
func (_Token *TokenFilterer) WatchPublicSaleState(opts *bind.WatchOpts, sink chan<- *TokenPublicSaleState) (event.Subscription, error)
WatchPublicSaleState is a free log subscription operation binding the contract event 0xd9bc49251edd474a55897591c0b750b4f5b2609a950c788f8ef8d44b45b0f718.
Solidity: event publicSaleState(bool active)
func (*TokenFilterer) WatchTransfer ¶
func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, 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 TokenOwnershipTransferred ¶
type TokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TokenOwnershipTransferred represents a OwnershipTransferred event raised by the Token contract.
type TokenOwnershipTransferredIterator ¶
type TokenOwnershipTransferredIterator struct { Event *TokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Token contract.
func (*TokenOwnershipTransferredIterator) Close ¶
func (it *TokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenOwnershipTransferredIterator) Error ¶
func (it *TokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenOwnershipTransferredIterator) Next ¶
func (it *TokenOwnershipTransferredIterator) 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 TokenPrivateSaleState ¶
type TokenPrivateSaleState struct { Active bool Raw types.Log // Blockchain specific contextual infos }
TokenPrivateSaleState represents a PrivateSaleState event raised by the Token contract.
type TokenPrivateSaleStateIterator ¶
type TokenPrivateSaleStateIterator struct { Event *TokenPrivateSaleState // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenPrivateSaleStateIterator is returned from FilterPrivateSaleState and is used to iterate over the raw logs and unpacked data for PrivateSaleState events raised by the Token contract.
func (*TokenPrivateSaleStateIterator) Close ¶
func (it *TokenPrivateSaleStateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenPrivateSaleStateIterator) Error ¶
func (it *TokenPrivateSaleStateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenPrivateSaleStateIterator) Next ¶
func (it *TokenPrivateSaleStateIterator) 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 TokenPublicSaleState ¶
type TokenPublicSaleState struct { Active bool Raw types.Log // Blockchain specific contextual infos }
TokenPublicSaleState represents a PublicSaleState event raised by the Token contract.
type TokenPublicSaleStateIterator ¶
type TokenPublicSaleStateIterator struct { Event *TokenPublicSaleState // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenPublicSaleStateIterator is returned from FilterPublicSaleState and is used to iterate over the raw logs and unpacked data for PublicSaleState events raised by the Token contract.
func (*TokenPublicSaleStateIterator) Close ¶
func (it *TokenPublicSaleStateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenPublicSaleStateIterator) Error ¶
func (it *TokenPublicSaleStateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenPublicSaleStateIterator) Next ¶
func (it *TokenPublicSaleStateIterator) 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 TokenRaw ¶
type TokenRaw struct {
Contract *Token // Generic contract binding to access the raw methods on
}
TokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenRaw) Call ¶
func (_Token *TokenRaw) 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 (*TokenRaw) Transact ¶
func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenRaw) Transfer ¶
func (_Token *TokenRaw) 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 TokenSession ¶
type TokenSession struct { Contract *Token // 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 }
TokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TokenSession) AddWhitelistAddresses ¶
func (_Token *TokenSession) AddWhitelistAddresses(numberOfTokens uint8, addresses []common.Address) (*types.Transaction, error)
AddWhitelistAddresses is a paid mutator transaction binding the contract method 0xe71159b2.
Solidity: function addWhitelistAddresses(uint8 numberOfTokens, address[] addresses) returns()
func (*TokenSession) AddressPrivateSaleSlots ¶
AddressPrivateSaleSlots is a free data retrieval call binding the contract method 0x8ec33726.
Solidity: function addressPrivateSaleSlots(address _address) view returns(uint256)
func (*TokenSession) AddressPublicSaleSlots ¶
func (_Token *TokenSession) AddressPublicSaleSlots(_address common.Address) (uint8, error)
AddressPublicSaleSlots is a free data retrieval call binding the contract method 0x26f8873e.
Solidity: function addressPublicSaleSlots(address _address) view returns(uint8)
func (*TokenSession) Approve ¶
func (_Token *TokenSession) 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 (*TokenSession) AvailableForMint ¶
func (_Token *TokenSession) AvailableForMint() (*big.Int, error)
AvailableForMint is a free data retrieval call binding the contract method 0x6204b831.
Solidity: function availableForMint() view returns(uint256)
func (*TokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*TokenSession) COLORSVARIATIONS ¶
func (_Token *TokenSession) COLORSVARIATIONS() (uint8, error)
COLORSVARIATIONS is a free data retrieval call binding the contract method 0x26e0032d.
Solidity: function COLORS_VARIATIONS() view returns(uint8)
func (*TokenSession) FlipPrivateSaleState ¶
func (_Token *TokenSession) FlipPrivateSaleState() (*types.Transaction, error)
FlipPrivateSaleState is a paid mutator transaction binding the contract method 0x3719e3b0.
Solidity: function flipPrivateSaleState() returns()
func (*TokenSession) FlipPublicSaleState ¶
func (_Token *TokenSession) FlipPublicSaleState() (*types.Transaction, error)
FlipPublicSaleState is a paid mutator transaction binding the contract method 0xa10866ef.
Solidity: function flipPublicSaleState() returns()
func (*TokenSession) Freeze ¶
func (_Token *TokenSession) Freeze() (*types.Transaction, error)
Freeze is a paid mutator transaction binding the contract method 0x62a5af3b.
Solidity: function freeze() returns()
func (*TokenSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*TokenSession) IsApprovedForAll ¶
func (_Token *TokenSession) 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 (*TokenSession) IsFreeze ¶
func (_Token *TokenSession) IsFreeze() (bool, error)
IsFreeze is a free data retrieval call binding the contract method 0xc154d6ca.
Solidity: function isFreeze() view returns(bool)
func (*TokenSession) IsPrivateSaleActive ¶
func (_Token *TokenSession) IsPrivateSaleActive() (bool, error)
IsPrivateSaleActive is a free data retrieval call binding the contract method 0xd8a9e1e9.
Solidity: function isPrivateSaleActive() view returns(bool)
func (*TokenSession) IsPublicSaleActive ¶
func (_Token *TokenSession) IsPublicSaleActive() (bool, error)
IsPublicSaleActive is a free data retrieval call binding the contract method 0x1e84c413.
Solidity: function isPublicSaleActive() view returns(bool)
func (*TokenSession) IsPublicSaleEnded ¶
func (_Token *TokenSession) IsPublicSaleEnded() (bool, error)
IsPublicSaleEnded is a free data retrieval call binding the contract method 0xeeca3737.
Solidity: function isPublicSaleEnded() view returns(bool)
func (*TokenSession) IsWhitelisted ¶
func (_Token *TokenSession) IsWhitelisted(_address common.Address) (bool, error)
IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.
Solidity: function isWhitelisted(address _address) view returns(bool)
func (*TokenSession) MAXPURCHASE ¶
func (_Token *TokenSession) MAXPURCHASE() (uint8, error)
MAXPURCHASE is a free data retrieval call binding the contract method 0x7146bd08.
Solidity: function MAX_PURCHASE() view returns(uint8)
func (*TokenSession) MaxTotalSupply ¶
func (_Token *TokenSession) MaxTotalSupply() (*big.Int, error)
MaxTotalSupply is a free data retrieval call binding the contract method 0x2ab4d052.
Solidity: function maxTotalSupply() view returns(uint256)
func (*TokenSession) MintGiftToken ¶
func (_Token *TokenSession) MintGiftToken(to common.Address, _tokenURI string, color uint8) (*types.Transaction, error)
MintGiftToken is a paid mutator transaction binding the contract method 0x22f8cedf.
Solidity: function mintGiftToken(address to, string _tokenURI, uint8 color) returns()
func (*TokenSession) MintPrivate ¶
func (_Token *TokenSession) MintPrivate(numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
MintPrivate is a paid mutator transaction binding the contract method 0x4da79d5a.
Solidity: function mintPrivate(uint8 numberOfTokens, uint8[] colors) payable returns()
func (*TokenSession) MintPublic ¶
func (_Token *TokenSession) MintPublic(numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
MintPublic is a paid mutator transaction binding the contract method 0xfcc777f5.
Solidity: function mintPublic(uint8 numberOfTokens, uint8[] colors) payable returns()
func (*TokenSession) Name ¶
func (_Token *TokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenSession) OGPRICE ¶
func (_Token *TokenSession) OGPRICE() (*big.Int, error)
OGPRICE is a free data retrieval call binding the contract method 0x90069b42.
Solidity: function OG_PRICE() view returns(uint256)
func (*TokenSession) Owner ¶
func (_Token *TokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*TokenSession) RemoveWhitelistAddresses ¶
func (_Token *TokenSession) RemoveWhitelistAddresses(addresses []common.Address) (*types.Transaction, error)
RemoveWhitelistAddresses is a paid mutator transaction binding the contract method 0xb83921a6.
Solidity: function removeWhitelistAddresses(address[] addresses) returns()
func (*TokenSession) RenounceOwnership ¶
func (_Token *TokenSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenSession) SafeTransferFrom ¶
func (_Token *TokenSession) 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 (*TokenSession) SafeTransferFrom0 ¶
func (_Token *TokenSession) 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 (*TokenSession) SetApprovalForAll ¶
func (_Token *TokenSession) 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 (*TokenSession) SetTokenURI ¶
func (_Token *TokenSession) SetTokenURI(tokenId *big.Int, _tokenURI string) (*types.Transaction, error)
SetTokenURI is a paid mutator transaction binding the contract method 0x162094c4.
Solidity: function setTokenURI(uint256 tokenId, string _tokenURI) returns()
func (*TokenSession) SupportsInterface ¶
func (_Token *TokenSession) 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 (*TokenSession) Symbol ¶
func (_Token *TokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*TokenSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*TokenSession) TokenColor ¶
func (_Token *TokenSession) TokenColor(tokenId *big.Int) (uint8, error)
TokenColor is a free data retrieval call binding the contract method 0x58ac8eef.
Solidity: function tokenColor(uint256 tokenId) view returns(uint8)
func (*TokenSession) TokenOfOwnerByIndex ¶
func (_Token *TokenSession) 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 (*TokenSession) TokenURI ¶
func (_Token *TokenSession) 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 (*TokenSession) TotalSupply ¶
func (_Token *TokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*TokenSession) TransferFrom ¶
func (_Token *TokenSession) 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 (*TokenSession) TransferOwnership ¶
func (_Token *TokenSession) 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 (*TokenSession) Withdraw ¶
func (_Token *TokenSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type TokenTransactor ¶
type TokenTransactor struct {
// contains filtered or unexported fields
}
TokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenTransactor ¶
func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)
NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.
func (*TokenTransactor) AddWhitelistAddresses ¶
func (_Token *TokenTransactor) AddWhitelistAddresses(opts *bind.TransactOpts, numberOfTokens uint8, addresses []common.Address) (*types.Transaction, error)
AddWhitelistAddresses is a paid mutator transaction binding the contract method 0xe71159b2.
Solidity: function addWhitelistAddresses(uint8 numberOfTokens, address[] addresses) returns()
func (*TokenTransactor) Approve ¶
func (_Token *TokenTransactor) 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 (*TokenTransactor) FlipPrivateSaleState ¶
func (_Token *TokenTransactor) FlipPrivateSaleState(opts *bind.TransactOpts) (*types.Transaction, error)
FlipPrivateSaleState is a paid mutator transaction binding the contract method 0x3719e3b0.
Solidity: function flipPrivateSaleState() returns()
func (*TokenTransactor) FlipPublicSaleState ¶
func (_Token *TokenTransactor) FlipPublicSaleState(opts *bind.TransactOpts) (*types.Transaction, error)
FlipPublicSaleState is a paid mutator transaction binding the contract method 0xa10866ef.
Solidity: function flipPublicSaleState() returns()
func (*TokenTransactor) Freeze ¶
func (_Token *TokenTransactor) Freeze(opts *bind.TransactOpts) (*types.Transaction, error)
Freeze is a paid mutator transaction binding the contract method 0x62a5af3b.
Solidity: function freeze() returns()
func (*TokenTransactor) MintGiftToken ¶
func (_Token *TokenTransactor) MintGiftToken(opts *bind.TransactOpts, to common.Address, _tokenURI string, color uint8) (*types.Transaction, error)
MintGiftToken is a paid mutator transaction binding the contract method 0x22f8cedf.
Solidity: function mintGiftToken(address to, string _tokenURI, uint8 color) returns()
func (*TokenTransactor) MintPrivate ¶
func (_Token *TokenTransactor) MintPrivate(opts *bind.TransactOpts, numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
MintPrivate is a paid mutator transaction binding the contract method 0x4da79d5a.
Solidity: function mintPrivate(uint8 numberOfTokens, uint8[] colors) payable returns()
func (*TokenTransactor) MintPublic ¶
func (_Token *TokenTransactor) MintPublic(opts *bind.TransactOpts, numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
MintPublic is a paid mutator transaction binding the contract method 0xfcc777f5.
Solidity: function mintPublic(uint8 numberOfTokens, uint8[] colors) payable returns()
func (*TokenTransactor) RemoveWhitelistAddresses ¶
func (_Token *TokenTransactor) RemoveWhitelistAddresses(opts *bind.TransactOpts, addresses []common.Address) (*types.Transaction, error)
RemoveWhitelistAddresses is a paid mutator transaction binding the contract method 0xb83921a6.
Solidity: function removeWhitelistAddresses(address[] addresses) returns()
func (*TokenTransactor) RenounceOwnership ¶
func (_Token *TokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenTransactor) SafeTransferFrom ¶
func (_Token *TokenTransactor) 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 (*TokenTransactor) SafeTransferFrom0 ¶
func (_Token *TokenTransactor) 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 (*TokenTransactor) SetApprovalForAll ¶
func (_Token *TokenTransactor) 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 (*TokenTransactor) SetTokenURI ¶
func (_Token *TokenTransactor) SetTokenURI(opts *bind.TransactOpts, tokenId *big.Int, _tokenURI string) (*types.Transaction, error)
SetTokenURI is a paid mutator transaction binding the contract method 0x162094c4.
Solidity: function setTokenURI(uint256 tokenId, string _tokenURI) returns()
func (*TokenTransactor) TransferFrom ¶
func (_Token *TokenTransactor) 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 (*TokenTransactor) TransferOwnership ¶
func (_Token *TokenTransactor) 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 (*TokenTransactor) Withdraw ¶
func (_Token *TokenTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type TokenTransactorRaw ¶
type TokenTransactorRaw struct {
Contract *TokenTransactor // Generic write-only contract binding to access the raw methods on
}
TokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenTransactorRaw) Transact ¶
func (_Token *TokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenTransactorRaw) Transfer ¶
func (_Token *TokenTransactorRaw) 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 TokenTransactorSession ¶
type TokenTransactorSession struct { Contract *TokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TokenTransactorSession) AddWhitelistAddresses ¶
func (_Token *TokenTransactorSession) AddWhitelistAddresses(numberOfTokens uint8, addresses []common.Address) (*types.Transaction, error)
AddWhitelistAddresses is a paid mutator transaction binding the contract method 0xe71159b2.
Solidity: function addWhitelistAddresses(uint8 numberOfTokens, address[] addresses) returns()
func (*TokenTransactorSession) Approve ¶
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) FlipPrivateSaleState ¶
func (_Token *TokenTransactorSession) FlipPrivateSaleState() (*types.Transaction, error)
FlipPrivateSaleState is a paid mutator transaction binding the contract method 0x3719e3b0.
Solidity: function flipPrivateSaleState() returns()
func (*TokenTransactorSession) FlipPublicSaleState ¶
func (_Token *TokenTransactorSession) FlipPublicSaleState() (*types.Transaction, error)
FlipPublicSaleState is a paid mutator transaction binding the contract method 0xa10866ef.
Solidity: function flipPublicSaleState() returns()
func (*TokenTransactorSession) Freeze ¶
func (_Token *TokenTransactorSession) Freeze() (*types.Transaction, error)
Freeze is a paid mutator transaction binding the contract method 0x62a5af3b.
Solidity: function freeze() returns()
func (*TokenTransactorSession) MintGiftToken ¶
func (_Token *TokenTransactorSession) MintGiftToken(to common.Address, _tokenURI string, color uint8) (*types.Transaction, error)
MintGiftToken is a paid mutator transaction binding the contract method 0x22f8cedf.
Solidity: function mintGiftToken(address to, string _tokenURI, uint8 color) returns()
func (*TokenTransactorSession) MintPrivate ¶
func (_Token *TokenTransactorSession) MintPrivate(numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
MintPrivate is a paid mutator transaction binding the contract method 0x4da79d5a.
Solidity: function mintPrivate(uint8 numberOfTokens, uint8[] colors) payable returns()
func (*TokenTransactorSession) MintPublic ¶
func (_Token *TokenTransactorSession) MintPublic(numberOfTokens uint8, colors []uint8) (*types.Transaction, error)
MintPublic is a paid mutator transaction binding the contract method 0xfcc777f5.
Solidity: function mintPublic(uint8 numberOfTokens, uint8[] colors) payable returns()
func (*TokenTransactorSession) RemoveWhitelistAddresses ¶
func (_Token *TokenTransactorSession) RemoveWhitelistAddresses(addresses []common.Address) (*types.Transaction, error)
RemoveWhitelistAddresses is a paid mutator transaction binding the contract method 0xb83921a6.
Solidity: function removeWhitelistAddresses(address[] addresses) returns()
func (*TokenTransactorSession) RenounceOwnership ¶
func (_Token *TokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenTransactorSession) SafeTransferFrom ¶
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) SafeTransferFrom0 ¶
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) SetApprovalForAll ¶
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) SetTokenURI ¶
func (_Token *TokenTransactorSession) SetTokenURI(tokenId *big.Int, _tokenURI string) (*types.Transaction, error)
SetTokenURI is a paid mutator transaction binding the contract method 0x162094c4.
Solidity: function setTokenURI(uint256 tokenId, string _tokenURI) returns()
func (*TokenTransactorSession) TransferFrom ¶
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) TransferOwnership ¶
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) Withdraw ¶
func (_Token *TokenTransactorSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type TokenTransfer ¶
type TokenTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenTransfer represents a Transfer event raised by the Token contract.
type TokenTransferIterator ¶
type TokenTransferIterator struct { Event *TokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Token contract.
func (*TokenTransferIterator) Close ¶
func (it *TokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenTransferIterator) Error ¶
func (it *TokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenTransferIterator) Next ¶
func (it *TokenTransferIterator) 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.