Documentation ¶
Index ¶
- Constants
- Variables
- type ContractSnail
- type Snaili
- type SnailiApproval
- type SnailiApprovalForAll
- type SnailiApprovalForAllIterator
- type SnailiApprovalIterator
- type SnailiCaller
- func (_Snaili *SnailiCaller) AddressMinted(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_Snaili *SnailiCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Snaili *SnailiCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Snaili *SnailiCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Snaili *SnailiCaller) IsKYCAddress(opts *bind.CallOpts, address_ common.Address, merkleProof [][32]byte) (bool, error)
- func (_Snaili *SnailiCaller) MAXSUPPLY(opts *bind.CallOpts) (*big.Int, error)
- func (_Snaili *SnailiCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Snaili *SnailiCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Snaili *SnailiCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Snaili *SnailiCaller) RoyaltyInfo(opts *bind.CallOpts, tokenId *big.Int, salePrice *big.Int) (struct{ ... }, error)
- func (_Snaili *SnailiCaller) StageMintConfig(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Snaili *SnailiCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Snaili *SnailiCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Snaili *SnailiCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_Snaili *SnailiCaller) TotalMinted(opts *bind.CallOpts) (*big.Int, error)
- func (_Snaili *SnailiCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type SnailiCallerRaw
- type SnailiCallerSession
- func (_Snaili *SnailiCallerSession) AddressMinted(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_Snaili *SnailiCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Snaili *SnailiCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Snaili *SnailiCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Snaili *SnailiCallerSession) IsKYCAddress(address_ common.Address, merkleProof [][32]byte) (bool, error)
- func (_Snaili *SnailiCallerSession) MAXSUPPLY() (*big.Int, error)
- func (_Snaili *SnailiCallerSession) Name() (string, error)
- func (_Snaili *SnailiCallerSession) Owner() (common.Address, error)
- func (_Snaili *SnailiCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Snaili *SnailiCallerSession) RoyaltyInfo(tokenId *big.Int, salePrice *big.Int) (struct{ ... }, error)
- func (_Snaili *SnailiCallerSession) StageMintConfig() (struct{ ... }, error)
- func (_Snaili *SnailiCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Snaili *SnailiCallerSession) Symbol() (string, error)
- func (_Snaili *SnailiCallerSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Snaili *SnailiCallerSession) TotalMinted() (*big.Int, error)
- func (_Snaili *SnailiCallerSession) TotalSupply() (*big.Int, error)
- type SnailiFilterer
- func (_Snaili *SnailiFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*SnailiApprovalIterator, error)
- func (_Snaili *SnailiFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*SnailiApprovalForAllIterator, error)
- func (_Snaili *SnailiFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*SnailiOwnershipTransferredIterator, error)
- func (_Snaili *SnailiFilterer) FilterReceived(opts *bind.FilterOpts, arg0 []common.Address) (*SnailiReceivedIterator, error)
- func (_Snaili *SnailiFilterer) FilterStageMintConfigChanged(opts *bind.FilterOpts) (*SnailiStageMintConfigChangedIterator, error)
- func (_Snaili *SnailiFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*SnailiTransferIterator, error)
- func (_Snaili *SnailiFilterer) ParseApproval(log types.Log) (*SnailiApproval, error)
- func (_Snaili *SnailiFilterer) ParseApprovalForAll(log types.Log) (*SnailiApprovalForAll, error)
- func (_Snaili *SnailiFilterer) ParseOwnershipTransferred(log types.Log) (*SnailiOwnershipTransferred, error)
- func (_Snaili *SnailiFilterer) ParseReceived(log types.Log) (*SnailiReceived, error)
- func (_Snaili *SnailiFilterer) ParseStageMintConfigChanged(log types.Log) (*SnailiStageMintConfigChanged, error)
- func (_Snaili *SnailiFilterer) ParseTransfer(log types.Log) (*SnailiTransfer, error)
- func (_Snaili *SnailiFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SnailiApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Snaili *SnailiFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *SnailiApprovalForAll, ...) (event.Subscription, error)
- func (_Snaili *SnailiFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SnailiOwnershipTransferred, ...) (event.Subscription, error)
- func (_Snaili *SnailiFilterer) WatchReceived(opts *bind.WatchOpts, sink chan<- *SnailiReceived, arg0 []common.Address) (event.Subscription, error)
- func (_Snaili *SnailiFilterer) WatchStageMintConfigChanged(opts *bind.WatchOpts, sink chan<- *SnailiStageMintConfigChanged) (event.Subscription, error)
- func (_Snaili *SnailiFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SnailiTransfer, from []common.Address, ...) (event.Subscription, error)
- type SnailiOwnershipTransferred
- type SnailiOwnershipTransferredIterator
- type SnailiRaw
- func (_Snaili *SnailiRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Snaili *SnailiRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Snaili *SnailiRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SnailiReceived
- type SnailiReceivedIterator
- type SnailiSession
- func (_Snaili *SnailiSession) AddressMinted(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_Snaili *SnailiSession) AirDrop(quantity uint64, to common.Address) (*types.Transaction, error)
- func (_Snaili *SnailiSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Snaili *SnailiSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Snaili *SnailiSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Snaili *SnailiSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Snaili *SnailiSession) IsKYCAddress(address_ common.Address, merkleProof [][32]byte) (bool, error)
- func (_Snaili *SnailiSession) MAXSUPPLY() (*big.Int, error)
- func (_Snaili *SnailiSession) Name() (string, error)
- func (_Snaili *SnailiSession) Owner() (common.Address, error)
- func (_Snaili *SnailiSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Snaili *SnailiSession) PublicMint(quantity uint64) (*types.Transaction, error)
- func (_Snaili *SnailiSession) Receive() (*types.Transaction, error)
- func (_Snaili *SnailiSession) RenounceOwnership() (*types.Transaction, error)
- func (_Snaili *SnailiSession) RoyaltyInfo(tokenId *big.Int, salePrice *big.Int) (struct{ ... }, error)
- func (_Snaili *SnailiSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Snaili *SnailiSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Snaili *SnailiSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Snaili *SnailiSession) SetKycMerkleRoot(_kycMerkleRoot [32]byte) (*types.Transaction, error)
- func (_Snaili *SnailiSession) SetMaxPerAddress(newMaxPerAddress uint64) (*types.Transaction, error)
- func (_Snaili *SnailiSession) SetMaxPerStage(newMaxPerStage uint64) (*types.Transaction, error)
- func (_Snaili *SnailiSession) SetPublicMintActive(mintStarted bool) (*types.Transaction, error)
- func (_Snaili *SnailiSession) SetStageMintConfig(config_ SnailiStageMintConfig) (*types.Transaction, error)
- func (_Snaili *SnailiSession) SetTokenURI(tokenURI_ string) (*types.Transaction, error)
- func (_Snaili *SnailiSession) SetWhiteListMintActive(mintStarted bool) (*types.Transaction, error)
- func (_Snaili *SnailiSession) StageMintConfig() (struct{ ... }, error)
- func (_Snaili *SnailiSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Snaili *SnailiSession) Symbol() (string, error)
- func (_Snaili *SnailiSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Snaili *SnailiSession) TotalMinted() (*big.Int, error)
- func (_Snaili *SnailiSession) TotalSupply() (*big.Int, error)
- func (_Snaili *SnailiSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Snaili *SnailiSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Snaili *SnailiSession) WhitelistMint(quantity uint64, merkleProof [][32]byte) (*types.Transaction, error)
- func (_Snaili *SnailiSession) Withdraw() (*types.Transaction, error)
- func (_Snaili *SnailiSession) WithdrawTokens(token common.Address) (*types.Transaction, error)
- type SnailiStageMintConfig
- type SnailiStageMintConfigChanged
- type SnailiStageMintConfigChangedIterator
- type SnailiTransactor
- func (_Snaili *SnailiTransactor) AirDrop(opts *bind.TransactOpts, quantity uint64, to common.Address) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) PublicMint(opts *bind.TransactOpts, quantity uint64) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) SetKycMerkleRoot(opts *bind.TransactOpts, _kycMerkleRoot [32]byte) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) SetMaxPerAddress(opts *bind.TransactOpts, newMaxPerAddress uint64) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) SetMaxPerStage(opts *bind.TransactOpts, newMaxPerStage uint64) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) SetPublicMintActive(opts *bind.TransactOpts, mintStarted bool) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) SetStageMintConfig(opts *bind.TransactOpts, config_ SnailiStageMintConfig) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) SetTokenURI(opts *bind.TransactOpts, tokenURI_ string) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) SetWhiteListMintActive(opts *bind.TransactOpts, mintStarted bool) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) WhitelistMint(opts *bind.TransactOpts, quantity uint64, merkleProof [][32]byte) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Snaili *SnailiTransactor) WithdrawTokens(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)
- type SnailiTransactorRaw
- type SnailiTransactorSession
- func (_Snaili *SnailiTransactorSession) AirDrop(quantity uint64, to common.Address) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) PublicMint(quantity uint64) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) Receive() (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) SetKycMerkleRoot(_kycMerkleRoot [32]byte) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) SetMaxPerAddress(newMaxPerAddress uint64) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) SetMaxPerStage(newMaxPerStage uint64) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) SetPublicMintActive(mintStarted bool) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) SetStageMintConfig(config_ SnailiStageMintConfig) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) SetTokenURI(tokenURI_ string) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) SetWhiteListMintActive(mintStarted bool) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) WhitelistMint(quantity uint64, merkleProof [][32]byte) (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) Withdraw() (*types.Transaction, error)
- func (_Snaili *SnailiTransactorSession) WithdrawTokens(token common.Address) (*types.Transaction, error)
- type SnailiTransfer
- type SnailiTransferIterator
Constants ¶
const (
Contract = "0xAeef2b7D89b609b2890e10413D13177fC9301Ee6"
)
Variables ¶
var SnailiABI = SnailiMetaData.ABI
SnailiABI is the input ABI used to generate the binding from. Deprecated: Use SnailiMetaData.ABI instead.
var SnailiMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ApprovalCallerNotOwnerNorApproved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ApprovalQueryForNonexistentToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ApprovalToCurrentOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ApproveToCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BalanceQueryForZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintZeroQuantity\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OwnerQueryForNonexistentToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferCallerNotOwnerNorApproved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFromIncorrectOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferToNonERC721ReceiverImplementer\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"URIQueryForNonexistentToken\",\"type\":\"error\"},{\"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\":\"\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"stageNum\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"maxPerStage\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"maxPerAddress\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"isWhiteListMintActive\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"merkleRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"isPublicMintActive\",\"type\":\"bool\"}],\"indexed\":false,\"internalType\":\"structSnaili.StageMintConfig\",\"name\":\"config\",\"type\":\"tuple\"}],\"name\":\"StageMintConfigChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_SUPPLY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"addressMinted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"quantity\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"airDrop\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"address_\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"isKYCAddress\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"quantity\",\"type\":\"uint64\"}],\"name\":\"publicMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salePrice\",\"type\":\"uint256\"}],\"name\":\"royaltyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"royaltyAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"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\":\"bytes32\",\"name\":\"_kycMerkleRoot\",\"type\":\"bytes32\"}],\"name\":\"setKycMerkleRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newMaxPerAddress\",\"type\":\"uint64\"}],\"name\":\"setMaxPerAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newMaxPerStage\",\"type\":\"uint64\"}],\"name\":\"setMaxPerStage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"mintStarted\",\"type\":\"bool\"}],\"name\":\"setPublicMintActive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"stageNum\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"maxPerStage\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"maxPerAddress\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"isWhiteListMintActive\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"merkleRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"isPublicMintActive\",\"type\":\"bool\"}],\"internalType\":\"structSnaili.StageMintConfig\",\"name\":\"config_\",\"type\":\"tuple\"}],\"name\":\"setStageMintConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"tokenURI_\",\"type\":\"string\"}],\"name\":\"setTokenURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"mintStarted\",\"type\":\"bool\"}],\"name\":\"setWhiteListMintActive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stageMintConfig\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"stageNum\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"maxPerStage\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"maxPerAddress\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"isWhiteListMintActive\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"merkleRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"isPublicMintActive\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalMinted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"quantity\",\"type\":\"uint64\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"whitelistMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"withdrawTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
SnailiMetaData contains all meta data concerning the Snaili contract.
Functions ¶
This section is empty.
Types ¶
type ContractSnail ¶
type ContractSnail struct { Client *ethclient.Client SnailAddress string // contains filtered or unexported fields }
func NewContractSnail ¶
func NewContractSnail(endpoint string) (*ContractSnail, error)
func (*ContractSnail) PublicMint ¶
func (c *ContractSnail) PublicMint(tokenId string) (string, error)
type Snaili ¶
type Snaili struct { SnailiCaller // Read-only binding to the contract SnailiTransactor // Write-only binding to the contract SnailiFilterer // Log filterer for contract events }
Snaili is an auto generated Go binding around an Ethereum contract.
type SnailiApproval ¶
type SnailiApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
SnailiApproval represents a Approval event raised by the Snaili contract.
type SnailiApprovalForAll ¶
type SnailiApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
SnailiApprovalForAll represents a ApprovalForAll event raised by the Snaili contract.
type SnailiApprovalForAllIterator ¶
type SnailiApprovalForAllIterator struct { Event *SnailiApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SnailiApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Snaili contract.
func (*SnailiApprovalForAllIterator) Close ¶
func (it *SnailiApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SnailiApprovalForAllIterator) Error ¶
func (it *SnailiApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SnailiApprovalForAllIterator) Next ¶
func (it *SnailiApprovalForAllIterator) 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 SnailiApprovalIterator ¶
type SnailiApprovalIterator struct { Event *SnailiApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SnailiApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Snaili contract.
func (*SnailiApprovalIterator) Close ¶
func (it *SnailiApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SnailiApprovalIterator) Error ¶
func (it *SnailiApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SnailiApprovalIterator) Next ¶
func (it *SnailiApprovalIterator) 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 SnailiCaller ¶
type SnailiCaller struct {
// contains filtered or unexported fields
}
SnailiCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSnailiCaller ¶
func NewSnailiCaller(address common.Address, caller bind.ContractCaller) (*SnailiCaller, error)
NewSnailiCaller creates a new read-only instance of Snaili, bound to a specific deployed contract.
func (*SnailiCaller) AddressMinted ¶
func (_Snaili *SnailiCaller) AddressMinted(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)
AddressMinted is a free data retrieval call binding the contract method 0xf4a66808.
Solidity: function addressMinted(uint256 , address ) view returns(uint256)
func (*SnailiCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*SnailiCaller) GetApproved ¶
func (_Snaili *SnailiCaller) 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 (*SnailiCaller) IsApprovedForAll ¶
func (_Snaili *SnailiCaller) 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 (*SnailiCaller) IsKYCAddress ¶
func (_Snaili *SnailiCaller) IsKYCAddress(opts *bind.CallOpts, address_ common.Address, merkleProof [][32]byte) (bool, error)
IsKYCAddress is a free data retrieval call binding the contract method 0xf102e39e.
Solidity: function isKYCAddress(address address_, bytes32[] merkleProof) view returns(bool)
func (*SnailiCaller) MAXSUPPLY ¶
MAXSUPPLY is a free data retrieval call binding the contract method 0x32cb6b0c.
Solidity: function MAX_SUPPLY() view returns(uint256)
func (*SnailiCaller) Name ¶
func (_Snaili *SnailiCaller) 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 (*SnailiCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SnailiCaller) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*SnailiCaller) RoyaltyInfo ¶
func (_Snaili *SnailiCaller) RoyaltyInfo(opts *bind.CallOpts, tokenId *big.Int, salePrice *big.Int) (struct { Receiver common.Address RoyaltyAmount *big.Int }, error)
RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.
Solidity: function royaltyInfo(uint256 tokenId, uint256 salePrice) view returns(address receiver, uint256 royaltyAmount)
func (*SnailiCaller) StageMintConfig ¶
func (_Snaili *SnailiCaller) StageMintConfig(opts *bind.CallOpts) (struct { StageNum uint64 MaxPerStage uint64 MaxPerAddress uint64 IsWhiteListMintActive bool MerkleRoot [32]byte IsPublicMintActive bool }, error)
StageMintConfig is a free data retrieval call binding the contract method 0x3173ea1a.
Solidity: function stageMintConfig() view returns(uint64 stageNum, uint64 maxPerStage, uint64 maxPerAddress, bool isWhiteListMintActive, bytes32 merkleRoot, bool isPublicMintActive)
func (*SnailiCaller) SupportsInterface ¶
func (_Snaili *SnailiCaller) 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 (*SnailiCaller) Symbol ¶
func (_Snaili *SnailiCaller) 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 (*SnailiCaller) TokenURI ¶
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*SnailiCaller) TotalMinted ¶
TotalMinted is a free data retrieval call binding the contract method 0xa2309ff8.
Solidity: function totalMinted() view returns(uint256)
func (*SnailiCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type SnailiCallerRaw ¶
type SnailiCallerRaw struct {
Contract *SnailiCaller // Generic read-only contract binding to access the raw methods on
}
SnailiCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SnailiCallerRaw) Call ¶
func (_Snaili *SnailiCallerRaw) 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 SnailiCallerSession ¶
type SnailiCallerSession struct { Contract *SnailiCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SnailiCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SnailiCallerSession) AddressMinted ¶
func (_Snaili *SnailiCallerSession) AddressMinted(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
AddressMinted is a free data retrieval call binding the contract method 0xf4a66808.
Solidity: function addressMinted(uint256 , address ) view returns(uint256)
func (*SnailiCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*SnailiCallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*SnailiCallerSession) IsApprovedForAll ¶
func (_Snaili *SnailiCallerSession) 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 (*SnailiCallerSession) IsKYCAddress ¶
func (_Snaili *SnailiCallerSession) IsKYCAddress(address_ common.Address, merkleProof [][32]byte) (bool, error)
IsKYCAddress is a free data retrieval call binding the contract method 0xf102e39e.
Solidity: function isKYCAddress(address address_, bytes32[] merkleProof) view returns(bool)
func (*SnailiCallerSession) MAXSUPPLY ¶
func (_Snaili *SnailiCallerSession) MAXSUPPLY() (*big.Int, error)
MAXSUPPLY is a free data retrieval call binding the contract method 0x32cb6b0c.
Solidity: function MAX_SUPPLY() view returns(uint256)
func (*SnailiCallerSession) Name ¶
func (_Snaili *SnailiCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SnailiCallerSession) Owner ¶
func (_Snaili *SnailiCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SnailiCallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*SnailiCallerSession) RoyaltyInfo ¶
func (_Snaili *SnailiCallerSession) RoyaltyInfo(tokenId *big.Int, salePrice *big.Int) (struct { Receiver common.Address RoyaltyAmount *big.Int }, error)
RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.
Solidity: function royaltyInfo(uint256 tokenId, uint256 salePrice) view returns(address receiver, uint256 royaltyAmount)
func (*SnailiCallerSession) StageMintConfig ¶
func (_Snaili *SnailiCallerSession) StageMintConfig() (struct { StageNum uint64 MaxPerStage uint64 MaxPerAddress uint64 IsWhiteListMintActive bool MerkleRoot [32]byte IsPublicMintActive bool }, error)
StageMintConfig is a free data retrieval call binding the contract method 0x3173ea1a.
Solidity: function stageMintConfig() view returns(uint64 stageNum, uint64 maxPerStage, uint64 maxPerAddress, bool isWhiteListMintActive, bytes32 merkleRoot, bool isPublicMintActive)
func (*SnailiCallerSession) SupportsInterface ¶
func (_Snaili *SnailiCallerSession) 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 (*SnailiCallerSession) Symbol ¶
func (_Snaili *SnailiCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SnailiCallerSession) TokenURI ¶
func (_Snaili *SnailiCallerSession) 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 (*SnailiCallerSession) TotalMinted ¶
func (_Snaili *SnailiCallerSession) TotalMinted() (*big.Int, error)
TotalMinted is a free data retrieval call binding the contract method 0xa2309ff8.
Solidity: function totalMinted() view returns(uint256)
func (*SnailiCallerSession) TotalSupply ¶
func (_Snaili *SnailiCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type SnailiFilterer ¶
type SnailiFilterer struct {
// contains filtered or unexported fields
}
SnailiFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSnailiFilterer ¶
func NewSnailiFilterer(address common.Address, filterer bind.ContractFilterer) (*SnailiFilterer, error)
NewSnailiFilterer creates a new log filterer instance of Snaili, bound to a specific deployed contract.
func (*SnailiFilterer) FilterApproval ¶
func (_Snaili *SnailiFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*SnailiApprovalIterator, 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 (*SnailiFilterer) FilterApprovalForAll ¶
func (_Snaili *SnailiFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*SnailiApprovalForAllIterator, 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 (*SnailiFilterer) FilterOwnershipTransferred ¶
func (_Snaili *SnailiFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SnailiOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*SnailiFilterer) FilterReceived ¶
func (_Snaili *SnailiFilterer) FilterReceived(opts *bind.FilterOpts, arg0 []common.Address) (*SnailiReceivedIterator, error)
FilterReceived is a free log retrieval operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.
Solidity: event Received(address indexed arg0, uint256 arg1)
func (*SnailiFilterer) FilterStageMintConfigChanged ¶
func (_Snaili *SnailiFilterer) FilterStageMintConfigChanged(opts *bind.FilterOpts) (*SnailiStageMintConfigChangedIterator, error)
FilterStageMintConfigChanged is a free log retrieval operation binding the contract event 0xede207c19078509567746f080e3d6ee42074d36324ccd94330364bd907f73b81.
Solidity: event StageMintConfigChanged((uint64,uint64,uint64,bool,bytes32,bool) config)
func (*SnailiFilterer) FilterTransfer ¶
func (_Snaili *SnailiFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*SnailiTransferIterator, 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 (*SnailiFilterer) ParseApproval ¶
func (_Snaili *SnailiFilterer) ParseApproval(log types.Log) (*SnailiApproval, 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 (*SnailiFilterer) ParseApprovalForAll ¶
func (_Snaili *SnailiFilterer) ParseApprovalForAll(log types.Log) (*SnailiApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*SnailiFilterer) ParseOwnershipTransferred ¶
func (_Snaili *SnailiFilterer) ParseOwnershipTransferred(log types.Log) (*SnailiOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*SnailiFilterer) ParseReceived ¶
func (_Snaili *SnailiFilterer) ParseReceived(log types.Log) (*SnailiReceived, error)
ParseReceived is a log parse operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.
Solidity: event Received(address indexed arg0, uint256 arg1)
func (*SnailiFilterer) ParseStageMintConfigChanged ¶
func (_Snaili *SnailiFilterer) ParseStageMintConfigChanged(log types.Log) (*SnailiStageMintConfigChanged, error)
ParseStageMintConfigChanged is a log parse operation binding the contract event 0xede207c19078509567746f080e3d6ee42074d36324ccd94330364bd907f73b81.
Solidity: event StageMintConfigChanged((uint64,uint64,uint64,bool,bytes32,bool) config)
func (*SnailiFilterer) ParseTransfer ¶
func (_Snaili *SnailiFilterer) ParseTransfer(log types.Log) (*SnailiTransfer, 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 (*SnailiFilterer) WatchApproval ¶
func (_Snaili *SnailiFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SnailiApproval, 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 (*SnailiFilterer) WatchApprovalForAll ¶
func (_Snaili *SnailiFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *SnailiApprovalForAll, 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 (*SnailiFilterer) WatchOwnershipTransferred ¶
func (_Snaili *SnailiFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SnailiOwnershipTransferred, 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 (*SnailiFilterer) WatchReceived ¶
func (_Snaili *SnailiFilterer) WatchReceived(opts *bind.WatchOpts, sink chan<- *SnailiReceived, arg0 []common.Address) (event.Subscription, error)
WatchReceived is a free log subscription operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.
Solidity: event Received(address indexed arg0, uint256 arg1)
func (*SnailiFilterer) WatchStageMintConfigChanged ¶
func (_Snaili *SnailiFilterer) WatchStageMintConfigChanged(opts *bind.WatchOpts, sink chan<- *SnailiStageMintConfigChanged) (event.Subscription, error)
WatchStageMintConfigChanged is a free log subscription operation binding the contract event 0xede207c19078509567746f080e3d6ee42074d36324ccd94330364bd907f73b81.
Solidity: event StageMintConfigChanged((uint64,uint64,uint64,bool,bytes32,bool) config)
func (*SnailiFilterer) WatchTransfer ¶
func (_Snaili *SnailiFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SnailiTransfer, 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 SnailiOwnershipTransferred ¶
type SnailiOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SnailiOwnershipTransferred represents a OwnershipTransferred event raised by the Snaili contract.
type SnailiOwnershipTransferredIterator ¶
type SnailiOwnershipTransferredIterator struct { Event *SnailiOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SnailiOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Snaili contract.
func (*SnailiOwnershipTransferredIterator) Close ¶
func (it *SnailiOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SnailiOwnershipTransferredIterator) Error ¶
func (it *SnailiOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SnailiOwnershipTransferredIterator) Next ¶
func (it *SnailiOwnershipTransferredIterator) 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 SnailiRaw ¶
type SnailiRaw struct {
Contract *Snaili // Generic contract binding to access the raw methods on
}
SnailiRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SnailiRaw) Call ¶
func (_Snaili *SnailiRaw) 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 (*SnailiRaw) Transact ¶
func (_Snaili *SnailiRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SnailiRaw) Transfer ¶
func (_Snaili *SnailiRaw) 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 SnailiReceived ¶
type SnailiReceived struct { Arg0 common.Address Arg1 *big.Int Raw types.Log // Blockchain specific contextual infos }
SnailiReceived represents a Received event raised by the Snaili contract.
type SnailiReceivedIterator ¶
type SnailiReceivedIterator struct { Event *SnailiReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SnailiReceivedIterator is returned from FilterReceived and is used to iterate over the raw logs and unpacked data for Received events raised by the Snaili contract.
func (*SnailiReceivedIterator) Close ¶
func (it *SnailiReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SnailiReceivedIterator) Error ¶
func (it *SnailiReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SnailiReceivedIterator) Next ¶
func (it *SnailiReceivedIterator) 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 SnailiSession ¶
type SnailiSession struct { Contract *Snaili // 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 }
SnailiSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SnailiSession) AddressMinted ¶
AddressMinted is a free data retrieval call binding the contract method 0xf4a66808.
Solidity: function addressMinted(uint256 , address ) view returns(uint256)
func (*SnailiSession) AirDrop ¶
func (_Snaili *SnailiSession) AirDrop(quantity uint64, to common.Address) (*types.Transaction, error)
AirDrop is a paid mutator transaction binding the contract method 0xb2c148b2.
Solidity: function airDrop(uint64 quantity, address to) returns()
func (*SnailiSession) Approve ¶
func (_Snaili *SnailiSession) 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 (*SnailiSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*SnailiSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*SnailiSession) IsApprovedForAll ¶
func (_Snaili *SnailiSession) 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 (*SnailiSession) IsKYCAddress ¶
func (_Snaili *SnailiSession) IsKYCAddress(address_ common.Address, merkleProof [][32]byte) (bool, error)
IsKYCAddress is a free data retrieval call binding the contract method 0xf102e39e.
Solidity: function isKYCAddress(address address_, bytes32[] merkleProof) view returns(bool)
func (*SnailiSession) MAXSUPPLY ¶
func (_Snaili *SnailiSession) MAXSUPPLY() (*big.Int, error)
MAXSUPPLY is a free data retrieval call binding the contract method 0x32cb6b0c.
Solidity: function MAX_SUPPLY() view returns(uint256)
func (*SnailiSession) Name ¶
func (_Snaili *SnailiSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SnailiSession) Owner ¶
func (_Snaili *SnailiSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SnailiSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*SnailiSession) PublicMint ¶
func (_Snaili *SnailiSession) PublicMint(quantity uint64) (*types.Transaction, error)
PublicMint is a paid mutator transaction binding the contract method 0x6afcb7b0.
Solidity: function publicMint(uint64 quantity) returns()
func (*SnailiSession) Receive ¶
func (_Snaili *SnailiSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*SnailiSession) RenounceOwnership ¶
func (_Snaili *SnailiSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*SnailiSession) RoyaltyInfo ¶
func (_Snaili *SnailiSession) RoyaltyInfo(tokenId *big.Int, salePrice *big.Int) (struct { Receiver common.Address RoyaltyAmount *big.Int }, error)
RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.
Solidity: function royaltyInfo(uint256 tokenId, uint256 salePrice) view returns(address receiver, uint256 royaltyAmount)
func (*SnailiSession) SafeTransferFrom ¶
func (_Snaili *SnailiSession) 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 (*SnailiSession) SafeTransferFrom0 ¶
func (_Snaili *SnailiSession) 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 (*SnailiSession) SetApprovalForAll ¶
func (_Snaili *SnailiSession) 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 (*SnailiSession) SetKycMerkleRoot ¶
func (_Snaili *SnailiSession) SetKycMerkleRoot(_kycMerkleRoot [32]byte) (*types.Transaction, error)
SetKycMerkleRoot is a paid mutator transaction binding the contract method 0x786867b5.
Solidity: function setKycMerkleRoot(bytes32 _kycMerkleRoot) returns()
func (*SnailiSession) SetMaxPerAddress ¶
func (_Snaili *SnailiSession) SetMaxPerAddress(newMaxPerAddress uint64) (*types.Transaction, error)
SetMaxPerAddress is a paid mutator transaction binding the contract method 0x430a06fa.
Solidity: function setMaxPerAddress(uint64 newMaxPerAddress) returns()
func (*SnailiSession) SetMaxPerStage ¶
func (_Snaili *SnailiSession) SetMaxPerStage(newMaxPerStage uint64) (*types.Transaction, error)
SetMaxPerStage is a paid mutator transaction binding the contract method 0x630a3bc1.
Solidity: function setMaxPerStage(uint64 newMaxPerStage) returns()
func (*SnailiSession) SetPublicMintActive ¶
func (_Snaili *SnailiSession) SetPublicMintActive(mintStarted bool) (*types.Transaction, error)
SetPublicMintActive is a paid mutator transaction binding the contract method 0x2b707c71.
Solidity: function setPublicMintActive(bool mintStarted) returns()
func (*SnailiSession) SetStageMintConfig ¶
func (_Snaili *SnailiSession) SetStageMintConfig(config_ SnailiStageMintConfig) (*types.Transaction, error)
SetStageMintConfig is a paid mutator transaction binding the contract method 0x5b894742.
Solidity: function setStageMintConfig((uint64,uint64,uint64,bool,bytes32,bool) config_) returns()
func (*SnailiSession) SetTokenURI ¶
func (_Snaili *SnailiSession) SetTokenURI(tokenURI_ string) (*types.Transaction, error)
SetTokenURI is a paid mutator transaction binding the contract method 0xe0df5b6f.
Solidity: function setTokenURI(string tokenURI_) returns()
func (*SnailiSession) SetWhiteListMintActive ¶
func (_Snaili *SnailiSession) SetWhiteListMintActive(mintStarted bool) (*types.Transaction, error)
SetWhiteListMintActive is a paid mutator transaction binding the contract method 0xa4f0ed50.
Solidity: function setWhiteListMintActive(bool mintStarted) returns()
func (*SnailiSession) StageMintConfig ¶
func (_Snaili *SnailiSession) StageMintConfig() (struct { StageNum uint64 MaxPerStage uint64 MaxPerAddress uint64 IsWhiteListMintActive bool MerkleRoot [32]byte IsPublicMintActive bool }, error)
StageMintConfig is a free data retrieval call binding the contract method 0x3173ea1a.
Solidity: function stageMintConfig() view returns(uint64 stageNum, uint64 maxPerStage, uint64 maxPerAddress, bool isWhiteListMintActive, bytes32 merkleRoot, bool isPublicMintActive)
func (*SnailiSession) SupportsInterface ¶
func (_Snaili *SnailiSession) 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 (*SnailiSession) Symbol ¶
func (_Snaili *SnailiSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SnailiSession) TokenURI ¶
func (_Snaili *SnailiSession) 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 (*SnailiSession) TotalMinted ¶
func (_Snaili *SnailiSession) TotalMinted() (*big.Int, error)
TotalMinted is a free data retrieval call binding the contract method 0xa2309ff8.
Solidity: function totalMinted() view returns(uint256)
func (*SnailiSession) TotalSupply ¶
func (_Snaili *SnailiSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*SnailiSession) TransferFrom ¶
func (_Snaili *SnailiSession) 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 (*SnailiSession) TransferOwnership ¶
func (_Snaili *SnailiSession) 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 (*SnailiSession) WhitelistMint ¶
func (_Snaili *SnailiSession) WhitelistMint(quantity uint64, merkleProof [][32]byte) (*types.Transaction, error)
WhitelistMint is a paid mutator transaction binding the contract method 0x81e1ced3.
Solidity: function whitelistMint(uint64 quantity, bytes32[] merkleProof) returns()
func (*SnailiSession) Withdraw ¶
func (_Snaili *SnailiSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
func (*SnailiSession) WithdrawTokens ¶
func (_Snaili *SnailiSession) WithdrawTokens(token common.Address) (*types.Transaction, error)
WithdrawTokens is a paid mutator transaction binding the contract method 0x49df728c.
Solidity: function withdrawTokens(address token) returns()
type SnailiStageMintConfig ¶
type SnailiStageMintConfig struct { StageNum uint64 MaxPerStage uint64 MaxPerAddress uint64 IsWhiteListMintActive bool MerkleRoot [32]byte IsPublicMintActive bool }
SnailiStageMintConfig is an auto generated low-level Go binding around an user-defined struct.
type SnailiStageMintConfigChanged ¶
type SnailiStageMintConfigChanged struct { Config SnailiStageMintConfig Raw types.Log // Blockchain specific contextual infos }
SnailiStageMintConfigChanged represents a StageMintConfigChanged event raised by the Snaili contract.
type SnailiStageMintConfigChangedIterator ¶
type SnailiStageMintConfigChangedIterator struct { Event *SnailiStageMintConfigChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SnailiStageMintConfigChangedIterator is returned from FilterStageMintConfigChanged and is used to iterate over the raw logs and unpacked data for StageMintConfigChanged events raised by the Snaili contract.
func (*SnailiStageMintConfigChangedIterator) Close ¶
func (it *SnailiStageMintConfigChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SnailiStageMintConfigChangedIterator) Error ¶
func (it *SnailiStageMintConfigChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SnailiStageMintConfigChangedIterator) Next ¶
func (it *SnailiStageMintConfigChangedIterator) 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 SnailiTransactor ¶
type SnailiTransactor struct {
// contains filtered or unexported fields
}
SnailiTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSnailiTransactor ¶
func NewSnailiTransactor(address common.Address, transactor bind.ContractTransactor) (*SnailiTransactor, error)
NewSnailiTransactor creates a new write-only instance of Snaili, bound to a specific deployed contract.
func (*SnailiTransactor) AirDrop ¶
func (_Snaili *SnailiTransactor) AirDrop(opts *bind.TransactOpts, quantity uint64, to common.Address) (*types.Transaction, error)
AirDrop is a paid mutator transaction binding the contract method 0xb2c148b2.
Solidity: function airDrop(uint64 quantity, address to) returns()
func (*SnailiTransactor) Approve ¶
func (_Snaili *SnailiTransactor) 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 (*SnailiTransactor) PublicMint ¶
func (_Snaili *SnailiTransactor) PublicMint(opts *bind.TransactOpts, quantity uint64) (*types.Transaction, error)
PublicMint is a paid mutator transaction binding the contract method 0x6afcb7b0.
Solidity: function publicMint(uint64 quantity) returns()
func (*SnailiTransactor) Receive ¶
func (_Snaili *SnailiTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*SnailiTransactor) RenounceOwnership ¶
func (_Snaili *SnailiTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*SnailiTransactor) SafeTransferFrom ¶
func (_Snaili *SnailiTransactor) 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 (*SnailiTransactor) SafeTransferFrom0 ¶
func (_Snaili *SnailiTransactor) 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 (*SnailiTransactor) SetApprovalForAll ¶
func (_Snaili *SnailiTransactor) 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 (*SnailiTransactor) SetKycMerkleRoot ¶
func (_Snaili *SnailiTransactor) SetKycMerkleRoot(opts *bind.TransactOpts, _kycMerkleRoot [32]byte) (*types.Transaction, error)
SetKycMerkleRoot is a paid mutator transaction binding the contract method 0x786867b5.
Solidity: function setKycMerkleRoot(bytes32 _kycMerkleRoot) returns()
func (*SnailiTransactor) SetMaxPerAddress ¶
func (_Snaili *SnailiTransactor) SetMaxPerAddress(opts *bind.TransactOpts, newMaxPerAddress uint64) (*types.Transaction, error)
SetMaxPerAddress is a paid mutator transaction binding the contract method 0x430a06fa.
Solidity: function setMaxPerAddress(uint64 newMaxPerAddress) returns()
func (*SnailiTransactor) SetMaxPerStage ¶
func (_Snaili *SnailiTransactor) SetMaxPerStage(opts *bind.TransactOpts, newMaxPerStage uint64) (*types.Transaction, error)
SetMaxPerStage is a paid mutator transaction binding the contract method 0x630a3bc1.
Solidity: function setMaxPerStage(uint64 newMaxPerStage) returns()
func (*SnailiTransactor) SetPublicMintActive ¶
func (_Snaili *SnailiTransactor) SetPublicMintActive(opts *bind.TransactOpts, mintStarted bool) (*types.Transaction, error)
SetPublicMintActive is a paid mutator transaction binding the contract method 0x2b707c71.
Solidity: function setPublicMintActive(bool mintStarted) returns()
func (*SnailiTransactor) SetStageMintConfig ¶
func (_Snaili *SnailiTransactor) SetStageMintConfig(opts *bind.TransactOpts, config_ SnailiStageMintConfig) (*types.Transaction, error)
SetStageMintConfig is a paid mutator transaction binding the contract method 0x5b894742.
Solidity: function setStageMintConfig((uint64,uint64,uint64,bool,bytes32,bool) config_) returns()
func (*SnailiTransactor) SetTokenURI ¶
func (_Snaili *SnailiTransactor) SetTokenURI(opts *bind.TransactOpts, tokenURI_ string) (*types.Transaction, error)
SetTokenURI is a paid mutator transaction binding the contract method 0xe0df5b6f.
Solidity: function setTokenURI(string tokenURI_) returns()
func (*SnailiTransactor) SetWhiteListMintActive ¶
func (_Snaili *SnailiTransactor) SetWhiteListMintActive(opts *bind.TransactOpts, mintStarted bool) (*types.Transaction, error)
SetWhiteListMintActive is a paid mutator transaction binding the contract method 0xa4f0ed50.
Solidity: function setWhiteListMintActive(bool mintStarted) returns()
func (*SnailiTransactor) TransferFrom ¶
func (_Snaili *SnailiTransactor) 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 (*SnailiTransactor) TransferOwnership ¶
func (_Snaili *SnailiTransactor) 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 (*SnailiTransactor) WhitelistMint ¶
func (_Snaili *SnailiTransactor) WhitelistMint(opts *bind.TransactOpts, quantity uint64, merkleProof [][32]byte) (*types.Transaction, error)
WhitelistMint is a paid mutator transaction binding the contract method 0x81e1ced3.
Solidity: function whitelistMint(uint64 quantity, bytes32[] merkleProof) returns()
func (*SnailiTransactor) Withdraw ¶
func (_Snaili *SnailiTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
func (*SnailiTransactor) WithdrawTokens ¶
func (_Snaili *SnailiTransactor) WithdrawTokens(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)
WithdrawTokens is a paid mutator transaction binding the contract method 0x49df728c.
Solidity: function withdrawTokens(address token) returns()
type SnailiTransactorRaw ¶
type SnailiTransactorRaw struct {
Contract *SnailiTransactor // Generic write-only contract binding to access the raw methods on
}
SnailiTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SnailiTransactorRaw) Transact ¶
func (_Snaili *SnailiTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SnailiTransactorRaw) Transfer ¶
func (_Snaili *SnailiTransactorRaw) 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 SnailiTransactorSession ¶
type SnailiTransactorSession struct { Contract *SnailiTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SnailiTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SnailiTransactorSession) AirDrop ¶
func (_Snaili *SnailiTransactorSession) AirDrop(quantity uint64, to common.Address) (*types.Transaction, error)
AirDrop is a paid mutator transaction binding the contract method 0xb2c148b2.
Solidity: function airDrop(uint64 quantity, address to) returns()
func (*SnailiTransactorSession) Approve ¶
func (_Snaili *SnailiTransactorSession) 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 (*SnailiTransactorSession) PublicMint ¶
func (_Snaili *SnailiTransactorSession) PublicMint(quantity uint64) (*types.Transaction, error)
PublicMint is a paid mutator transaction binding the contract method 0x6afcb7b0.
Solidity: function publicMint(uint64 quantity) returns()
func (*SnailiTransactorSession) Receive ¶
func (_Snaili *SnailiTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*SnailiTransactorSession) RenounceOwnership ¶
func (_Snaili *SnailiTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*SnailiTransactorSession) SafeTransferFrom ¶
func (_Snaili *SnailiTransactorSession) 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 (*SnailiTransactorSession) SafeTransferFrom0 ¶
func (_Snaili *SnailiTransactorSession) 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 (*SnailiTransactorSession) SetApprovalForAll ¶
func (_Snaili *SnailiTransactorSession) 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 (*SnailiTransactorSession) SetKycMerkleRoot ¶
func (_Snaili *SnailiTransactorSession) SetKycMerkleRoot(_kycMerkleRoot [32]byte) (*types.Transaction, error)
SetKycMerkleRoot is a paid mutator transaction binding the contract method 0x786867b5.
Solidity: function setKycMerkleRoot(bytes32 _kycMerkleRoot) returns()
func (*SnailiTransactorSession) SetMaxPerAddress ¶
func (_Snaili *SnailiTransactorSession) SetMaxPerAddress(newMaxPerAddress uint64) (*types.Transaction, error)
SetMaxPerAddress is a paid mutator transaction binding the contract method 0x430a06fa.
Solidity: function setMaxPerAddress(uint64 newMaxPerAddress) returns()
func (*SnailiTransactorSession) SetMaxPerStage ¶
func (_Snaili *SnailiTransactorSession) SetMaxPerStage(newMaxPerStage uint64) (*types.Transaction, error)
SetMaxPerStage is a paid mutator transaction binding the contract method 0x630a3bc1.
Solidity: function setMaxPerStage(uint64 newMaxPerStage) returns()
func (*SnailiTransactorSession) SetPublicMintActive ¶
func (_Snaili *SnailiTransactorSession) SetPublicMintActive(mintStarted bool) (*types.Transaction, error)
SetPublicMintActive is a paid mutator transaction binding the contract method 0x2b707c71.
Solidity: function setPublicMintActive(bool mintStarted) returns()
func (*SnailiTransactorSession) SetStageMintConfig ¶
func (_Snaili *SnailiTransactorSession) SetStageMintConfig(config_ SnailiStageMintConfig) (*types.Transaction, error)
SetStageMintConfig is a paid mutator transaction binding the contract method 0x5b894742.
Solidity: function setStageMintConfig((uint64,uint64,uint64,bool,bytes32,bool) config_) returns()
func (*SnailiTransactorSession) SetTokenURI ¶
func (_Snaili *SnailiTransactorSession) SetTokenURI(tokenURI_ string) (*types.Transaction, error)
SetTokenURI is a paid mutator transaction binding the contract method 0xe0df5b6f.
Solidity: function setTokenURI(string tokenURI_) returns()
func (*SnailiTransactorSession) SetWhiteListMintActive ¶
func (_Snaili *SnailiTransactorSession) SetWhiteListMintActive(mintStarted bool) (*types.Transaction, error)
SetWhiteListMintActive is a paid mutator transaction binding the contract method 0xa4f0ed50.
Solidity: function setWhiteListMintActive(bool mintStarted) returns()
func (*SnailiTransactorSession) TransferFrom ¶
func (_Snaili *SnailiTransactorSession) 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 (*SnailiTransactorSession) TransferOwnership ¶
func (_Snaili *SnailiTransactorSession) 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 (*SnailiTransactorSession) WhitelistMint ¶
func (_Snaili *SnailiTransactorSession) WhitelistMint(quantity uint64, merkleProof [][32]byte) (*types.Transaction, error)
WhitelistMint is a paid mutator transaction binding the contract method 0x81e1ced3.
Solidity: function whitelistMint(uint64 quantity, bytes32[] merkleProof) returns()
func (*SnailiTransactorSession) Withdraw ¶
func (_Snaili *SnailiTransactorSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
func (*SnailiTransactorSession) WithdrawTokens ¶
func (_Snaili *SnailiTransactorSession) WithdrawTokens(token common.Address) (*types.Transaction, error)
WithdrawTokens is a paid mutator transaction binding the contract method 0x49df728c.
Solidity: function withdrawTokens(address token) returns()
type SnailiTransfer ¶
type SnailiTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
SnailiTransfer represents a Transfer event raised by the Snaili contract.
type SnailiTransferIterator ¶
type SnailiTransferIterator struct { Event *SnailiTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SnailiTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Snaili contract.
func (*SnailiTransferIterator) Close ¶
func (it *SnailiTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SnailiTransferIterator) Error ¶
func (it *SnailiTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SnailiTransferIterator) Next ¶
func (it *SnailiTransferIterator) 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.