contract

package
v0.0.0-...-11b8a5d Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AccountCreatedEventName = "AccountCreated"

event names

Variables

View Source
var AccountCreatedSignature = crypto.Keccak256Hash([]byte("AccountCreated(address,bytes32)")).Hex()

event signatures

View Source
var ContractABI = ContractMetaData.ABI

ContractABI is the input ABI used to generate the binding from. Deprecated: Use ContractMetaData.ABI instead.

View Source
var ContractMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyBlocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyFollowing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyInteracted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ApprovalCallerNotOwnerNorApproved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ApprovalQueryForNonexistentToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BalanceQueryForZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Blocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAccountStatus\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRelationship\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintERC2309QuantityExceedsLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintZeroQuantity\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotApprovedOrOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotBlocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotFollowing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInPool\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInteractedYet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OwnerQueryForNonexistentToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OwnershipNotInitializedForExtraData\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SqueakDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SqueakEmpty\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SqueakTooLong\",\"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\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"username\",\"type\":\"bytes32\"}],\"name\":\"AccountCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"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\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fromTokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"toTokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"ConsecutiveTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Dividend\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FundsAddedToPool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FundsDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FundsTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FundsWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumInteraction\",\"name\":\"interaction\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"InteractionFeeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"PoolPassCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relative\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumRelation\",\"name\":\"action\",\"type\":\"uint8\"}],\"name\":\"RelationshipUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"author\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"content\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"SqueakCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"deletedBy\",\"type\":\"address\"}],\"name\":\"SqueakDeleted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumInteraction\",\"name\":\"interaction\",\"type\":\"uint8\"}],\"name\":\"SqueakInteraction\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"StatusUpdated\",\"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\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"newUsername\",\"type\":\"string\"}],\"name\":\"UsernameUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"addresses\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseTokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumConfiguration\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"config\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"username\",\"type\":\"string\"}],\"name\":\"createAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"}],\"name\":\"createSqueak\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"deleteSqueak\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumInteraction\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"fees\",\"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\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getDeleteFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getPoolInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"passCount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"score\",\"type\":\"uint64\"}],\"internalType\":\"structICritter.PoolInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getPoolPasses\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"internalType\":\"structICritter.PoolPassInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getSentimentCounts\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"dislikes\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"likes\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"resqueaks\",\"type\":\"uint256\"}],\"internalType\":\"structICritter.SentimentCounts\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getViralityScore\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dividendThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxLevel\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"viralityThreshold\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"enumInteraction\",\"name\":\"interaction\",\"type\":\"uint8\"}],\"name\":\"interact\",\"outputs\":[],\"stateMutability\":\"payable\",\"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\":\"userOne\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"userTwo\",\"type\":\"address\"}],\"name\":\"isBlocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"userOne\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"userTwo\",\"type\":\"address\"}],\"name\":\"isFollowing\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"isViral\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"leavePool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"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\":\"payable\",\"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\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"squeaks\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"author\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"content\",\"type\":\"bytes\"}],\"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\":\"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\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasury\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumConfiguration\",\"name\":\"configuration\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"updateConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumInteraction\",\"name\":\"interaction\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"updateInteractionFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"enumRelation\",\"name\":\"action\",\"type\":\"uint8\"}],\"name\":\"updateRelationship\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"enumStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"updateStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"newUsername\",\"type\":\"string\"}],\"name\":\"updateUsername\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"users\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"enumStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"level\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"username\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

ContractMetaData contains all meta data concerning the Contract contract.

Functions

This section is empty.

Types

type AccountCreated

type AccountCreated struct {
	Account  common.Address
	Username [32]byte
}

event types

type Contract

type Contract struct {
	ContractCaller     // Read-only binding to the contract
	ContractTransactor // Write-only binding to the contract
	ContractFilterer   // Log filterer for contract events
}

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

func NewContract

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

type ContractAccountCreated

type ContractAccountCreated struct {
	Account  common.Address
	Username [32]byte
	Raw      types.Log // Blockchain specific contextual infos
}

ContractAccountCreated represents a AccountCreated event raised by the Contract contract.

type ContractAccountCreatedIterator

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

ContractAccountCreatedIterator is returned from FilterAccountCreated and is used to iterate over the raw logs and unpacked data for AccountCreated events raised by the Contract contract.

func (*ContractAccountCreatedIterator) Close

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

func (*ContractAccountCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAccountCreatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractAdminChanged

type ContractAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ContractAdminChanged represents a AdminChanged event raised by the Contract contract.

type ContractAdminChangedIterator

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

ContractAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the Contract contract.

func (*ContractAdminChangedIterator) Close

func (it *ContractAdminChangedIterator) Close() error

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

func (*ContractAdminChangedIterator) Error

func (it *ContractAdminChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAdminChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractApproval

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

ContractApproval represents a Approval event raised by the Contract contract.

type ContractApprovalForAll

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

ContractApprovalForAll represents a ApprovalForAll event raised by the Contract contract.

type ContractApprovalForAllIterator

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

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

func (*ContractApprovalForAllIterator) Close

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

func (*ContractApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractApprovalForAllIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractApprovalIterator

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

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

func (*ContractApprovalIterator) Close

func (it *ContractApprovalIterator) Close() error

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

func (*ContractApprovalIterator) Error

func (it *ContractApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractApprovalIterator) Next

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

type ContractBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ContractBeaconUpgraded represents a BeaconUpgraded event raised by the Contract contract.

type ContractBeaconUpgradedIterator

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

ContractBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the Contract contract.

func (*ContractBeaconUpgradedIterator) Close

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

func (*ContractBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractBeaconUpgradedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractCaller

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

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

func NewContractCaller

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

NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.

func (*ContractCaller) Addresses

func (_Contract *ContractCaller) Addresses(opts *bind.CallOpts, arg0 string) (common.Address, error)

Addresses is a free data retrieval call binding the contract method 0xbdfe7d47.

Solidity: function addresses(string ) view returns(address)

func (*ContractCaller) BalanceOf

func (_Contract *ContractCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*ContractCaller) BaseTokenURI

func (_Contract *ContractCaller) BaseTokenURI(opts *bind.CallOpts) (string, error)

BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.

Solidity: function baseTokenURI() view returns(string)

func (*ContractCaller) Config

func (_Contract *ContractCaller) Config(opts *bind.CallOpts, arg0 uint8) (*big.Int, error)

Config is a free data retrieval call binding the contract method 0x89d62952.

Solidity: function config(uint8 ) view returns(uint256)

func (*ContractCaller) DEFAULTADMINROLE

func (_Contract *ContractCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ContractCaller) Fees

func (_Contract *ContractCaller) Fees(opts *bind.CallOpts, arg0 uint8) (*big.Int, error)

Fees is a free data retrieval call binding the contract method 0x357c1354.

Solidity: function fees(uint8 ) view returns(uint256)

func (*ContractCaller) GetApproved

func (_Contract *ContractCaller) 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 (*ContractCaller) GetDeleteFee

func (_Contract *ContractCaller) GetDeleteFee(opts *bind.CallOpts, tokenId *big.Int) (*big.Int, error)

GetDeleteFee is a free data retrieval call binding the contract method 0x7fcac9c3.

Solidity: function getDeleteFee(uint256 tokenId) view returns(uint256)

func (*ContractCaller) GetPoolInfo

func (_Contract *ContractCaller) GetPoolInfo(opts *bind.CallOpts, tokenId *big.Int) (ICritterPoolInfo, error)

GetPoolInfo is a free data retrieval call binding the contract method 0x2f380b35.

Solidity: function getPoolInfo(uint256 tokenId) view returns((uint256,uint256,uint256,uint256,uint64))

func (*ContractCaller) GetPoolPasses

func (_Contract *ContractCaller) GetPoolPasses(opts *bind.CallOpts, tokenId *big.Int) ([]ICritterPoolPassInfo, error)

GetPoolPasses is a free data retrieval call binding the contract method 0x402b7b56.

Solidity: function getPoolPasses(uint256 tokenId) view returns((address,uint256)[])

func (*ContractCaller) GetRoleAdmin

func (_Contract *ContractCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*ContractCaller) GetSentimentCounts

func (_Contract *ContractCaller) GetSentimentCounts(opts *bind.CallOpts, tokenId *big.Int) (ICritterSentimentCounts, error)

GetSentimentCounts is a free data retrieval call binding the contract method 0x8d01e712.

Solidity: function getSentimentCounts(uint256 tokenId) view returns((uint256,uint256,uint256))

func (*ContractCaller) GetViralityScore

func (_Contract *ContractCaller) GetViralityScore(opts *bind.CallOpts, tokenId *big.Int) (uint64, error)

GetViralityScore is a free data retrieval call binding the contract method 0xc3fb2616.

Solidity: function getViralityScore(uint256 tokenId) view returns(uint64)

func (*ContractCaller) HasRole

func (_Contract *ContractCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*ContractCaller) IsApprovedForAll

func (_Contract *ContractCaller) 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 (*ContractCaller) IsBlocked

func (_Contract *ContractCaller) IsBlocked(opts *bind.CallOpts, userOne common.Address, userTwo common.Address) (bool, error)

IsBlocked is a free data retrieval call binding the contract method 0x86c58d3e.

Solidity: function isBlocked(address userOne, address userTwo) view returns(bool)

func (*ContractCaller) IsFollowing

func (_Contract *ContractCaller) IsFollowing(opts *bind.CallOpts, userOne common.Address, userTwo common.Address) (bool, error)

IsFollowing is a free data retrieval call binding the contract method 0x99ec3a42.

Solidity: function isFollowing(address userOne, address userTwo) view returns(bool)

func (*ContractCaller) IsViral

func (_Contract *ContractCaller) IsViral(opts *bind.CallOpts, tokenId *big.Int) (bool, error)

IsViral is a free data retrieval call binding the contract method 0xeb7b8ee6.

Solidity: function isViral(uint256 tokenId) view returns(bool)

func (*ContractCaller) Name

func (_Contract *ContractCaller) 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 (*ContractCaller) OwnerOf

func (_Contract *ContractCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ContractCaller) ProxiableUUID

func (_Contract *ContractCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*ContractCaller) Squeaks

func (_Contract *ContractCaller) Squeaks(opts *bind.CallOpts, arg0 *big.Int) (struct {
	BlockNumber *big.Int
	Author      common.Address
	Owner       common.Address
	Content     []byte
}, error)

Squeaks is a free data retrieval call binding the contract method 0xf7e75ccb.

Solidity: function squeaks(uint256 ) view returns(uint256 blockNumber, address author, address owner, bytes content)

func (*ContractCaller) SupportsInterface

func (_Contract *ContractCaller) 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 (*ContractCaller) Symbol

func (_Contract *ContractCaller) 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 (*ContractCaller) TokenURI

func (_Contract *ContractCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*ContractCaller) TotalSupply

func (_Contract *ContractCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ContractCaller) Treasury

func (_Contract *ContractCaller) Treasury(opts *bind.CallOpts) (*big.Int, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(uint256)

func (*ContractCaller) Users

func (_Contract *ContractCaller) Users(opts *bind.CallOpts, arg0 common.Address) (struct {
	Account  common.Address
	Status   uint8
	Level    *big.Int
	Username string
}, error)

Users is a free data retrieval call binding the contract method 0xa87430ba.

Solidity: function users(address ) view returns(address account, uint8 status, uint256 level, string username)

type ContractCallerRaw

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

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

func (*ContractCallerRaw) Call

func (_Contract *ContractCallerRaw) 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 ContractCallerSession

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

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

func (*ContractCallerSession) Addresses

func (_Contract *ContractCallerSession) Addresses(arg0 string) (common.Address, error)

Addresses is a free data retrieval call binding the contract method 0xbdfe7d47.

Solidity: function addresses(string ) view returns(address)

func (*ContractCallerSession) BalanceOf

func (_Contract *ContractCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*ContractCallerSession) BaseTokenURI

func (_Contract *ContractCallerSession) BaseTokenURI() (string, error)

BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.

Solidity: function baseTokenURI() view returns(string)

func (*ContractCallerSession) Config

func (_Contract *ContractCallerSession) Config(arg0 uint8) (*big.Int, error)

Config is a free data retrieval call binding the contract method 0x89d62952.

Solidity: function config(uint8 ) view returns(uint256)

func (*ContractCallerSession) DEFAULTADMINROLE

func (_Contract *ContractCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ContractCallerSession) Fees

func (_Contract *ContractCallerSession) Fees(arg0 uint8) (*big.Int, error)

Fees is a free data retrieval call binding the contract method 0x357c1354.

Solidity: function fees(uint8 ) view returns(uint256)

func (*ContractCallerSession) GetApproved

func (_Contract *ContractCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ContractCallerSession) GetDeleteFee

func (_Contract *ContractCallerSession) GetDeleteFee(tokenId *big.Int) (*big.Int, error)

GetDeleteFee is a free data retrieval call binding the contract method 0x7fcac9c3.

Solidity: function getDeleteFee(uint256 tokenId) view returns(uint256)

func (*ContractCallerSession) GetPoolInfo

func (_Contract *ContractCallerSession) GetPoolInfo(tokenId *big.Int) (ICritterPoolInfo, error)

GetPoolInfo is a free data retrieval call binding the contract method 0x2f380b35.

Solidity: function getPoolInfo(uint256 tokenId) view returns((uint256,uint256,uint256,uint256,uint64))

func (*ContractCallerSession) GetPoolPasses

func (_Contract *ContractCallerSession) GetPoolPasses(tokenId *big.Int) ([]ICritterPoolPassInfo, error)

GetPoolPasses is a free data retrieval call binding the contract method 0x402b7b56.

Solidity: function getPoolPasses(uint256 tokenId) view returns((address,uint256)[])

func (*ContractCallerSession) GetRoleAdmin

func (_Contract *ContractCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*ContractCallerSession) GetSentimentCounts

func (_Contract *ContractCallerSession) GetSentimentCounts(tokenId *big.Int) (ICritterSentimentCounts, error)

GetSentimentCounts is a free data retrieval call binding the contract method 0x8d01e712.

Solidity: function getSentimentCounts(uint256 tokenId) view returns((uint256,uint256,uint256))

func (*ContractCallerSession) GetViralityScore

func (_Contract *ContractCallerSession) GetViralityScore(tokenId *big.Int) (uint64, error)

GetViralityScore is a free data retrieval call binding the contract method 0xc3fb2616.

Solidity: function getViralityScore(uint256 tokenId) view returns(uint64)

func (*ContractCallerSession) HasRole

func (_Contract *ContractCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*ContractCallerSession) IsApprovedForAll

func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) IsBlocked

func (_Contract *ContractCallerSession) IsBlocked(userOne common.Address, userTwo common.Address) (bool, error)

IsBlocked is a free data retrieval call binding the contract method 0x86c58d3e.

Solidity: function isBlocked(address userOne, address userTwo) view returns(bool)

func (*ContractCallerSession) IsFollowing

func (_Contract *ContractCallerSession) IsFollowing(userOne common.Address, userTwo common.Address) (bool, error)

IsFollowing is a free data retrieval call binding the contract method 0x99ec3a42.

Solidity: function isFollowing(address userOne, address userTwo) view returns(bool)

func (*ContractCallerSession) IsViral

func (_Contract *ContractCallerSession) IsViral(tokenId *big.Int) (bool, error)

IsViral is a free data retrieval call binding the contract method 0xeb7b8ee6.

Solidity: function isViral(uint256 tokenId) view returns(bool)

func (*ContractCallerSession) Name

func (_Contract *ContractCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ContractCallerSession) OwnerOf

func (_Contract *ContractCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ContractCallerSession) ProxiableUUID

func (_Contract *ContractCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*ContractCallerSession) Squeaks

func (_Contract *ContractCallerSession) Squeaks(arg0 *big.Int) (struct {
	BlockNumber *big.Int
	Author      common.Address
	Owner       common.Address
	Content     []byte
}, error)

Squeaks is a free data retrieval call binding the contract method 0xf7e75ccb.

Solidity: function squeaks(uint256 ) view returns(uint256 blockNumber, address author, address owner, bytes content)

func (*ContractCallerSession) SupportsInterface

func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) Symbol

func (_Contract *ContractCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ContractCallerSession) TokenURI

func (_Contract *ContractCallerSession) 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 (*ContractCallerSession) TotalSupply

func (_Contract *ContractCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ContractCallerSession) Treasury

func (_Contract *ContractCallerSession) Treasury() (*big.Int, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(uint256)

func (*ContractCallerSession) Users

func (_Contract *ContractCallerSession) Users(arg0 common.Address) (struct {
	Account  common.Address
	Status   uint8
	Level    *big.Int
	Username string
}, error)

Users is a free data retrieval call binding the contract method 0xa87430ba.

Solidity: function users(address ) view returns(address account, uint8 status, uint256 level, string username)

type ContractConsecutiveTransfer

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

ContractConsecutiveTransfer represents a ConsecutiveTransfer event raised by the Contract contract.

type ContractConsecutiveTransferIterator

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

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

func (*ContractConsecutiveTransferIterator) Close

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

func (*ContractConsecutiveTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractConsecutiveTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractDividend

type ContractDividend struct {
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ContractDividend represents a Dividend event raised by the Contract contract.

type ContractDividendIterator

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

ContractDividendIterator is returned from FilterDividend and is used to iterate over the raw logs and unpacked data for Dividend events raised by the Contract contract.

func (*ContractDividendIterator) Close

func (it *ContractDividendIterator) Close() error

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

func (*ContractDividendIterator) Error

func (it *ContractDividendIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractDividendIterator) Next

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

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

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

func NewContractFilterer

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

NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.

func (*ContractFilterer) FilterAccountCreated

func (_Contract *ContractFilterer) FilterAccountCreated(opts *bind.FilterOpts, account []common.Address, username [][32]byte) (*ContractAccountCreatedIterator, error)

FilterAccountCreated is a free log retrieval operation binding the contract event 0x8fe66a5d954d6d3e0306797e31e226812a9916895165c96c367ef52807631951.

Solidity: event AccountCreated(address indexed account, bytes32 indexed username)

func (*ContractFilterer) FilterAdminChanged

func (_Contract *ContractFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ContractAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ContractFilterer) FilterApproval

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

func (_Contract *ContractFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ContractApprovalForAllIterator, 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 (*ContractFilterer) FilterBeaconUpgraded

func (_Contract *ContractFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ContractBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ContractFilterer) FilterConsecutiveTransfer

func (_Contract *ContractFilterer) FilterConsecutiveTransfer(opts *bind.FilterOpts, fromTokenId []*big.Int, from []common.Address, to []common.Address) (*ContractConsecutiveTransferIterator, error)

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

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

func (*ContractFilterer) FilterDividend

func (_Contract *ContractFilterer) FilterDividend(opts *bind.FilterOpts) (*ContractDividendIterator, error)

FilterDividend is a free log retrieval operation binding the contract event 0x69c382338c74e0d3a990efe1a52ae89dcf6a9ab705628ec4424f49cddd4e2f89.

Solidity: event Dividend(uint256 tokenId)

func (*ContractFilterer) FilterFundsAddedToPool

func (_Contract *ContractFilterer) FilterFundsAddedToPool(opts *bind.FilterOpts) (*ContractFundsAddedToPoolIterator, error)

FilterFundsAddedToPool is a free log retrieval operation binding the contract event 0xe2b757cdd8b279ca2f3316f88e8e3b959d9bad09f9369132a3475d3ef8a4f366.

Solidity: event FundsAddedToPool(uint256 tokenId, uint256 amount)

func (*ContractFilterer) FilterFundsDeposited

func (_Contract *ContractFilterer) FilterFundsDeposited(opts *bind.FilterOpts) (*ContractFundsDepositedIterator, error)

FilterFundsDeposited is a free log retrieval operation binding the contract event 0x7cb5d45c1071f219bd2da1ea101758715bd52f23f2a707f2d9a0387dea18d906.

Solidity: event FundsDeposited(uint256 amount)

func (*ContractFilterer) FilterFundsTransferred

func (_Contract *ContractFilterer) FilterFundsTransferred(opts *bind.FilterOpts, to []common.Address) (*ContractFundsTransferredIterator, error)

FilterFundsTransferred is a free log retrieval operation binding the contract event 0x8c9a4f13b67cb64d7c6aa1ae0c9bf07694af521a28b93e7060020810ab4bc59f.

Solidity: event FundsTransferred(address indexed to, uint256 amount)

func (*ContractFilterer) FilterFundsWithdrawn

func (_Contract *ContractFilterer) FilterFundsWithdrawn(opts *bind.FilterOpts, to []common.Address) (*ContractFundsWithdrawnIterator, error)

FilterFundsWithdrawn is a free log retrieval operation binding the contract event 0xeaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0d.

Solidity: event FundsWithdrawn(address indexed to, uint256 amount)

func (*ContractFilterer) FilterInitialized

func (_Contract *ContractFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContractInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) FilterInteractionFeeUpdated

func (_Contract *ContractFilterer) FilterInteractionFeeUpdated(opts *bind.FilterOpts) (*ContractInteractionFeeUpdatedIterator, error)

FilterInteractionFeeUpdated is a free log retrieval operation binding the contract event 0x2367b007366025a5b7353c26b6e4e03d0a9dc2bb538423c7bb46c447fdcc9f94.

Solidity: event InteractionFeeUpdated(uint8 interaction, uint256 amount)

func (*ContractFilterer) FilterPoolPassCreated

func (_Contract *ContractFilterer) FilterPoolPassCreated(opts *bind.FilterOpts) (*ContractPoolPassCreatedIterator, error)

FilterPoolPassCreated is a free log retrieval operation binding the contract event 0x74a962abe83a24e78c465d90b04b4ac7f41f2435984e1235b511aae46e37a683.

Solidity: event PoolPassCreated(uint256 tokenId, address account, uint256 shares)

func (*ContractFilterer) FilterRelationshipUpdated

func (_Contract *ContractFilterer) FilterRelationshipUpdated(opts *bind.FilterOpts) (*ContractRelationshipUpdatedIterator, error)

FilterRelationshipUpdated is a free log retrieval operation binding the contract event 0xe13c1bcdc36659a504f077c150e670a84d1a22ee9ee8e59f385249f9587a8c8d.

Solidity: event RelationshipUpdated(address sender, address relative, uint8 action)

func (*ContractFilterer) FilterRoleAdminChanged

func (_Contract *ContractFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*ContractRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*ContractFilterer) FilterRoleGranted

func (_Contract *ContractFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ContractRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*ContractFilterer) FilterRoleRevoked

func (_Contract *ContractFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ContractRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*ContractFilterer) FilterSqueakCreated

func (_Contract *ContractFilterer) FilterSqueakCreated(opts *bind.FilterOpts, author []common.Address, content [][32]byte) (*ContractSqueakCreatedIterator, error)

FilterSqueakCreated is a free log retrieval operation binding the contract event 0x26c0dfb32af78b730d33d0cca2f9ab9ad1e948b57bff3b78bdbfce4c9bb682a9.

Solidity: event SqueakCreated(address indexed author, bytes32 indexed content, uint256 tokenId)

func (*ContractFilterer) FilterSqueakDeleted

func (_Contract *ContractFilterer) FilterSqueakDeleted(opts *bind.FilterOpts) (*ContractSqueakDeletedIterator, error)

FilterSqueakDeleted is a free log retrieval operation binding the contract event 0x4a69e658d9998f715a7a8f4e7e4282dfd9e2bb520e6e8a9aa3fce4c96245cb59.

Solidity: event SqueakDeleted(uint256 tokenId, address deletedBy)

func (*ContractFilterer) FilterSqueakInteraction

func (_Contract *ContractFilterer) FilterSqueakInteraction(opts *bind.FilterOpts) (*ContractSqueakInteractionIterator, error)

FilterSqueakInteraction is a free log retrieval operation binding the contract event 0x0fb3f9e279c76ba3d6187344cb6de16410acdb446be516723a7652c1826af76a.

Solidity: event SqueakInteraction(uint256 tokenId, address sender, uint8 interaction)

func (*ContractFilterer) FilterStatusUpdated

func (_Contract *ContractFilterer) FilterStatusUpdated(opts *bind.FilterOpts) (*ContractStatusUpdatedIterator, error)

FilterStatusUpdated is a free log retrieval operation binding the contract event 0xa7cc6673952dd2140cd171b21cdf21825b0f34e690500ecf38ed0aeb006f356e.

Solidity: event StatusUpdated(address account, uint8 status)

func (*ContractFilterer) FilterTransfer

func (_Contract *ContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ContractTransferIterator, 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 (*ContractFilterer) FilterUpgraded

func (_Contract *ContractFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ContractUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*ContractFilterer) FilterUsernameUpdated

func (_Contract *ContractFilterer) FilterUsernameUpdated(opts *bind.FilterOpts) (*ContractUsernameUpdatedIterator, error)

FilterUsernameUpdated is a free log retrieval operation binding the contract event 0x1af4cc3acb57f067d1d582e3932be6692a4c9a31d8b3a8567dfc1c340a02d534.

Solidity: event UsernameUpdated(address account, string newUsername)

func (*ContractFilterer) ParseAccountCreated

func (_Contract *ContractFilterer) ParseAccountCreated(log types.Log) (*ContractAccountCreated, error)

ParseAccountCreated is a log parse operation binding the contract event 0x8fe66a5d954d6d3e0306797e31e226812a9916895165c96c367ef52807631951.

Solidity: event AccountCreated(address indexed account, bytes32 indexed username)

func (*ContractFilterer) ParseAdminChanged

func (_Contract *ContractFilterer) ParseAdminChanged(log types.Log) (*ContractAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ContractFilterer) ParseApproval

func (_Contract *ContractFilterer) ParseApproval(log types.Log) (*ContractApproval, 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 (*ContractFilterer) ParseApprovalForAll

func (_Contract *ContractFilterer) ParseApprovalForAll(log types.Log) (*ContractApprovalForAll, error)

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

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

func (*ContractFilterer) ParseBeaconUpgraded

func (_Contract *ContractFilterer) ParseBeaconUpgraded(log types.Log) (*ContractBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ContractFilterer) ParseConsecutiveTransfer

func (_Contract *ContractFilterer) ParseConsecutiveTransfer(log types.Log) (*ContractConsecutiveTransfer, error)

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

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

func (*ContractFilterer) ParseDividend

func (_Contract *ContractFilterer) ParseDividend(log types.Log) (*ContractDividend, error)

ParseDividend is a log parse operation binding the contract event 0x69c382338c74e0d3a990efe1a52ae89dcf6a9ab705628ec4424f49cddd4e2f89.

Solidity: event Dividend(uint256 tokenId)

func (*ContractFilterer) ParseFundsAddedToPool

func (_Contract *ContractFilterer) ParseFundsAddedToPool(log types.Log) (*ContractFundsAddedToPool, error)

ParseFundsAddedToPool is a log parse operation binding the contract event 0xe2b757cdd8b279ca2f3316f88e8e3b959d9bad09f9369132a3475d3ef8a4f366.

Solidity: event FundsAddedToPool(uint256 tokenId, uint256 amount)

func (*ContractFilterer) ParseFundsDeposited

func (_Contract *ContractFilterer) ParseFundsDeposited(log types.Log) (*ContractFundsDeposited, error)

ParseFundsDeposited is a log parse operation binding the contract event 0x7cb5d45c1071f219bd2da1ea101758715bd52f23f2a707f2d9a0387dea18d906.

Solidity: event FundsDeposited(uint256 amount)

func (*ContractFilterer) ParseFundsTransferred

func (_Contract *ContractFilterer) ParseFundsTransferred(log types.Log) (*ContractFundsTransferred, error)

ParseFundsTransferred is a log parse operation binding the contract event 0x8c9a4f13b67cb64d7c6aa1ae0c9bf07694af521a28b93e7060020810ab4bc59f.

Solidity: event FundsTransferred(address indexed to, uint256 amount)

func (*ContractFilterer) ParseFundsWithdrawn

func (_Contract *ContractFilterer) ParseFundsWithdrawn(log types.Log) (*ContractFundsWithdrawn, error)

ParseFundsWithdrawn is a log parse operation binding the contract event 0xeaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0d.

Solidity: event FundsWithdrawn(address indexed to, uint256 amount)

func (*ContractFilterer) ParseInitialized

func (_Contract *ContractFilterer) ParseInitialized(log types.Log) (*ContractInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) ParseInteractionFeeUpdated

func (_Contract *ContractFilterer) ParseInteractionFeeUpdated(log types.Log) (*ContractInteractionFeeUpdated, error)

ParseInteractionFeeUpdated is a log parse operation binding the contract event 0x2367b007366025a5b7353c26b6e4e03d0a9dc2bb538423c7bb46c447fdcc9f94.

Solidity: event InteractionFeeUpdated(uint8 interaction, uint256 amount)

func (*ContractFilterer) ParsePoolPassCreated

func (_Contract *ContractFilterer) ParsePoolPassCreated(log types.Log) (*ContractPoolPassCreated, error)

ParsePoolPassCreated is a log parse operation binding the contract event 0x74a962abe83a24e78c465d90b04b4ac7f41f2435984e1235b511aae46e37a683.

Solidity: event PoolPassCreated(uint256 tokenId, address account, uint256 shares)

func (*ContractFilterer) ParseRelationshipUpdated

func (_Contract *ContractFilterer) ParseRelationshipUpdated(log types.Log) (*ContractRelationshipUpdated, error)

ParseRelationshipUpdated is a log parse operation binding the contract event 0xe13c1bcdc36659a504f077c150e670a84d1a22ee9ee8e59f385249f9587a8c8d.

Solidity: event RelationshipUpdated(address sender, address relative, uint8 action)

func (*ContractFilterer) ParseRoleAdminChanged

func (_Contract *ContractFilterer) ParseRoleAdminChanged(log types.Log) (*ContractRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*ContractFilterer) ParseRoleGranted

func (_Contract *ContractFilterer) ParseRoleGranted(log types.Log) (*ContractRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*ContractFilterer) ParseRoleRevoked

func (_Contract *ContractFilterer) ParseRoleRevoked(log types.Log) (*ContractRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*ContractFilterer) ParseSqueakCreated

func (_Contract *ContractFilterer) ParseSqueakCreated(log types.Log) (*ContractSqueakCreated, error)

ParseSqueakCreated is a log parse operation binding the contract event 0x26c0dfb32af78b730d33d0cca2f9ab9ad1e948b57bff3b78bdbfce4c9bb682a9.

Solidity: event SqueakCreated(address indexed author, bytes32 indexed content, uint256 tokenId)

func (*ContractFilterer) ParseSqueakDeleted

func (_Contract *ContractFilterer) ParseSqueakDeleted(log types.Log) (*ContractSqueakDeleted, error)

ParseSqueakDeleted is a log parse operation binding the contract event 0x4a69e658d9998f715a7a8f4e7e4282dfd9e2bb520e6e8a9aa3fce4c96245cb59.

Solidity: event SqueakDeleted(uint256 tokenId, address deletedBy)

func (*ContractFilterer) ParseSqueakInteraction

func (_Contract *ContractFilterer) ParseSqueakInteraction(log types.Log) (*ContractSqueakInteraction, error)

ParseSqueakInteraction is a log parse operation binding the contract event 0x0fb3f9e279c76ba3d6187344cb6de16410acdb446be516723a7652c1826af76a.

Solidity: event SqueakInteraction(uint256 tokenId, address sender, uint8 interaction)

func (*ContractFilterer) ParseStatusUpdated

func (_Contract *ContractFilterer) ParseStatusUpdated(log types.Log) (*ContractStatusUpdated, error)

ParseStatusUpdated is a log parse operation binding the contract event 0xa7cc6673952dd2140cd171b21cdf21825b0f34e690500ecf38ed0aeb006f356e.

Solidity: event StatusUpdated(address account, uint8 status)

func (*ContractFilterer) ParseTransfer

func (_Contract *ContractFilterer) ParseTransfer(log types.Log) (*ContractTransfer, 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 (*ContractFilterer) ParseUpgraded

func (_Contract *ContractFilterer) ParseUpgraded(log types.Log) (*ContractUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*ContractFilterer) ParseUsernameUpdated

func (_Contract *ContractFilterer) ParseUsernameUpdated(log types.Log) (*ContractUsernameUpdated, error)

ParseUsernameUpdated is a log parse operation binding the contract event 0x1af4cc3acb57f067d1d582e3932be6692a4c9a31d8b3a8567dfc1c340a02d534.

Solidity: event UsernameUpdated(address account, string newUsername)

func (*ContractFilterer) WatchAccountCreated

func (_Contract *ContractFilterer) WatchAccountCreated(opts *bind.WatchOpts, sink chan<- *ContractAccountCreated, account []common.Address, username [][32]byte) (event.Subscription, error)

WatchAccountCreated is a free log subscription operation binding the contract event 0x8fe66a5d954d6d3e0306797e31e226812a9916895165c96c367ef52807631951.

Solidity: event AccountCreated(address indexed account, bytes32 indexed username)

func (*ContractFilterer) WatchAdminChanged

func (_Contract *ContractFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ContractAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ContractFilterer) WatchApproval

func (_Contract *ContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ContractApproval, 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 (*ContractFilterer) WatchApprovalForAll

func (_Contract *ContractFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ContractApprovalForAll, 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 (*ContractFilterer) WatchBeaconUpgraded

func (_Contract *ContractFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ContractBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ContractFilterer) WatchConsecutiveTransfer

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

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

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

func (*ContractFilterer) WatchDividend

func (_Contract *ContractFilterer) WatchDividend(opts *bind.WatchOpts, sink chan<- *ContractDividend) (event.Subscription, error)

WatchDividend is a free log subscription operation binding the contract event 0x69c382338c74e0d3a990efe1a52ae89dcf6a9ab705628ec4424f49cddd4e2f89.

Solidity: event Dividend(uint256 tokenId)

func (*ContractFilterer) WatchFundsAddedToPool

func (_Contract *ContractFilterer) WatchFundsAddedToPool(opts *bind.WatchOpts, sink chan<- *ContractFundsAddedToPool) (event.Subscription, error)

WatchFundsAddedToPool is a free log subscription operation binding the contract event 0xe2b757cdd8b279ca2f3316f88e8e3b959d9bad09f9369132a3475d3ef8a4f366.

Solidity: event FundsAddedToPool(uint256 tokenId, uint256 amount)

func (*ContractFilterer) WatchFundsDeposited

func (_Contract *ContractFilterer) WatchFundsDeposited(opts *bind.WatchOpts, sink chan<- *ContractFundsDeposited) (event.Subscription, error)

WatchFundsDeposited is a free log subscription operation binding the contract event 0x7cb5d45c1071f219bd2da1ea101758715bd52f23f2a707f2d9a0387dea18d906.

Solidity: event FundsDeposited(uint256 amount)

func (*ContractFilterer) WatchFundsTransferred

func (_Contract *ContractFilterer) WatchFundsTransferred(opts *bind.WatchOpts, sink chan<- *ContractFundsTransferred, to []common.Address) (event.Subscription, error)

WatchFundsTransferred is a free log subscription operation binding the contract event 0x8c9a4f13b67cb64d7c6aa1ae0c9bf07694af521a28b93e7060020810ab4bc59f.

Solidity: event FundsTransferred(address indexed to, uint256 amount)

func (*ContractFilterer) WatchFundsWithdrawn

func (_Contract *ContractFilterer) WatchFundsWithdrawn(opts *bind.WatchOpts, sink chan<- *ContractFundsWithdrawn, to []common.Address) (event.Subscription, error)

WatchFundsWithdrawn is a free log subscription operation binding the contract event 0xeaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0d.

Solidity: event FundsWithdrawn(address indexed to, uint256 amount)

func (*ContractFilterer) WatchInitialized

func (_Contract *ContractFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) WatchInteractionFeeUpdated

func (_Contract *ContractFilterer) WatchInteractionFeeUpdated(opts *bind.WatchOpts, sink chan<- *ContractInteractionFeeUpdated) (event.Subscription, error)

WatchInteractionFeeUpdated is a free log subscription operation binding the contract event 0x2367b007366025a5b7353c26b6e4e03d0a9dc2bb538423c7bb46c447fdcc9f94.

Solidity: event InteractionFeeUpdated(uint8 interaction, uint256 amount)

func (*ContractFilterer) WatchPoolPassCreated

func (_Contract *ContractFilterer) WatchPoolPassCreated(opts *bind.WatchOpts, sink chan<- *ContractPoolPassCreated) (event.Subscription, error)

WatchPoolPassCreated is a free log subscription operation binding the contract event 0x74a962abe83a24e78c465d90b04b4ac7f41f2435984e1235b511aae46e37a683.

Solidity: event PoolPassCreated(uint256 tokenId, address account, uint256 shares)

func (*ContractFilterer) WatchRelationshipUpdated

func (_Contract *ContractFilterer) WatchRelationshipUpdated(opts *bind.WatchOpts, sink chan<- *ContractRelationshipUpdated) (event.Subscription, error)

WatchRelationshipUpdated is a free log subscription operation binding the contract event 0xe13c1bcdc36659a504f077c150e670a84d1a22ee9ee8e59f385249f9587a8c8d.

Solidity: event RelationshipUpdated(address sender, address relative, uint8 action)

func (*ContractFilterer) WatchRoleAdminChanged

func (_Contract *ContractFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *ContractRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*ContractFilterer) WatchRoleGranted

func (_Contract *ContractFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *ContractRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*ContractFilterer) WatchRoleRevoked

func (_Contract *ContractFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *ContractRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*ContractFilterer) WatchSqueakCreated

func (_Contract *ContractFilterer) WatchSqueakCreated(opts *bind.WatchOpts, sink chan<- *ContractSqueakCreated, author []common.Address, content [][32]byte) (event.Subscription, error)

WatchSqueakCreated is a free log subscription operation binding the contract event 0x26c0dfb32af78b730d33d0cca2f9ab9ad1e948b57bff3b78bdbfce4c9bb682a9.

Solidity: event SqueakCreated(address indexed author, bytes32 indexed content, uint256 tokenId)

func (*ContractFilterer) WatchSqueakDeleted

func (_Contract *ContractFilterer) WatchSqueakDeleted(opts *bind.WatchOpts, sink chan<- *ContractSqueakDeleted) (event.Subscription, error)

WatchSqueakDeleted is a free log subscription operation binding the contract event 0x4a69e658d9998f715a7a8f4e7e4282dfd9e2bb520e6e8a9aa3fce4c96245cb59.

Solidity: event SqueakDeleted(uint256 tokenId, address deletedBy)

func (*ContractFilterer) WatchSqueakInteraction

func (_Contract *ContractFilterer) WatchSqueakInteraction(opts *bind.WatchOpts, sink chan<- *ContractSqueakInteraction) (event.Subscription, error)

WatchSqueakInteraction is a free log subscription operation binding the contract event 0x0fb3f9e279c76ba3d6187344cb6de16410acdb446be516723a7652c1826af76a.

Solidity: event SqueakInteraction(uint256 tokenId, address sender, uint8 interaction)

func (*ContractFilterer) WatchStatusUpdated

func (_Contract *ContractFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *ContractStatusUpdated) (event.Subscription, error)

WatchStatusUpdated is a free log subscription operation binding the contract event 0xa7cc6673952dd2140cd171b21cdf21825b0f34e690500ecf38ed0aeb006f356e.

Solidity: event StatusUpdated(address account, uint8 status)

func (*ContractFilterer) WatchTransfer

func (_Contract *ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ContractTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*ContractFilterer) WatchUpgraded

func (_Contract *ContractFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ContractUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*ContractFilterer) WatchUsernameUpdated

func (_Contract *ContractFilterer) WatchUsernameUpdated(opts *bind.WatchOpts, sink chan<- *ContractUsernameUpdated) (event.Subscription, error)

WatchUsernameUpdated is a free log subscription operation binding the contract event 0x1af4cc3acb57f067d1d582e3932be6692a4c9a31d8b3a8567dfc1c340a02d534.

Solidity: event UsernameUpdated(address account, string newUsername)

type ContractFundsAddedToPool

type ContractFundsAddedToPool struct {
	TokenId *big.Int
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ContractFundsAddedToPool represents a FundsAddedToPool event raised by the Contract contract.

type ContractFundsAddedToPoolIterator

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

ContractFundsAddedToPoolIterator is returned from FilterFundsAddedToPool and is used to iterate over the raw logs and unpacked data for FundsAddedToPool events raised by the Contract contract.

func (*ContractFundsAddedToPoolIterator) Close

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

func (*ContractFundsAddedToPoolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractFundsAddedToPoolIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractFundsDeposited

type ContractFundsDeposited struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ContractFundsDeposited represents a FundsDeposited event raised by the Contract contract.

type ContractFundsDepositedIterator

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

ContractFundsDepositedIterator is returned from FilterFundsDeposited and is used to iterate over the raw logs and unpacked data for FundsDeposited events raised by the Contract contract.

func (*ContractFundsDepositedIterator) Close

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

func (*ContractFundsDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractFundsDepositedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractFundsTransferred

type ContractFundsTransferred struct {
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ContractFundsTransferred represents a FundsTransferred event raised by the Contract contract.

type ContractFundsTransferredIterator

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

ContractFundsTransferredIterator is returned from FilterFundsTransferred and is used to iterate over the raw logs and unpacked data for FundsTransferred events raised by the Contract contract.

func (*ContractFundsTransferredIterator) Close

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

func (*ContractFundsTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractFundsTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractFundsWithdrawn

type ContractFundsWithdrawn struct {
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ContractFundsWithdrawn represents a FundsWithdrawn event raised by the Contract contract.

type ContractFundsWithdrawnIterator

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

ContractFundsWithdrawnIterator is returned from FilterFundsWithdrawn and is used to iterate over the raw logs and unpacked data for FundsWithdrawn events raised by the Contract contract.

func (*ContractFundsWithdrawnIterator) Close

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

func (*ContractFundsWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractFundsWithdrawnIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractInitialized

type ContractInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ContractInitialized represents a Initialized event raised by the Contract contract.

type ContractInitializedIterator

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

ContractInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Contract contract.

func (*ContractInitializedIterator) Close

func (it *ContractInitializedIterator) Close() error

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

func (*ContractInitializedIterator) Error

func (it *ContractInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractInitializedIterator) Next

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

type ContractInteractionFeeUpdated struct {
	Interaction uint8
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ContractInteractionFeeUpdated represents a InteractionFeeUpdated event raised by the Contract contract.

type ContractInteractionFeeUpdatedIterator

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

ContractInteractionFeeUpdatedIterator is returned from FilterInteractionFeeUpdated and is used to iterate over the raw logs and unpacked data for InteractionFeeUpdated events raised by the Contract contract.

func (*ContractInteractionFeeUpdatedIterator) Close

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

func (*ContractInteractionFeeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractInteractionFeeUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractPoolPassCreated

type ContractPoolPassCreated struct {
	TokenId *big.Int
	Account common.Address
	Shares  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ContractPoolPassCreated represents a PoolPassCreated event raised by the Contract contract.

type ContractPoolPassCreatedIterator

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

ContractPoolPassCreatedIterator is returned from FilterPoolPassCreated and is used to iterate over the raw logs and unpacked data for PoolPassCreated events raised by the Contract contract.

func (*ContractPoolPassCreatedIterator) Close

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

func (*ContractPoolPassCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractPoolPassCreatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractRaw

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

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

func (*ContractRaw) Call

func (_Contract *ContractRaw) 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 (*ContractRaw) Transact

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

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

func (*ContractRaw) Transfer

func (_Contract *ContractRaw) 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 ContractRelationshipUpdated

type ContractRelationshipUpdated struct {
	Sender   common.Address
	Relative common.Address
	Action   uint8
	Raw      types.Log // Blockchain specific contextual infos
}

ContractRelationshipUpdated represents a RelationshipUpdated event raised by the Contract contract.

type ContractRelationshipUpdatedIterator

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

ContractRelationshipUpdatedIterator is returned from FilterRelationshipUpdated and is used to iterate over the raw logs and unpacked data for RelationshipUpdated events raised by the Contract contract.

func (*ContractRelationshipUpdatedIterator) Close

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

func (*ContractRelationshipUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractRelationshipUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractRoleAdminChanged

type ContractRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

ContractRoleAdminChanged represents a RoleAdminChanged event raised by the Contract contract.

type ContractRoleAdminChangedIterator

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

ContractRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Contract contract.

func (*ContractRoleAdminChangedIterator) Close

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

func (*ContractRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractRoleAdminChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractRoleGranted

type ContractRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ContractRoleGranted represents a RoleGranted event raised by the Contract contract.

type ContractRoleGrantedIterator

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

ContractRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Contract contract.

func (*ContractRoleGrantedIterator) Close

func (it *ContractRoleGrantedIterator) Close() error

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

func (*ContractRoleGrantedIterator) Error

func (it *ContractRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractRoleGrantedIterator) Next

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

type ContractRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ContractRoleRevoked represents a RoleRevoked event raised by the Contract contract.

type ContractRoleRevokedIterator

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

ContractRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Contract contract.

func (*ContractRoleRevokedIterator) Close

func (it *ContractRoleRevokedIterator) Close() error

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

func (*ContractRoleRevokedIterator) Error

func (it *ContractRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractRoleRevokedIterator) Next

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

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

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

func (*ContractSession) Addresses

func (_Contract *ContractSession) Addresses(arg0 string) (common.Address, error)

Addresses is a free data retrieval call binding the contract method 0xbdfe7d47.

Solidity: function addresses(string ) view returns(address)

func (*ContractSession) Approve

func (_Contract *ContractSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) payable returns()

func (*ContractSession) BalanceOf

func (_Contract *ContractSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*ContractSession) BaseTokenURI

func (_Contract *ContractSession) BaseTokenURI() (string, error)

BaseTokenURI is a free data retrieval call binding the contract method 0xd547cfb7.

Solidity: function baseTokenURI() view returns(string)

func (*ContractSession) Config

func (_Contract *ContractSession) Config(arg0 uint8) (*big.Int, error)

Config is a free data retrieval call binding the contract method 0x89d62952.

Solidity: function config(uint8 ) view returns(uint256)

func (*ContractSession) CreateAccount

func (_Contract *ContractSession) CreateAccount(username string) (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x298daf5b.

Solidity: function createAccount(string username) returns()

func (*ContractSession) CreateSqueak

func (_Contract *ContractSession) CreateSqueak(content string) (*types.Transaction, error)

CreateSqueak is a paid mutator transaction binding the contract method 0xf3357b50.

Solidity: function createSqueak(string content) returns()

func (*ContractSession) DEFAULTADMINROLE

func (_Contract *ContractSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ContractSession) DeleteSqueak

func (_Contract *ContractSession) DeleteSqueak(tokenId *big.Int) (*types.Transaction, error)

DeleteSqueak is a paid mutator transaction binding the contract method 0xa015c9d7.

Solidity: function deleteSqueak(uint256 tokenId) payable returns()

func (*ContractSession) Fees

func (_Contract *ContractSession) Fees(arg0 uint8) (*big.Int, error)

Fees is a free data retrieval call binding the contract method 0x357c1354.

Solidity: function fees(uint8 ) view returns(uint256)

func (*ContractSession) GetApproved

func (_Contract *ContractSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ContractSession) GetDeleteFee

func (_Contract *ContractSession) GetDeleteFee(tokenId *big.Int) (*big.Int, error)

GetDeleteFee is a free data retrieval call binding the contract method 0x7fcac9c3.

Solidity: function getDeleteFee(uint256 tokenId) view returns(uint256)

func (*ContractSession) GetPoolInfo

func (_Contract *ContractSession) GetPoolInfo(tokenId *big.Int) (ICritterPoolInfo, error)

GetPoolInfo is a free data retrieval call binding the contract method 0x2f380b35.

Solidity: function getPoolInfo(uint256 tokenId) view returns((uint256,uint256,uint256,uint256,uint64))

func (*ContractSession) GetPoolPasses

func (_Contract *ContractSession) GetPoolPasses(tokenId *big.Int) ([]ICritterPoolPassInfo, error)

GetPoolPasses is a free data retrieval call binding the contract method 0x402b7b56.

Solidity: function getPoolPasses(uint256 tokenId) view returns((address,uint256)[])

func (*ContractSession) GetRoleAdmin

func (_Contract *ContractSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*ContractSession) GetSentimentCounts

func (_Contract *ContractSession) GetSentimentCounts(tokenId *big.Int) (ICritterSentimentCounts, error)

GetSentimentCounts is a free data retrieval call binding the contract method 0x8d01e712.

Solidity: function getSentimentCounts(uint256 tokenId) view returns((uint256,uint256,uint256))

func (*ContractSession) GetViralityScore

func (_Contract *ContractSession) GetViralityScore(tokenId *big.Int) (uint64, error)

GetViralityScore is a free data retrieval call binding the contract method 0xc3fb2616.

Solidity: function getViralityScore(uint256 tokenId) view returns(uint64)

func (*ContractSession) GrantRole

func (_Contract *ContractSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*ContractSession) HasRole

func (_Contract *ContractSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*ContractSession) Initialize

func (_Contract *ContractSession) Initialize(dividendThreshold *big.Int, maxLevel *big.Int, viralityThreshold *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x80d85911.

Solidity: function initialize(uint256 dividendThreshold, uint256 maxLevel, uint256 viralityThreshold) returns()

func (*ContractSession) Interact

func (_Contract *ContractSession) Interact(tokenId *big.Int, interaction uint8) (*types.Transaction, error)

Interact is a paid mutator transaction binding the contract method 0x701d8ef8.

Solidity: function interact(uint256 tokenId, uint8 interaction) payable returns()

func (*ContractSession) IsApprovedForAll

func (_Contract *ContractSession) 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 (*ContractSession) IsBlocked

func (_Contract *ContractSession) IsBlocked(userOne common.Address, userTwo common.Address) (bool, error)

IsBlocked is a free data retrieval call binding the contract method 0x86c58d3e.

Solidity: function isBlocked(address userOne, address userTwo) view returns(bool)

func (*ContractSession) IsFollowing

func (_Contract *ContractSession) IsFollowing(userOne common.Address, userTwo common.Address) (bool, error)

IsFollowing is a free data retrieval call binding the contract method 0x99ec3a42.

Solidity: function isFollowing(address userOne, address userTwo) view returns(bool)

func (*ContractSession) IsViral

func (_Contract *ContractSession) IsViral(tokenId *big.Int) (bool, error)

IsViral is a free data retrieval call binding the contract method 0xeb7b8ee6.

Solidity: function isViral(uint256 tokenId) view returns(bool)

func (*ContractSession) LeavePool

func (_Contract *ContractSession) LeavePool(tokenId *big.Int) (*types.Transaction, error)

LeavePool is a paid mutator transaction binding the contract method 0x9ca53f82.

Solidity: function leavePool(uint256 tokenId) returns()

func (*ContractSession) Name

func (_Contract *ContractSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ContractSession) OwnerOf

func (_Contract *ContractSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ContractSession) ProxiableUUID

func (_Contract *ContractSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*ContractSession) RenounceRole

func (_Contract *ContractSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*ContractSession) RevokeRole

func (_Contract *ContractSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*ContractSession) SafeTransferFrom

func (_Contract *ContractSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) payable returns()

func (*ContractSession) SafeTransferFrom0

func (_Contract *ContractSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) payable returns()

func (*ContractSession) SetApprovalForAll

func (_Contract *ContractSession) 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 (*ContractSession) Squeaks

func (_Contract *ContractSession) Squeaks(arg0 *big.Int) (struct {
	BlockNumber *big.Int
	Author      common.Address
	Owner       common.Address
	Content     []byte
}, error)

Squeaks is a free data retrieval call binding the contract method 0xf7e75ccb.

Solidity: function squeaks(uint256 ) view returns(uint256 blockNumber, address author, address owner, bytes content)

func (*ContractSession) SupportsInterface

func (_Contract *ContractSession) 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 (*ContractSession) Symbol

func (_Contract *ContractSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ContractSession) TokenURI

func (_Contract *ContractSession) 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 (*ContractSession) TotalSupply

func (_Contract *ContractSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ContractSession) TransferFrom

func (_Contract *ContractSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) payable returns()

func (*ContractSession) Treasury

func (_Contract *ContractSession) Treasury() (*big.Int, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(uint256)

func (*ContractSession) UpdateConfiguration

func (_Contract *ContractSession) UpdateConfiguration(configuration uint8, amount *big.Int) (*types.Transaction, error)

UpdateConfiguration is a paid mutator transaction binding the contract method 0x3f57d800.

Solidity: function updateConfiguration(uint8 configuration, uint256 amount) returns()

func (*ContractSession) UpdateInteractionFee

func (_Contract *ContractSession) UpdateInteractionFee(interaction uint8, amount *big.Int) (*types.Transaction, error)

UpdateInteractionFee is a paid mutator transaction binding the contract method 0x52347773.

Solidity: function updateInteractionFee(uint8 interaction, uint256 amount) returns()

func (*ContractSession) UpdateRelationship

func (_Contract *ContractSession) UpdateRelationship(account common.Address, action uint8) (*types.Transaction, error)

UpdateRelationship is a paid mutator transaction binding the contract method 0xdf2ae7c7.

Solidity: function updateRelationship(address account, uint8 action) returns()

func (*ContractSession) UpdateStatus

func (_Contract *ContractSession) UpdateStatus(account common.Address, status uint8) (*types.Transaction, error)

UpdateStatus is a paid mutator transaction binding the contract method 0x44c5bbf8.

Solidity: function updateStatus(address account, uint8 status) returns()

func (*ContractSession) UpdateUsername

func (_Contract *ContractSession) UpdateUsername(newUsername string) (*types.Transaction, error)

UpdateUsername is a paid mutator transaction binding the contract method 0xc96cea70.

Solidity: function updateUsername(string newUsername) returns()

func (*ContractSession) UpgradeTo

func (_Contract *ContractSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*ContractSession) UpgradeToAndCall

func (_Contract *ContractSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*ContractSession) Users

func (_Contract *ContractSession) Users(arg0 common.Address) (struct {
	Account  common.Address
	Status   uint8
	Level    *big.Int
	Username string
}, error)

Users is a free data retrieval call binding the contract method 0xa87430ba.

Solidity: function users(address ) view returns(address account, uint8 status, uint256 level, string username)

func (*ContractSession) Withdraw

func (_Contract *ContractSession) Withdraw(to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(address to, uint256 amount) payable returns()

type ContractSqueakCreated

type ContractSqueakCreated struct {
	Author  common.Address
	Content [32]byte
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ContractSqueakCreated represents a SqueakCreated event raised by the Contract contract.

type ContractSqueakCreatedIterator

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

ContractSqueakCreatedIterator is returned from FilterSqueakCreated and is used to iterate over the raw logs and unpacked data for SqueakCreated events raised by the Contract contract.

func (*ContractSqueakCreatedIterator) Close

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

func (*ContractSqueakCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractSqueakCreatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractSqueakDeleted

type ContractSqueakDeleted struct {
	TokenId   *big.Int
	DeletedBy common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

ContractSqueakDeleted represents a SqueakDeleted event raised by the Contract contract.

type ContractSqueakDeletedIterator

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

ContractSqueakDeletedIterator is returned from FilterSqueakDeleted and is used to iterate over the raw logs and unpacked data for SqueakDeleted events raised by the Contract contract.

func (*ContractSqueakDeletedIterator) Close

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

func (*ContractSqueakDeletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractSqueakDeletedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractSqueakInteraction

type ContractSqueakInteraction struct {
	TokenId     *big.Int
	Sender      common.Address
	Interaction uint8
	Raw         types.Log // Blockchain specific contextual infos
}

ContractSqueakInteraction represents a SqueakInteraction event raised by the Contract contract.

type ContractSqueakInteractionIterator

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

ContractSqueakInteractionIterator is returned from FilterSqueakInteraction and is used to iterate over the raw logs and unpacked data for SqueakInteraction events raised by the Contract contract.

func (*ContractSqueakInteractionIterator) Close

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

func (*ContractSqueakInteractionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractSqueakInteractionIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractStatusUpdated

type ContractStatusUpdated struct {
	Account common.Address
	Status  uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ContractStatusUpdated represents a StatusUpdated event raised by the Contract contract.

type ContractStatusUpdatedIterator

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

ContractStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the Contract contract.

func (*ContractStatusUpdatedIterator) Close

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

func (*ContractStatusUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractStatusUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractTransactor

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

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

func NewContractTransactor

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

NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.

func (*ContractTransactor) Approve

func (_Contract *ContractTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) payable returns()

func (*ContractTransactor) CreateAccount

func (_Contract *ContractTransactor) CreateAccount(opts *bind.TransactOpts, username string) (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x298daf5b.

Solidity: function createAccount(string username) returns()

func (*ContractTransactor) CreateSqueak

func (_Contract *ContractTransactor) CreateSqueak(opts *bind.TransactOpts, content string) (*types.Transaction, error)

CreateSqueak is a paid mutator transaction binding the contract method 0xf3357b50.

Solidity: function createSqueak(string content) returns()

func (*ContractTransactor) DeleteSqueak

func (_Contract *ContractTransactor) DeleteSqueak(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)

DeleteSqueak is a paid mutator transaction binding the contract method 0xa015c9d7.

Solidity: function deleteSqueak(uint256 tokenId) payable returns()

func (*ContractTransactor) GrantRole

func (_Contract *ContractTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*ContractTransactor) Initialize

func (_Contract *ContractTransactor) Initialize(opts *bind.TransactOpts, dividendThreshold *big.Int, maxLevel *big.Int, viralityThreshold *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x80d85911.

Solidity: function initialize(uint256 dividendThreshold, uint256 maxLevel, uint256 viralityThreshold) returns()

func (*ContractTransactor) Interact

func (_Contract *ContractTransactor) Interact(opts *bind.TransactOpts, tokenId *big.Int, interaction uint8) (*types.Transaction, error)

Interact is a paid mutator transaction binding the contract method 0x701d8ef8.

Solidity: function interact(uint256 tokenId, uint8 interaction) payable returns()

func (*ContractTransactor) LeavePool

func (_Contract *ContractTransactor) LeavePool(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)

LeavePool is a paid mutator transaction binding the contract method 0x9ca53f82.

Solidity: function leavePool(uint256 tokenId) returns()

func (*ContractTransactor) RenounceRole

func (_Contract *ContractTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*ContractTransactor) RevokeRole

func (_Contract *ContractTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*ContractTransactor) SafeTransferFrom

func (_Contract *ContractTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) payable returns()

func (*ContractTransactor) SafeTransferFrom0

func (_Contract *ContractTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) payable returns()

func (*ContractTransactor) SetApprovalForAll

func (_Contract *ContractTransactor) 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 (*ContractTransactor) TransferFrom

func (_Contract *ContractTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) payable returns()

func (*ContractTransactor) UpdateConfiguration

func (_Contract *ContractTransactor) UpdateConfiguration(opts *bind.TransactOpts, configuration uint8, amount *big.Int) (*types.Transaction, error)

UpdateConfiguration is a paid mutator transaction binding the contract method 0x3f57d800.

Solidity: function updateConfiguration(uint8 configuration, uint256 amount) returns()

func (*ContractTransactor) UpdateInteractionFee

func (_Contract *ContractTransactor) UpdateInteractionFee(opts *bind.TransactOpts, interaction uint8, amount *big.Int) (*types.Transaction, error)

UpdateInteractionFee is a paid mutator transaction binding the contract method 0x52347773.

Solidity: function updateInteractionFee(uint8 interaction, uint256 amount) returns()

func (*ContractTransactor) UpdateRelationship

func (_Contract *ContractTransactor) UpdateRelationship(opts *bind.TransactOpts, account common.Address, action uint8) (*types.Transaction, error)

UpdateRelationship is a paid mutator transaction binding the contract method 0xdf2ae7c7.

Solidity: function updateRelationship(address account, uint8 action) returns()

func (*ContractTransactor) UpdateStatus

func (_Contract *ContractTransactor) UpdateStatus(opts *bind.TransactOpts, account common.Address, status uint8) (*types.Transaction, error)

UpdateStatus is a paid mutator transaction binding the contract method 0x44c5bbf8.

Solidity: function updateStatus(address account, uint8 status) returns()

func (*ContractTransactor) UpdateUsername

func (_Contract *ContractTransactor) UpdateUsername(opts *bind.TransactOpts, newUsername string) (*types.Transaction, error)

UpdateUsername is a paid mutator transaction binding the contract method 0xc96cea70.

Solidity: function updateUsername(string newUsername) returns()

func (*ContractTransactor) UpgradeTo

func (_Contract *ContractTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*ContractTransactor) UpgradeToAndCall

func (_Contract *ContractTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*ContractTransactor) Withdraw

func (_Contract *ContractTransactor) Withdraw(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(address to, uint256 amount) payable returns()

type ContractTransactorRaw

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

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

func (*ContractTransactorRaw) Transact

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

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

func (*ContractTransactorRaw) Transfer

func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession

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

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

func (*ContractTransactorSession) Approve

func (_Contract *ContractTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) payable returns()

func (*ContractTransactorSession) CreateAccount

func (_Contract *ContractTransactorSession) CreateAccount(username string) (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x298daf5b.

Solidity: function createAccount(string username) returns()

func (*ContractTransactorSession) CreateSqueak

func (_Contract *ContractTransactorSession) CreateSqueak(content string) (*types.Transaction, error)

CreateSqueak is a paid mutator transaction binding the contract method 0xf3357b50.

Solidity: function createSqueak(string content) returns()

func (*ContractTransactorSession) DeleteSqueak

func (_Contract *ContractTransactorSession) DeleteSqueak(tokenId *big.Int) (*types.Transaction, error)

DeleteSqueak is a paid mutator transaction binding the contract method 0xa015c9d7.

Solidity: function deleteSqueak(uint256 tokenId) payable returns()

func (*ContractTransactorSession) GrantRole

func (_Contract *ContractTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*ContractTransactorSession) Initialize

func (_Contract *ContractTransactorSession) Initialize(dividendThreshold *big.Int, maxLevel *big.Int, viralityThreshold *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x80d85911.

Solidity: function initialize(uint256 dividendThreshold, uint256 maxLevel, uint256 viralityThreshold) returns()

func (*ContractTransactorSession) Interact

func (_Contract *ContractTransactorSession) Interact(tokenId *big.Int, interaction uint8) (*types.Transaction, error)

Interact is a paid mutator transaction binding the contract method 0x701d8ef8.

Solidity: function interact(uint256 tokenId, uint8 interaction) payable returns()

func (*ContractTransactorSession) LeavePool

func (_Contract *ContractTransactorSession) LeavePool(tokenId *big.Int) (*types.Transaction, error)

LeavePool is a paid mutator transaction binding the contract method 0x9ca53f82.

Solidity: function leavePool(uint256 tokenId) returns()

func (*ContractTransactorSession) RenounceRole

func (_Contract *ContractTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*ContractTransactorSession) RevokeRole

func (_Contract *ContractTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*ContractTransactorSession) SafeTransferFrom

func (_Contract *ContractTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) payable returns()

func (*ContractTransactorSession) SafeTransferFrom0

func (_Contract *ContractTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) payable returns()

func (*ContractTransactorSession) SetApprovalForAll

func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) TransferFrom

func (_Contract *ContractTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) payable returns()

func (*ContractTransactorSession) UpdateConfiguration

func (_Contract *ContractTransactorSession) UpdateConfiguration(configuration uint8, amount *big.Int) (*types.Transaction, error)

UpdateConfiguration is a paid mutator transaction binding the contract method 0x3f57d800.

Solidity: function updateConfiguration(uint8 configuration, uint256 amount) returns()

func (*ContractTransactorSession) UpdateInteractionFee

func (_Contract *ContractTransactorSession) UpdateInteractionFee(interaction uint8, amount *big.Int) (*types.Transaction, error)

UpdateInteractionFee is a paid mutator transaction binding the contract method 0x52347773.

Solidity: function updateInteractionFee(uint8 interaction, uint256 amount) returns()

func (*ContractTransactorSession) UpdateRelationship

func (_Contract *ContractTransactorSession) UpdateRelationship(account common.Address, action uint8) (*types.Transaction, error)

UpdateRelationship is a paid mutator transaction binding the contract method 0xdf2ae7c7.

Solidity: function updateRelationship(address account, uint8 action) returns()

func (*ContractTransactorSession) UpdateStatus

func (_Contract *ContractTransactorSession) UpdateStatus(account common.Address, status uint8) (*types.Transaction, error)

UpdateStatus is a paid mutator transaction binding the contract method 0x44c5bbf8.

Solidity: function updateStatus(address account, uint8 status) returns()

func (*ContractTransactorSession) UpdateUsername

func (_Contract *ContractTransactorSession) UpdateUsername(newUsername string) (*types.Transaction, error)

UpdateUsername is a paid mutator transaction binding the contract method 0xc96cea70.

Solidity: function updateUsername(string newUsername) returns()

func (*ContractTransactorSession) UpgradeTo

func (_Contract *ContractTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*ContractTransactorSession) UpgradeToAndCall

func (_Contract *ContractTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*ContractTransactorSession) Withdraw

func (_Contract *ContractTransactorSession) Withdraw(to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(address to, uint256 amount) payable returns()

type ContractTransfer

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

ContractTransfer represents a Transfer event raised by the Contract contract.

type ContractTransferIterator

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

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

func (*ContractTransferIterator) Close

func (it *ContractTransferIterator) Close() error

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

func (*ContractTransferIterator) Error

func (it *ContractTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractTransferIterator) Next

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

type ContractUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

ContractUpgraded represents a Upgraded event raised by the Contract contract.

type ContractUpgradedIterator

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

ContractUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the Contract contract.

func (*ContractUpgradedIterator) Close

func (it *ContractUpgradedIterator) Close() error

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

func (*ContractUpgradedIterator) Error

func (it *ContractUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUpgradedIterator) Next

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

type ContractUsernameUpdated struct {
	Account     common.Address
	NewUsername string
	Raw         types.Log // Blockchain specific contextual infos
}

ContractUsernameUpdated represents a UsernameUpdated event raised by the Contract contract.

type ContractUsernameUpdatedIterator

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

ContractUsernameUpdatedIterator is returned from FilterUsernameUpdated and is used to iterate over the raw logs and unpacked data for UsernameUpdated events raised by the Contract contract.

func (*ContractUsernameUpdatedIterator) Close

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

func (*ContractUsernameUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUsernameUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ICritterPoolInfo

type ICritterPoolInfo struct {
	Amount      *big.Int
	Shares      *big.Int
	PassCount   *big.Int
	BlockNumber *big.Int
	Score       uint64
}

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

type ICritterPoolPassInfo

type ICritterPoolPassInfo struct {
	Account common.Address
	Shares  *big.Int
}

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

type ICritterSentimentCounts

type ICritterSentimentCounts struct {
	Dislikes  *big.Int
	Likes     *big.Int
	Resqueaks *big.Int
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL