bindings

package
v0.0.0-...-3befcbb Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ComponentsABI = ComponentsMetaData.ABI

ComponentsABI is the input ABI used to generate the binding from. Deprecated: Use ComponentsMetaData.ABI instead.

View Source
var ComponentsMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"componentType\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"component\",\"type\":\"string\"}],\"name\":\"AddComponent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"accessories\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"componentType\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"component\",\"type\":\"string\"}],\"name\":\"addComponent\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8[5]\",\"name\":\"components\",\"type\":\"uint8[5]\"},{\"internalType\":\"uint8\",\"name\":\"componentType\",\"type\":\"uint8\"}],\"name\":\"attributes\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"clothes\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"drugs\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"footArmor\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"handArmor\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"items\",\"outputs\":[{\"internalType\":\"uint8[5][9]\",\"name\":\"items_\",\"type\":\"uint8[5][9]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"componentType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"}],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"namePrefixes\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"nameSuffixes\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"necklaces\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"prefixComponent\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"suffixComponent\",\"type\":\"uint8\"}],\"name\":\"prefix\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rings\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"componentType\",\"type\":\"uint8\"}],\"name\":\"seed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"suffixComponent\",\"type\":\"uint8\"}],\"name\":\"suffix\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"suffixes\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"hustlerId\",\"type\":\"uint256\"}],\"name\":\"title\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"vehicle\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"waistArmor\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"weapons\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ComponentsMetaData contains all meta data concerning the Components contract.

View Source
var DopeABI = DopeMetaData.ABI

DopeABI is the input ABI used to generate the binding from. Deprecated: Use DopeMetaData.ABI instead.

View Source
var DopeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DELEGATION_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"checkpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"fromBlock\",\"type\":\"uint32\"},{\"internalType\":\"uint96\",\"name\":\"votes\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"getClothes\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getCurrentVotes\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getDrugs\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getFoot\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getHand\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getNeck\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPriorVotes\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getRing\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getVehicle\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getWaist\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getWeapon\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"numCheckpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"}],\"name\":\"votesToDelegate\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

DopeMetaData contains all meta data concerning the Dope contract.

View Source
var HustlerABI = HustlerMetaData.ABI

HustlerABI is the input ABI used to generate the binding from. Deprecated: Use HustlerMetaData.ABI instead.

View Source
var HustlerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_components\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_swapmeet\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"part\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"len\",\"type\":\"uint256\"}],\"name\":\"AddRles\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"MetadataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"TransferBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"TransferSingle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"URI\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"part\",\"type\":\"uint8\"},{\"internalType\":\"bytes[]\",\"name\":\"_rles\",\"type\":\"bytes[]\"}],\"name\":\"addRles\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"hustlerId\",\"type\":\"uint256\"}],\"name\":\"attributes\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"accounts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"part\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"}],\"name\":\"bodyRle\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"hustlerId\",\"type\":\"uint256\"}],\"name\":\"carParts\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enforcer\",\"outputs\":[{\"internalType\":\"contractIEnforcer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"hustlerId\",\"type\":\"uint256\"}],\"name\":\"hustlerParts\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"metadata\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"color\",\"type\":\"bytes4\"},{\"internalType\":\"bytes4\",\"name\":\"background\",\"type\":\"bytes4\"},{\"internalType\":\"bytes2\",\"name\":\"mask\",\"type\":\"bytes2\"},{\"internalType\":\"bytes2\",\"name\":\"options\",\"type\":\"bytes2\"},{\"internalType\":\"uint256\",\"name\":\"age\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"bytes4\",\"name\":\"color\",\"type\":\"bytes4\"},{\"internalType\":\"bytes4\",\"name\":\"background\",\"type\":\"bytes4\"},{\"internalType\":\"bytes2\",\"name\":\"options\",\"type\":\"bytes2\"},{\"internalType\":\"uint8[4]\",\"name\":\"viewbox\",\"type\":\"uint8[4]\"},{\"internalType\":\"uint8[4]\",\"name\":\"body\",\"type\":\"uint8[4]\"},{\"internalType\":\"bytes2\",\"name\":\"mask\",\"type\":\"bytes2\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mintOGTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mintTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"bytes4\",\"name\":\"color\",\"type\":\"bytes4\"},{\"internalType\":\"bytes4\",\"name\":\"background\",\"type\":\"bytes4\"},{\"internalType\":\"bytes2\",\"name\":\"options\",\"type\":\"bytes2\"},{\"internalType\":\"uint8[4]\",\"name\":\"viewbox\",\"type\":\"uint8[4]\"},{\"internalType\":\"uint8[4]\",\"name\":\"body\",\"type\":\"uint8[4]\"},{\"internalType\":\"bytes2\",\"name\":\"mask\",\"type\":\"bytes2\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mintTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"title\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"subtitle\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"resolution\",\"type\":\"uint8\"},{\"internalType\":\"bytes4\",\"name\":\"background\",\"type\":\"bytes4\"},{\"internalType\":\"bytes4\",\"name\":\"color\",\"type\":\"bytes4\"},{\"internalType\":\"uint8[4]\",\"name\":\"viewbox\",\"type\":\"uint8[4]\"},{\"internalType\":\"bytes[]\",\"name\":\"parts\",\"type\":\"bytes[]\"}],\"name\":\"render\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"enforcer_\",\"type\":\"address\"}],\"name\":\"setEnforcer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"hustlerId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"bytes4\",\"name\":\"color\",\"type\":\"bytes4\"},{\"internalType\":\"bytes4\",\"name\":\"background\",\"type\":\"bytes4\"},{\"internalType\":\"bytes2\",\"name\":\"options\",\"type\":\"bytes2\"},{\"internalType\":\"uint8[4]\",\"name\":\"viewbox\",\"type\":\"uint8[4]\"},{\"internalType\":\"uint8[4]\",\"name\":\"body\",\"type\":\"uint8[4]\"},{\"internalType\":\"bytes2\",\"name\":\"mask\",\"type\":\"bytes2\"}],\"name\":\"setMetadata\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"hustlerId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"hustlerId\",\"type\":\"uint256\"},{\"internalType\":\"uint8[]\",\"name\":\"slots\",\"type\":\"uint8[]\"}],\"name\":\"unequip\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

HustlerMetaData contains all meta data concerning the Hustler contract.

View Source
var InitiatorABI = InitiatorMetaData.ABI

InitiatorABI is the input ABI used to generate the binding from. Deprecated: Use InitiatorMetaData.ABI instead.

View Source
var InitiatorMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIERC721\",\"name\":\"dope_\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"paper_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"controller_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Opened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"cost\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"isOpened\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"bytes4\",\"name\":\"color\",\"type\":\"bytes4\"},{\"internalType\":\"bytes4\",\"name\":\"background\",\"type\":\"bytes4\"},{\"internalType\":\"bytes2\",\"name\":\"options\",\"type\":\"bytes2\"},{\"internalType\":\"uint8[4]\",\"name\":\"viewbox\",\"type\":\"uint8[4]\"},{\"internalType\":\"uint8[4]\",\"name\":\"body\",\"type\":\"uint8[4]\"},{\"internalType\":\"uint8[10]\",\"name\":\"order\",\"type\":\"uint8[10]\"},{\"internalType\":\"bytes2\",\"name\":\"mask\",\"type\":\"bytes2\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"internalType\":\"structIHustlerActions.SetMetadata\",\"name\":\"meta\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"gasLimit\",\"type\":\"uint32\"}],\"name\":\"mintFromDopeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"bytes4\",\"name\":\"color\",\"type\":\"bytes4\"},{\"internalType\":\"bytes4\",\"name\":\"background\",\"type\":\"bytes4\"},{\"internalType\":\"bytes2\",\"name\":\"options\",\"type\":\"bytes2\"},{\"internalType\":\"uint8[4]\",\"name\":\"viewbox\",\"type\":\"uint8[4]\"},{\"internalType\":\"uint8[4]\",\"name\":\"body\",\"type\":\"uint8[4]\"},{\"internalType\":\"uint8[10]\",\"name\":\"order\",\"type\":\"uint8[10]\"},{\"internalType\":\"bytes2\",\"name\":\"mask\",\"type\":\"bytes2\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"internalType\":\"structIHustlerActions.SetMetadata\",\"name\":\"meta\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"gasLimit\",\"type\":\"uint32\"}],\"name\":\"mintOGFromDopeTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"gasLimit\",\"type\":\"uint32\"}],\"name\":\"open\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"release\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_release\",\"type\":\"uint256\"}],\"name\":\"setRelease\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

InitiatorMetaData contains all meta data concerning the Initiator contract.

View Source
var PaperABI = PaperMetaData.ABI

PaperABI is the input ABI used to generate the binding from. Deprecated: Use PaperMetaData.ABI instead.

View Source
var PaperMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dope\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Snapshot\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"snapshotId\",\"type\":\"uint256\"}],\"name\":\"balanceOfAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"pos\",\"type\":\"uint32\"}],\"name\":\"checkpoints\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"fromBlock\",\"type\":\"uint32\"},{\"internalType\":\"uint224\",\"name\":\"votes\",\"type\":\"uint224\"}],\"internalType\":\"structERC20Votes.Checkpoint\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimAllForOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"claimById\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"ownerIndexStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ownerIndexEnd\",\"type\":\"uint256\"}],\"name\":\"claimRangeForOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"claimedByTokenId\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"loot\",\"outputs\":[{\"internalType\":\"contractIERC721Enumerable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"numCheckpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paperPerTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"snapshot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"timelock\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenIdEnd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenIdStart\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"snapshotId\",\"type\":\"uint256\"}],\"name\":\"totalSupplyAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PaperMetaData contains all meta data concerning the Paper contract.

View Source
var SwapMeetABI = SwapMeetMetaData.ABI

SwapMeetABI is the input ABI used to generate the binding from. Deprecated: Use SwapMeetMetaData.ABI instead.

View Source
var SwapMeetMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_components\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"SetRle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"TransferBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"TransferSingle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"URI\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"accounts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"rles\",\"type\":\"bytes[]\"}],\"name\":\"batchSetRle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"fullname\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"n\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"itemIds\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint8[5]\",\"name\":\"components\",\"type\":\"uint8[5]\"},{\"internalType\":\"uint8\",\"name\":\"componentType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint8[]\",\"name\":\"components\",\"type\":\"uint8[]\"},{\"internalType\":\"uint8[]\",\"name\":\"componentTypes\",\"type\":\"uint8[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mintBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"open\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"id\",\"type\":\"uint8\"}],\"name\":\"palette\",\"outputs\":[{\"internalType\":\"bytes4[]\",\"name\":\"\",\"type\":\"bytes4[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"params\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"id\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"palette\",\"type\":\"bytes4[]\"}],\"name\":\"setPalette\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"male\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"female\",\"type\":\"bytes\"}],\"name\":\"setRle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"toBaseId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8[5]\",\"name\":\"components\",\"type\":\"uint8[5]\"},{\"internalType\":\"uint8\",\"name\":\"componentType\",\"type\":\"uint8\"}],\"name\":\"toId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"gender\",\"type\":\"uint8\"}],\"name\":\"tokenRle\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

SwapMeetMetaData contains all meta data concerning the SwapMeet contract.

Functions

This section is empty.

Types

type BaseComponentsProcessor

type BaseComponentsProcessor struct {
	Address  common.Address
	ABI      abi.ABI
	Contract *Components
	Eth      interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}
}

func (*BaseComponentsProcessor) Initialize

func (h *BaseComponentsProcessor) Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

func (*BaseComponentsProcessor) ProcessAddComponent

func (h *BaseComponentsProcessor) ProcessAddComponent(ctx context.Context, e ComponentsAddComponent) (func(tx *ent.Tx) error, error)

func (*BaseComponentsProcessor) ProcessElement

func (h *BaseComponentsProcessor) ProcessElement(p interface{}) func(context.Context, types.Log) (func(*ent.Tx) error, error)

func (*BaseComponentsProcessor) ProcessOwnershipTransferred

func (h *BaseComponentsProcessor) ProcessOwnershipTransferred(ctx context.Context, e ComponentsOwnershipTransferred) (func(tx *ent.Tx) error, error)

func (*BaseComponentsProcessor) Setup

func (h *BaseComponentsProcessor) Setup(address common.Address, eth interface {
	ethereum.ChainReader
	ethereum.ChainStateReader
	ethereum.TransactionReader
	bind.ContractBackend
}) error

func (*BaseComponentsProcessor) UnpackLog

func (h *BaseComponentsProcessor) UnpackLog(out interface{}, event string, log types.Log) error

type BaseDopeProcessor

type BaseDopeProcessor struct {
	Address  common.Address
	ABI      abi.ABI
	Contract *Dope
	Eth      interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}
}

func (*BaseDopeProcessor) Initialize

func (h *BaseDopeProcessor) Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

func (*BaseDopeProcessor) ProcessApproval

func (h *BaseDopeProcessor) ProcessApproval(ctx context.Context, e DopeApproval) (func(tx *ent.Tx) error, error)

func (*BaseDopeProcessor) ProcessApprovalForAll

func (h *BaseDopeProcessor) ProcessApprovalForAll(ctx context.Context, e DopeApprovalForAll) (func(tx *ent.Tx) error, error)

func (*BaseDopeProcessor) ProcessDelegateChanged

func (h *BaseDopeProcessor) ProcessDelegateChanged(ctx context.Context, e DopeDelegateChanged) (func(tx *ent.Tx) error, error)

func (*BaseDopeProcessor) ProcessDelegateVotesChanged

func (h *BaseDopeProcessor) ProcessDelegateVotesChanged(ctx context.Context, e DopeDelegateVotesChanged) (func(tx *ent.Tx) error, error)

func (*BaseDopeProcessor) ProcessElement

func (h *BaseDopeProcessor) ProcessElement(p interface{}) func(context.Context, types.Log) (func(*ent.Tx) error, error)

func (*BaseDopeProcessor) ProcessOwnershipTransferred

func (h *BaseDopeProcessor) ProcessOwnershipTransferred(ctx context.Context, e DopeOwnershipTransferred) (func(tx *ent.Tx) error, error)

func (*BaseDopeProcessor) ProcessTransfer

func (h *BaseDopeProcessor) ProcessTransfer(ctx context.Context, e DopeTransfer) (func(tx *ent.Tx) error, error)

func (*BaseDopeProcessor) Setup

func (h *BaseDopeProcessor) Setup(address common.Address, eth interface {
	ethereum.ChainReader
	ethereum.ChainStateReader
	ethereum.TransactionReader
	bind.ContractBackend
}) error

func (*BaseDopeProcessor) UnpackLog

func (h *BaseDopeProcessor) UnpackLog(out interface{}, event string, log types.Log) error

type BaseHustlerProcessor

type BaseHustlerProcessor struct {
	Address  common.Address
	ABI      abi.ABI
	Contract *Hustler
	Eth      interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}
}

func (*BaseHustlerProcessor) Initialize

func (h *BaseHustlerProcessor) Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

func (*BaseHustlerProcessor) ProcessAddRles

func (h *BaseHustlerProcessor) ProcessAddRles(ctx context.Context, e HustlerAddRles) (func(tx *ent.Tx) error, error)

func (*BaseHustlerProcessor) ProcessApprovalForAll

func (h *BaseHustlerProcessor) ProcessApprovalForAll(ctx context.Context, e HustlerApprovalForAll) (func(tx *ent.Tx) error, error)

func (*BaseHustlerProcessor) ProcessElement

func (h *BaseHustlerProcessor) ProcessElement(p interface{}) func(context.Context, types.Log) (func(*ent.Tx) error, error)

func (*BaseHustlerProcessor) ProcessMetadataUpdate

func (h *BaseHustlerProcessor) ProcessMetadataUpdate(ctx context.Context, e HustlerMetadataUpdate) (func(tx *ent.Tx) error, error)

func (*BaseHustlerProcessor) ProcessOwnershipTransferred

func (h *BaseHustlerProcessor) ProcessOwnershipTransferred(ctx context.Context, e HustlerOwnershipTransferred) (func(tx *ent.Tx) error, error)

func (*BaseHustlerProcessor) ProcessTransferBatch

func (h *BaseHustlerProcessor) ProcessTransferBatch(ctx context.Context, e HustlerTransferBatch) (func(tx *ent.Tx) error, error)

func (*BaseHustlerProcessor) ProcessTransferSingle

func (h *BaseHustlerProcessor) ProcessTransferSingle(ctx context.Context, e HustlerTransferSingle) (func(tx *ent.Tx) error, error)

func (*BaseHustlerProcessor) ProcessURI

func (h *BaseHustlerProcessor) ProcessURI(ctx context.Context, e HustlerURI) (func(tx *ent.Tx) error, error)

func (*BaseHustlerProcessor) Setup

func (h *BaseHustlerProcessor) Setup(address common.Address, eth interface {
	ethereum.ChainReader
	ethereum.ChainStateReader
	ethereum.TransactionReader
	bind.ContractBackend
}) error

func (*BaseHustlerProcessor) UnpackLog

func (h *BaseHustlerProcessor) UnpackLog(out interface{}, event string, log types.Log) error

type BaseInitiatorProcessor

type BaseInitiatorProcessor struct {
	Address  common.Address
	ABI      abi.ABI
	Contract *Initiator
	Eth      interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}
}

func (*BaseInitiatorProcessor) Initialize

func (h *BaseInitiatorProcessor) Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

func (*BaseInitiatorProcessor) ProcessElement

func (h *BaseInitiatorProcessor) ProcessElement(p interface{}) func(context.Context, types.Log) (func(*ent.Tx) error, error)

func (*BaseInitiatorProcessor) ProcessOpened

func (h *BaseInitiatorProcessor) ProcessOpened(ctx context.Context, e InitiatorOpened) (func(tx *ent.Tx) error, error)

func (*BaseInitiatorProcessor) ProcessOwnershipTransferred

func (h *BaseInitiatorProcessor) ProcessOwnershipTransferred(ctx context.Context, e InitiatorOwnershipTransferred) (func(tx *ent.Tx) error, error)

func (*BaseInitiatorProcessor) Setup

func (h *BaseInitiatorProcessor) Setup(address common.Address, eth interface {
	ethereum.ChainReader
	ethereum.ChainStateReader
	ethereum.TransactionReader
	bind.ContractBackend
}) error

func (*BaseInitiatorProcessor) UnpackLog

func (h *BaseInitiatorProcessor) UnpackLog(out interface{}, event string, log types.Log) error

type BasePaperProcessor

type BasePaperProcessor struct {
	Address  common.Address
	ABI      abi.ABI
	Contract *Paper
	Eth      interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}
}

func (*BasePaperProcessor) Initialize

func (h *BasePaperProcessor) Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

func (*BasePaperProcessor) ProcessApproval

func (h *BasePaperProcessor) ProcessApproval(ctx context.Context, e PaperApproval) (func(tx *ent.Tx) error, error)

func (*BasePaperProcessor) ProcessDelegateChanged

func (h *BasePaperProcessor) ProcessDelegateChanged(ctx context.Context, e PaperDelegateChanged) (func(tx *ent.Tx) error, error)

func (*BasePaperProcessor) ProcessDelegateVotesChanged

func (h *BasePaperProcessor) ProcessDelegateVotesChanged(ctx context.Context, e PaperDelegateVotesChanged) (func(tx *ent.Tx) error, error)

func (*BasePaperProcessor) ProcessElement

func (h *BasePaperProcessor) ProcessElement(p interface{}) func(context.Context, types.Log) (func(*ent.Tx) error, error)

func (*BasePaperProcessor) ProcessOwnershipTransferred

func (h *BasePaperProcessor) ProcessOwnershipTransferred(ctx context.Context, e PaperOwnershipTransferred) (func(tx *ent.Tx) error, error)

func (*BasePaperProcessor) ProcessSnapshot

func (h *BasePaperProcessor) ProcessSnapshot(ctx context.Context, e PaperSnapshot) (func(tx *ent.Tx) error, error)

func (*BasePaperProcessor) ProcessTransfer

func (h *BasePaperProcessor) ProcessTransfer(ctx context.Context, e PaperTransfer) (func(tx *ent.Tx) error, error)

func (*BasePaperProcessor) Setup

func (h *BasePaperProcessor) Setup(address common.Address, eth interface {
	ethereum.ChainReader
	ethereum.ChainStateReader
	ethereum.TransactionReader
	bind.ContractBackend
}) error

func (*BasePaperProcessor) UnpackLog

func (h *BasePaperProcessor) UnpackLog(out interface{}, event string, log types.Log) error

type BaseSwapMeetProcessor

type BaseSwapMeetProcessor struct {
	Address  common.Address
	ABI      abi.ABI
	Contract *SwapMeet
	Eth      interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}
}

func (*BaseSwapMeetProcessor) Initialize

func (h *BaseSwapMeetProcessor) Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

func (*BaseSwapMeetProcessor) ProcessApprovalForAll

func (h *BaseSwapMeetProcessor) ProcessApprovalForAll(ctx context.Context, e SwapMeetApprovalForAll) (func(tx *ent.Tx) error, error)

func (*BaseSwapMeetProcessor) ProcessElement

func (h *BaseSwapMeetProcessor) ProcessElement(p interface{}) func(context.Context, types.Log) (func(*ent.Tx) error, error)

func (*BaseSwapMeetProcessor) ProcessOwnershipTransferred

func (h *BaseSwapMeetProcessor) ProcessOwnershipTransferred(ctx context.Context, e SwapMeetOwnershipTransferred) (func(tx *ent.Tx) error, error)

func (*BaseSwapMeetProcessor) ProcessSetRle

func (h *BaseSwapMeetProcessor) ProcessSetRle(ctx context.Context, e SwapMeetSetRle) (func(tx *ent.Tx) error, error)

func (*BaseSwapMeetProcessor) ProcessTransferBatch

func (h *BaseSwapMeetProcessor) ProcessTransferBatch(ctx context.Context, e SwapMeetTransferBatch) (func(tx *ent.Tx) error, error)

func (*BaseSwapMeetProcessor) ProcessTransferSingle

func (h *BaseSwapMeetProcessor) ProcessTransferSingle(ctx context.Context, e SwapMeetTransferSingle) (func(tx *ent.Tx) error, error)

func (*BaseSwapMeetProcessor) ProcessURI

func (h *BaseSwapMeetProcessor) ProcessURI(ctx context.Context, e SwapMeetURI) (func(tx *ent.Tx) error, error)

func (*BaseSwapMeetProcessor) Setup

func (h *BaseSwapMeetProcessor) Setup(address common.Address, eth interface {
	ethereum.ChainReader
	ethereum.ChainStateReader
	ethereum.TransactionReader
	bind.ContractBackend
}) error

func (*BaseSwapMeetProcessor) UnpackLog

func (h *BaseSwapMeetProcessor) UnpackLog(out interface{}, event string, log types.Log) error

type Components

type Components struct {
	ComponentsCaller     // Read-only binding to the contract
	ComponentsTransactor // Write-only binding to the contract
	ComponentsFilterer   // Log filterer for contract events
}

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

func NewComponents

func NewComponents(address common.Address, backend bind.ContractBackend) (*Components, error)

NewComponents creates a new instance of Components, bound to a specific deployed contract.

type ComponentsAddComponent

type ComponentsAddComponent struct {
	Id            *big.Int
	ComponentType *big.Int
	Component     string
	Raw           types.Log // Blockchain specific contextual infos
}

ComponentsAddComponent represents a AddComponent event raised by the Components contract.

type ComponentsAddComponentIterator

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

ComponentsAddComponentIterator is returned from FilterAddComponent and is used to iterate over the raw logs and unpacked data for AddComponent events raised by the Components contract.

func (*ComponentsAddComponentIterator) Close

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

func (*ComponentsAddComponentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ComponentsAddComponentIterator) 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 ComponentsCaller

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

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

func NewComponentsCaller

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

NewComponentsCaller creates a new read-only instance of Components, bound to a specific deployed contract.

func (*ComponentsCaller) Accessories

func (_Components *ComponentsCaller) Accessories(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Accessories is a free data retrieval call binding the contract method 0x7ca94210.

Solidity: function accessories(uint256 ) view returns(string)

func (*ComponentsCaller) Attributes

func (_Components *ComponentsCaller) Attributes(opts *bind.CallOpts, components [5]uint8, componentType uint8) (string, error)

Attributes is a free data retrieval call binding the contract method 0x1618bae9.

Solidity: function attributes(uint8[5] components, uint8 componentType) view returns(string)

func (*ComponentsCaller) Clothes

func (_Components *ComponentsCaller) Clothes(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Clothes is a free data retrieval call binding the contract method 0xe1bf8c51.

Solidity: function clothes(uint256 ) view returns(string)

func (*ComponentsCaller) Drugs

func (_Components *ComponentsCaller) Drugs(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Drugs is a free data retrieval call binding the contract method 0xfca5e61e.

Solidity: function drugs(uint256 ) view returns(string)

func (*ComponentsCaller) FootArmor

func (_Components *ComponentsCaller) FootArmor(opts *bind.CallOpts, arg0 *big.Int) (string, error)

FootArmor is a free data retrieval call binding the contract method 0x6435bece.

Solidity: function footArmor(uint256 ) view returns(string)

func (*ComponentsCaller) HandArmor

func (_Components *ComponentsCaller) HandArmor(opts *bind.CallOpts, arg0 *big.Int) (string, error)

HandArmor is a free data retrieval call binding the contract method 0x4103d17a.

Solidity: function handArmor(uint256 ) view returns(string)

func (*ComponentsCaller) Items

func (_Components *ComponentsCaller) Items(opts *bind.CallOpts, tokenId *big.Int) ([9][5]uint8, error)

Items is a free data retrieval call binding the contract method 0xbfb231d2.

Solidity: function items(uint256 tokenId) view returns(uint8[5][9] items_)

func (*ComponentsCaller) Name

func (_Components *ComponentsCaller) Name(opts *bind.CallOpts, componentType uint8, idx *big.Int) (string, error)

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

Solidity: function name(uint8 componentType, uint256 idx) view returns(string)

func (*ComponentsCaller) NamePrefixes

func (_Components *ComponentsCaller) NamePrefixes(opts *bind.CallOpts, arg0 *big.Int) (string, error)

NamePrefixes is a free data retrieval call binding the contract method 0xe7933eef.

Solidity: function namePrefixes(uint256 ) view returns(string)

func (*ComponentsCaller) NameSuffixes

func (_Components *ComponentsCaller) NameSuffixes(opts *bind.CallOpts, arg0 *big.Int) (string, error)

NameSuffixes is a free data retrieval call binding the contract method 0xf946e3bc.

Solidity: function nameSuffixes(uint256 ) view returns(string)

func (*ComponentsCaller) Necklaces

func (_Components *ComponentsCaller) Necklaces(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Necklaces is a free data retrieval call binding the contract method 0x08008f35.

Solidity: function necklaces(uint256 ) view returns(string)

func (*ComponentsCaller) Owner

func (_Components *ComponentsCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ComponentsCaller) Prefix

func (_Components *ComponentsCaller) Prefix(opts *bind.CallOpts, prefixComponent uint8, suffixComponent uint8) (string, error)

Prefix is a free data retrieval call binding the contract method 0xb12fa6a4.

Solidity: function prefix(uint8 prefixComponent, uint8 suffixComponent) view returns(string)

func (*ComponentsCaller) Rings

func (_Components *ComponentsCaller) Rings(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Rings is a free data retrieval call binding the contract method 0xfb29885d.

Solidity: function rings(uint256 ) view returns(string)

func (*ComponentsCaller) Seed

func (_Components *ComponentsCaller) Seed(opts *bind.CallOpts, tokenId *big.Int, componentType uint8) (*big.Int, *big.Int, error)

Seed is a free data retrieval call binding the contract method 0x69a59674.

Solidity: function seed(uint256 tokenId, uint8 componentType) view returns(uint256, uint256)

func (*ComponentsCaller) Suffix

func (_Components *ComponentsCaller) Suffix(opts *bind.CallOpts, suffixComponent uint8) (string, error)

Suffix is a free data retrieval call binding the contract method 0x21eee8f4.

Solidity: function suffix(uint8 suffixComponent) view returns(string)

func (*ComponentsCaller) Suffixes

func (_Components *ComponentsCaller) Suffixes(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Suffixes is a free data retrieval call binding the contract method 0xb6c75784.

Solidity: function suffixes(uint256 ) view returns(string)

func (*ComponentsCaller) Title

func (_Components *ComponentsCaller) Title(opts *bind.CallOpts, hustlerId *big.Int) (string, error)

Title is a free data retrieval call binding the contract method 0x35a1223a.

Solidity: function title(uint256 hustlerId) view returns(string)

func (*ComponentsCaller) Vehicle

func (_Components *ComponentsCaller) Vehicle(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Vehicle is a free data retrieval call binding the contract method 0xa39ab40e.

Solidity: function vehicle(uint256 ) view returns(string)

func (*ComponentsCaller) WaistArmor

func (_Components *ComponentsCaller) WaistArmor(opts *bind.CallOpts, arg0 *big.Int) (string, error)

WaistArmor is a free data retrieval call binding the contract method 0xec974202.

Solidity: function waistArmor(uint256 ) view returns(string)

func (*ComponentsCaller) Weapons

func (_Components *ComponentsCaller) Weapons(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Weapons is a free data retrieval call binding the contract method 0x555e73c8.

Solidity: function weapons(uint256 ) view returns(string)

type ComponentsCallerRaw

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

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

func (*ComponentsCallerRaw) Call

func (_Components *ComponentsCallerRaw) 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 ComponentsCallerSession

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

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

func (*ComponentsCallerSession) Accessories

func (_Components *ComponentsCallerSession) Accessories(arg0 *big.Int) (string, error)

Accessories is a free data retrieval call binding the contract method 0x7ca94210.

Solidity: function accessories(uint256 ) view returns(string)

func (*ComponentsCallerSession) Attributes

func (_Components *ComponentsCallerSession) Attributes(components [5]uint8, componentType uint8) (string, error)

Attributes is a free data retrieval call binding the contract method 0x1618bae9.

Solidity: function attributes(uint8[5] components, uint8 componentType) view returns(string)

func (*ComponentsCallerSession) Clothes

func (_Components *ComponentsCallerSession) Clothes(arg0 *big.Int) (string, error)

Clothes is a free data retrieval call binding the contract method 0xe1bf8c51.

Solidity: function clothes(uint256 ) view returns(string)

func (*ComponentsCallerSession) Drugs

func (_Components *ComponentsCallerSession) Drugs(arg0 *big.Int) (string, error)

Drugs is a free data retrieval call binding the contract method 0xfca5e61e.

Solidity: function drugs(uint256 ) view returns(string)

func (*ComponentsCallerSession) FootArmor

func (_Components *ComponentsCallerSession) FootArmor(arg0 *big.Int) (string, error)

FootArmor is a free data retrieval call binding the contract method 0x6435bece.

Solidity: function footArmor(uint256 ) view returns(string)

func (*ComponentsCallerSession) HandArmor

func (_Components *ComponentsCallerSession) HandArmor(arg0 *big.Int) (string, error)

HandArmor is a free data retrieval call binding the contract method 0x4103d17a.

Solidity: function handArmor(uint256 ) view returns(string)

func (*ComponentsCallerSession) Items

func (_Components *ComponentsCallerSession) Items(tokenId *big.Int) ([9][5]uint8, error)

Items is a free data retrieval call binding the contract method 0xbfb231d2.

Solidity: function items(uint256 tokenId) view returns(uint8[5][9] items_)

func (*ComponentsCallerSession) Name

func (_Components *ComponentsCallerSession) Name(componentType uint8, idx *big.Int) (string, error)

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

Solidity: function name(uint8 componentType, uint256 idx) view returns(string)

func (*ComponentsCallerSession) NamePrefixes

func (_Components *ComponentsCallerSession) NamePrefixes(arg0 *big.Int) (string, error)

NamePrefixes is a free data retrieval call binding the contract method 0xe7933eef.

Solidity: function namePrefixes(uint256 ) view returns(string)

func (*ComponentsCallerSession) NameSuffixes

func (_Components *ComponentsCallerSession) NameSuffixes(arg0 *big.Int) (string, error)

NameSuffixes is a free data retrieval call binding the contract method 0xf946e3bc.

Solidity: function nameSuffixes(uint256 ) view returns(string)

func (*ComponentsCallerSession) Necklaces

func (_Components *ComponentsCallerSession) Necklaces(arg0 *big.Int) (string, error)

Necklaces is a free data retrieval call binding the contract method 0x08008f35.

Solidity: function necklaces(uint256 ) view returns(string)

func (*ComponentsCallerSession) Owner

func (_Components *ComponentsCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ComponentsCallerSession) Prefix

func (_Components *ComponentsCallerSession) Prefix(prefixComponent uint8, suffixComponent uint8) (string, error)

Prefix is a free data retrieval call binding the contract method 0xb12fa6a4.

Solidity: function prefix(uint8 prefixComponent, uint8 suffixComponent) view returns(string)

func (*ComponentsCallerSession) Rings

func (_Components *ComponentsCallerSession) Rings(arg0 *big.Int) (string, error)

Rings is a free data retrieval call binding the contract method 0xfb29885d.

Solidity: function rings(uint256 ) view returns(string)

func (*ComponentsCallerSession) Seed

func (_Components *ComponentsCallerSession) Seed(tokenId *big.Int, componentType uint8) (*big.Int, *big.Int, error)

Seed is a free data retrieval call binding the contract method 0x69a59674.

Solidity: function seed(uint256 tokenId, uint8 componentType) view returns(uint256, uint256)

func (*ComponentsCallerSession) Suffix

func (_Components *ComponentsCallerSession) Suffix(suffixComponent uint8) (string, error)

Suffix is a free data retrieval call binding the contract method 0x21eee8f4.

Solidity: function suffix(uint8 suffixComponent) view returns(string)

func (*ComponentsCallerSession) Suffixes

func (_Components *ComponentsCallerSession) Suffixes(arg0 *big.Int) (string, error)

Suffixes is a free data retrieval call binding the contract method 0xb6c75784.

Solidity: function suffixes(uint256 ) view returns(string)

func (*ComponentsCallerSession) Title

func (_Components *ComponentsCallerSession) Title(hustlerId *big.Int) (string, error)

Title is a free data retrieval call binding the contract method 0x35a1223a.

Solidity: function title(uint256 hustlerId) view returns(string)

func (*ComponentsCallerSession) Vehicle

func (_Components *ComponentsCallerSession) Vehicle(arg0 *big.Int) (string, error)

Vehicle is a free data retrieval call binding the contract method 0xa39ab40e.

Solidity: function vehicle(uint256 ) view returns(string)

func (*ComponentsCallerSession) WaistArmor

func (_Components *ComponentsCallerSession) WaistArmor(arg0 *big.Int) (string, error)

WaistArmor is a free data retrieval call binding the contract method 0xec974202.

Solidity: function waistArmor(uint256 ) view returns(string)

func (*ComponentsCallerSession) Weapons

func (_Components *ComponentsCallerSession) Weapons(arg0 *big.Int) (string, error)

Weapons is a free data retrieval call binding the contract method 0x555e73c8.

Solidity: function weapons(uint256 ) view returns(string)

type ComponentsFilterer

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

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

func NewComponentsFilterer

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

NewComponentsFilterer creates a new log filterer instance of Components, bound to a specific deployed contract.

func (*ComponentsFilterer) FilterAddComponent

func (_Components *ComponentsFilterer) FilterAddComponent(opts *bind.FilterOpts) (*ComponentsAddComponentIterator, error)

FilterAddComponent is a free log retrieval operation binding the contract event 0x2e217f1a97d5142937e18c125ce27e116d99307d0459daf9adcb8dfb896147de.

Solidity: event AddComponent(uint256 id, uint256 componentType, string component)

func (*ComponentsFilterer) FilterOwnershipTransferred

func (_Components *ComponentsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ComponentsOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ComponentsFilterer) ParseAddComponent

func (_Components *ComponentsFilterer) ParseAddComponent(log types.Log) (*ComponentsAddComponent, error)

ParseAddComponent is a log parse operation binding the contract event 0x2e217f1a97d5142937e18c125ce27e116d99307d0459daf9adcb8dfb896147de.

Solidity: event AddComponent(uint256 id, uint256 componentType, string component)

func (*ComponentsFilterer) ParseOwnershipTransferred

func (_Components *ComponentsFilterer) ParseOwnershipTransferred(log types.Log) (*ComponentsOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ComponentsFilterer) WatchAddComponent

func (_Components *ComponentsFilterer) WatchAddComponent(opts *bind.WatchOpts, sink chan<- *ComponentsAddComponent) (event.Subscription, error)

WatchAddComponent is a free log subscription operation binding the contract event 0x2e217f1a97d5142937e18c125ce27e116d99307d0459daf9adcb8dfb896147de.

Solidity: event AddComponent(uint256 id, uint256 componentType, string component)

func (*ComponentsFilterer) WatchOwnershipTransferred

func (_Components *ComponentsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ComponentsOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type ComponentsOwnershipTransferred

type ComponentsOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ComponentsOwnershipTransferred represents a OwnershipTransferred event raised by the Components contract.

type ComponentsOwnershipTransferredIterator

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

ComponentsOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Components contract.

func (*ComponentsOwnershipTransferredIterator) Close

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

func (*ComponentsOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ComponentsOwnershipTransferredIterator) 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 ComponentsProcessor

type ComponentsProcessor interface {
	Setup(address common.Address, eth interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}) error
	Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

	ProcessAddComponent(ctx context.Context, e ComponentsAddComponent) (func(tx *ent.Tx) error, error)

	ProcessOwnershipTransferred(ctx context.Context, e ComponentsOwnershipTransferred) (func(tx *ent.Tx) error, error)
	// contains filtered or unexported methods
}

type ComponentsRaw

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

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

func (*ComponentsRaw) Call

func (_Components *ComponentsRaw) 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 (*ComponentsRaw) Transact

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

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

func (*ComponentsRaw) Transfer

func (_Components *ComponentsRaw) 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 ComponentsSession

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

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

func (*ComponentsSession) Accessories

func (_Components *ComponentsSession) Accessories(arg0 *big.Int) (string, error)

Accessories is a free data retrieval call binding the contract method 0x7ca94210.

Solidity: function accessories(uint256 ) view returns(string)

func (*ComponentsSession) AddComponent

func (_Components *ComponentsSession) AddComponent(componentType uint8, component string) (*types.Transaction, error)

AddComponent is a paid mutator transaction binding the contract method 0x1af82eea.

Solidity: function addComponent(uint8 componentType, string component) returns(uint8)

func (*ComponentsSession) Attributes

func (_Components *ComponentsSession) Attributes(components [5]uint8, componentType uint8) (string, error)

Attributes is a free data retrieval call binding the contract method 0x1618bae9.

Solidity: function attributes(uint8[5] components, uint8 componentType) view returns(string)

func (*ComponentsSession) Clothes

func (_Components *ComponentsSession) Clothes(arg0 *big.Int) (string, error)

Clothes is a free data retrieval call binding the contract method 0xe1bf8c51.

Solidity: function clothes(uint256 ) view returns(string)

func (*ComponentsSession) Drugs

func (_Components *ComponentsSession) Drugs(arg0 *big.Int) (string, error)

Drugs is a free data retrieval call binding the contract method 0xfca5e61e.

Solidity: function drugs(uint256 ) view returns(string)

func (*ComponentsSession) FootArmor

func (_Components *ComponentsSession) FootArmor(arg0 *big.Int) (string, error)

FootArmor is a free data retrieval call binding the contract method 0x6435bece.

Solidity: function footArmor(uint256 ) view returns(string)

func (*ComponentsSession) HandArmor

func (_Components *ComponentsSession) HandArmor(arg0 *big.Int) (string, error)

HandArmor is a free data retrieval call binding the contract method 0x4103d17a.

Solidity: function handArmor(uint256 ) view returns(string)

func (*ComponentsSession) Items

func (_Components *ComponentsSession) Items(tokenId *big.Int) ([9][5]uint8, error)

Items is a free data retrieval call binding the contract method 0xbfb231d2.

Solidity: function items(uint256 tokenId) view returns(uint8[5][9] items_)

func (*ComponentsSession) Name

func (_Components *ComponentsSession) Name(componentType uint8, idx *big.Int) (string, error)

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

Solidity: function name(uint8 componentType, uint256 idx) view returns(string)

func (*ComponentsSession) NamePrefixes

func (_Components *ComponentsSession) NamePrefixes(arg0 *big.Int) (string, error)

NamePrefixes is a free data retrieval call binding the contract method 0xe7933eef.

Solidity: function namePrefixes(uint256 ) view returns(string)

func (*ComponentsSession) NameSuffixes

func (_Components *ComponentsSession) NameSuffixes(arg0 *big.Int) (string, error)

NameSuffixes is a free data retrieval call binding the contract method 0xf946e3bc.

Solidity: function nameSuffixes(uint256 ) view returns(string)

func (*ComponentsSession) Necklaces

func (_Components *ComponentsSession) Necklaces(arg0 *big.Int) (string, error)

Necklaces is a free data retrieval call binding the contract method 0x08008f35.

Solidity: function necklaces(uint256 ) view returns(string)

func (*ComponentsSession) Owner

func (_Components *ComponentsSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ComponentsSession) Prefix

func (_Components *ComponentsSession) Prefix(prefixComponent uint8, suffixComponent uint8) (string, error)

Prefix is a free data retrieval call binding the contract method 0xb12fa6a4.

Solidity: function prefix(uint8 prefixComponent, uint8 suffixComponent) view returns(string)

func (*ComponentsSession) RenounceOwnership

func (_Components *ComponentsSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ComponentsSession) Rings

func (_Components *ComponentsSession) Rings(arg0 *big.Int) (string, error)

Rings is a free data retrieval call binding the contract method 0xfb29885d.

Solidity: function rings(uint256 ) view returns(string)

func (*ComponentsSession) Seed

func (_Components *ComponentsSession) Seed(tokenId *big.Int, componentType uint8) (*big.Int, *big.Int, error)

Seed is a free data retrieval call binding the contract method 0x69a59674.

Solidity: function seed(uint256 tokenId, uint8 componentType) view returns(uint256, uint256)

func (*ComponentsSession) Suffix

func (_Components *ComponentsSession) Suffix(suffixComponent uint8) (string, error)

Suffix is a free data retrieval call binding the contract method 0x21eee8f4.

Solidity: function suffix(uint8 suffixComponent) view returns(string)

func (*ComponentsSession) Suffixes

func (_Components *ComponentsSession) Suffixes(arg0 *big.Int) (string, error)

Suffixes is a free data retrieval call binding the contract method 0xb6c75784.

Solidity: function suffixes(uint256 ) view returns(string)

func (*ComponentsSession) Title

func (_Components *ComponentsSession) Title(hustlerId *big.Int) (string, error)

Title is a free data retrieval call binding the contract method 0x35a1223a.

Solidity: function title(uint256 hustlerId) view returns(string)

func (*ComponentsSession) TransferOwnership

func (_Components *ComponentsSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ComponentsSession) Vehicle

func (_Components *ComponentsSession) Vehicle(arg0 *big.Int) (string, error)

Vehicle is a free data retrieval call binding the contract method 0xa39ab40e.

Solidity: function vehicle(uint256 ) view returns(string)

func (*ComponentsSession) WaistArmor

func (_Components *ComponentsSession) WaistArmor(arg0 *big.Int) (string, error)

WaistArmor is a free data retrieval call binding the contract method 0xec974202.

Solidity: function waistArmor(uint256 ) view returns(string)

func (*ComponentsSession) Weapons

func (_Components *ComponentsSession) Weapons(arg0 *big.Int) (string, error)

Weapons is a free data retrieval call binding the contract method 0x555e73c8.

Solidity: function weapons(uint256 ) view returns(string)

type ComponentsTransactor

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

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

func NewComponentsTransactor

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

NewComponentsTransactor creates a new write-only instance of Components, bound to a specific deployed contract.

func (*ComponentsTransactor) AddComponent

func (_Components *ComponentsTransactor) AddComponent(opts *bind.TransactOpts, componentType uint8, component string) (*types.Transaction, error)

AddComponent is a paid mutator transaction binding the contract method 0x1af82eea.

Solidity: function addComponent(uint8 componentType, string component) returns(uint8)

func (*ComponentsTransactor) RenounceOwnership

func (_Components *ComponentsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ComponentsTransactor) TransferOwnership

func (_Components *ComponentsTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ComponentsTransactorRaw

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

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

func (*ComponentsTransactorRaw) Transact

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

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

func (*ComponentsTransactorRaw) Transfer

func (_Components *ComponentsTransactorRaw) 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 ComponentsTransactorSession

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

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

func (*ComponentsTransactorSession) AddComponent

func (_Components *ComponentsTransactorSession) AddComponent(componentType uint8, component string) (*types.Transaction, error)

AddComponent is a paid mutator transaction binding the contract method 0x1af82eea.

Solidity: function addComponent(uint8 componentType, string component) returns(uint8)

func (*ComponentsTransactorSession) RenounceOwnership

func (_Components *ComponentsTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ComponentsTransactorSession) TransferOwnership

func (_Components *ComponentsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type Dope

type Dope struct {
	DopeCaller     // Read-only binding to the contract
	DopeTransactor // Write-only binding to the contract
	DopeFilterer   // Log filterer for contract events
}

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

func NewDope

func NewDope(address common.Address, backend bind.ContractBackend) (*Dope, error)

NewDope creates a new instance of Dope, bound to a specific deployed contract.

type DopeApproval

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

DopeApproval represents a Approval event raised by the Dope contract.

type DopeApprovalForAll

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

DopeApprovalForAll represents a ApprovalForAll event raised by the Dope contract.

type DopeApprovalForAllIterator

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

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

func (*DopeApprovalForAllIterator) Close

func (it *DopeApprovalForAllIterator) Close() error

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

func (*DopeApprovalForAllIterator) Error

func (it *DopeApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DopeApprovalForAllIterator) Next

func (it *DopeApprovalForAllIterator) 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 DopeApprovalIterator

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

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

func (*DopeApprovalIterator) Close

func (it *DopeApprovalIterator) Close() error

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

func (*DopeApprovalIterator) Error

func (it *DopeApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DopeApprovalIterator) Next

func (it *DopeApprovalIterator) 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 DopeCaller

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

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

func NewDopeCaller

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

NewDopeCaller creates a new read-only instance of Dope, bound to a specific deployed contract.

func (*DopeCaller) BalanceOf

func (_Dope *DopeCaller) 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 (*DopeCaller) Checkpoints

func (_Dope *DopeCaller) Checkpoints(opts *bind.CallOpts, arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint96 votes)

func (*DopeCaller) DELEGATIONTYPEHASH

func (_Dope *DopeCaller) DELEGATIONTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*DopeCaller) DOMAINTYPEHASH

func (_Dope *DopeCaller) DOMAINTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*DopeCaller) Decimals

func (_Dope *DopeCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*DopeCaller) Delegates

func (_Dope *DopeCaller) Delegates(opts *bind.CallOpts, delegator common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address delegator) view returns(address)

func (*DopeCaller) GetApproved

func (_Dope *DopeCaller) 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 (*DopeCaller) GetClothes

func (_Dope *DopeCaller) GetClothes(opts *bind.CallOpts, tokenId *big.Int) (string, error)

GetClothes is a free data retrieval call binding the contract method 0x2d02f8c1.

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

func (*DopeCaller) GetCurrentVotes

func (_Dope *DopeCaller) GetCurrentVotes(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint96)

func (*DopeCaller) GetDrugs

func (_Dope *DopeCaller) GetDrugs(opts *bind.CallOpts, tokenId *big.Int) (string, error)

GetDrugs is a free data retrieval call binding the contract method 0x339955e1.

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

func (*DopeCaller) GetFoot

func (_Dope *DopeCaller) GetFoot(opts *bind.CallOpts, tokenId *big.Int) (string, error)

GetFoot is a free data retrieval call binding the contract method 0x0e99990d.

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

func (*DopeCaller) GetHand

func (_Dope *DopeCaller) GetHand(opts *bind.CallOpts, tokenId *big.Int) (string, error)

GetHand is a free data retrieval call binding the contract method 0xd47f269e.

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

func (*DopeCaller) GetNeck

func (_Dope *DopeCaller) GetNeck(opts *bind.CallOpts, tokenId *big.Int) (string, error)

GetNeck is a free data retrieval call binding the contract method 0x67209aa8.

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

func (*DopeCaller) GetPriorVotes

func (_Dope *DopeCaller) GetPriorVotes(opts *bind.CallOpts, account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint96)

func (*DopeCaller) GetRing

func (_Dope *DopeCaller) GetRing(opts *bind.CallOpts, tokenId *big.Int) (string, error)

GetRing is a free data retrieval call binding the contract method 0xc08a5dd5.

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

func (*DopeCaller) GetVehicle

func (_Dope *DopeCaller) GetVehicle(opts *bind.CallOpts, tokenId *big.Int) (string, error)

GetVehicle is a free data retrieval call binding the contract method 0xdf7ebb7b.

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

func (*DopeCaller) GetWaist

func (_Dope *DopeCaller) GetWaist(opts *bind.CallOpts, tokenId *big.Int) (string, error)

GetWaist is a free data retrieval call binding the contract method 0x9bdc1b69.

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

func (*DopeCaller) GetWeapon

func (_Dope *DopeCaller) GetWeapon(opts *bind.CallOpts, tokenId *big.Int) (string, error)

GetWeapon is a free data retrieval call binding the contract method 0x9e41b73f.

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

func (*DopeCaller) IsApprovedForAll

func (_Dope *DopeCaller) 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 (*DopeCaller) Name

func (_Dope *DopeCaller) 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 (*DopeCaller) Nonces

func (_Dope *DopeCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*DopeCaller) NumCheckpoints

func (_Dope *DopeCaller) NumCheckpoints(opts *bind.CallOpts, arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*DopeCaller) Owner

func (_Dope *DopeCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*DopeCaller) OwnerOf

func (_Dope *DopeCaller) 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 (*DopeCaller) SupportsInterface

func (_Dope *DopeCaller) 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 (*DopeCaller) Symbol

func (_Dope *DopeCaller) 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 (*DopeCaller) TokenByIndex

func (_Dope *DopeCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*DopeCaller) TokenOfOwnerByIndex

func (_Dope *DopeCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*DopeCaller) TokenURI

func (_Dope *DopeCaller) 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 (*DopeCaller) TotalSupply

func (_Dope *DopeCaller) 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 (*DopeCaller) VotesToDelegate

func (_Dope *DopeCaller) VotesToDelegate(opts *bind.CallOpts, delegator common.Address) (*big.Int, error)

VotesToDelegate is a free data retrieval call binding the contract method 0xe9580e91.

Solidity: function votesToDelegate(address delegator) view returns(uint96)

type DopeCallerRaw

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

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

func (*DopeCallerRaw) Call

func (_Dope *DopeCallerRaw) 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 DopeCallerSession

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

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

func (*DopeCallerSession) BalanceOf

func (_Dope *DopeCallerSession) 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 (*DopeCallerSession) Checkpoints

func (_Dope *DopeCallerSession) Checkpoints(arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint96 votes)

func (*DopeCallerSession) DELEGATIONTYPEHASH

func (_Dope *DopeCallerSession) DELEGATIONTYPEHASH() ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*DopeCallerSession) DOMAINTYPEHASH

func (_Dope *DopeCallerSession) DOMAINTYPEHASH() ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*DopeCallerSession) Decimals

func (_Dope *DopeCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*DopeCallerSession) Delegates

func (_Dope *DopeCallerSession) Delegates(delegator common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address delegator) view returns(address)

func (*DopeCallerSession) GetApproved

func (_Dope *DopeCallerSession) 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 (*DopeCallerSession) GetClothes

func (_Dope *DopeCallerSession) GetClothes(tokenId *big.Int) (string, error)

GetClothes is a free data retrieval call binding the contract method 0x2d02f8c1.

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

func (*DopeCallerSession) GetCurrentVotes

func (_Dope *DopeCallerSession) GetCurrentVotes(account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint96)

func (*DopeCallerSession) GetDrugs

func (_Dope *DopeCallerSession) GetDrugs(tokenId *big.Int) (string, error)

GetDrugs is a free data retrieval call binding the contract method 0x339955e1.

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

func (*DopeCallerSession) GetFoot

func (_Dope *DopeCallerSession) GetFoot(tokenId *big.Int) (string, error)

GetFoot is a free data retrieval call binding the contract method 0x0e99990d.

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

func (*DopeCallerSession) GetHand

func (_Dope *DopeCallerSession) GetHand(tokenId *big.Int) (string, error)

GetHand is a free data retrieval call binding the contract method 0xd47f269e.

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

func (*DopeCallerSession) GetNeck

func (_Dope *DopeCallerSession) GetNeck(tokenId *big.Int) (string, error)

GetNeck is a free data retrieval call binding the contract method 0x67209aa8.

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

func (*DopeCallerSession) GetPriorVotes

func (_Dope *DopeCallerSession) GetPriorVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint96)

func (*DopeCallerSession) GetRing

func (_Dope *DopeCallerSession) GetRing(tokenId *big.Int) (string, error)

GetRing is a free data retrieval call binding the contract method 0xc08a5dd5.

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

func (*DopeCallerSession) GetVehicle

func (_Dope *DopeCallerSession) GetVehicle(tokenId *big.Int) (string, error)

GetVehicle is a free data retrieval call binding the contract method 0xdf7ebb7b.

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

func (*DopeCallerSession) GetWaist

func (_Dope *DopeCallerSession) GetWaist(tokenId *big.Int) (string, error)

GetWaist is a free data retrieval call binding the contract method 0x9bdc1b69.

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

func (*DopeCallerSession) GetWeapon

func (_Dope *DopeCallerSession) GetWeapon(tokenId *big.Int) (string, error)

GetWeapon is a free data retrieval call binding the contract method 0x9e41b73f.

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

func (*DopeCallerSession) IsApprovedForAll

func (_Dope *DopeCallerSession) 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 (*DopeCallerSession) Name

func (_Dope *DopeCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*DopeCallerSession) Nonces

func (_Dope *DopeCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*DopeCallerSession) NumCheckpoints

func (_Dope *DopeCallerSession) NumCheckpoints(arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*DopeCallerSession) Owner

func (_Dope *DopeCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*DopeCallerSession) OwnerOf

func (_Dope *DopeCallerSession) 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 (*DopeCallerSession) SupportsInterface

func (_Dope *DopeCallerSession) 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 (*DopeCallerSession) Symbol

func (_Dope *DopeCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*DopeCallerSession) TokenByIndex

func (_Dope *DopeCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*DopeCallerSession) TokenOfOwnerByIndex

func (_Dope *DopeCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*DopeCallerSession) TokenURI

func (_Dope *DopeCallerSession) 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 (*DopeCallerSession) TotalSupply

func (_Dope *DopeCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*DopeCallerSession) VotesToDelegate

func (_Dope *DopeCallerSession) VotesToDelegate(delegator common.Address) (*big.Int, error)

VotesToDelegate is a free data retrieval call binding the contract method 0xe9580e91.

Solidity: function votesToDelegate(address delegator) view returns(uint96)

type DopeDelegateChanged

type DopeDelegateChanged struct {
	Delegator    common.Address
	FromDelegate common.Address
	ToDelegate   common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

DopeDelegateChanged represents a DelegateChanged event raised by the Dope contract.

type DopeDelegateChangedIterator

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

DopeDelegateChangedIterator is returned from FilterDelegateChanged and is used to iterate over the raw logs and unpacked data for DelegateChanged events raised by the Dope contract.

func (*DopeDelegateChangedIterator) Close

func (it *DopeDelegateChangedIterator) Close() error

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

func (*DopeDelegateChangedIterator) Error

func (it *DopeDelegateChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DopeDelegateChangedIterator) Next

func (it *DopeDelegateChangedIterator) 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 DopeDelegateVotesChanged

type DopeDelegateVotesChanged struct {
	Delegate        common.Address
	PreviousBalance *big.Int
	NewBalance      *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

DopeDelegateVotesChanged represents a DelegateVotesChanged event raised by the Dope contract.

type DopeDelegateVotesChangedIterator

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

DopeDelegateVotesChangedIterator is returned from FilterDelegateVotesChanged and is used to iterate over the raw logs and unpacked data for DelegateVotesChanged events raised by the Dope contract.

func (*DopeDelegateVotesChangedIterator) Close

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

func (*DopeDelegateVotesChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DopeDelegateVotesChangedIterator) 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 DopeFilterer

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

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

func NewDopeFilterer

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

NewDopeFilterer creates a new log filterer instance of Dope, bound to a specific deployed contract.

func (*DopeFilterer) FilterApproval

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

func (_Dope *DopeFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*DopeApprovalForAllIterator, 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 (*DopeFilterer) FilterDelegateChanged

func (_Dope *DopeFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*DopeDelegateChangedIterator, error)

FilterDelegateChanged is a free log retrieval operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*DopeFilterer) FilterDelegateVotesChanged

func (_Dope *DopeFilterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*DopeDelegateVotesChangedIterator, error)

FilterDelegateVotesChanged is a free log retrieval operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*DopeFilterer) FilterOwnershipTransferred

func (_Dope *DopeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DopeOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DopeFilterer) FilterTransfer

func (_Dope *DopeFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*DopeTransferIterator, 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 (*DopeFilterer) ParseApproval

func (_Dope *DopeFilterer) ParseApproval(log types.Log) (*DopeApproval, 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 (*DopeFilterer) ParseApprovalForAll

func (_Dope *DopeFilterer) ParseApprovalForAll(log types.Log) (*DopeApprovalForAll, error)

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

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

func (*DopeFilterer) ParseDelegateChanged

func (_Dope *DopeFilterer) ParseDelegateChanged(log types.Log) (*DopeDelegateChanged, error)

ParseDelegateChanged is a log parse operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*DopeFilterer) ParseDelegateVotesChanged

func (_Dope *DopeFilterer) ParseDelegateVotesChanged(log types.Log) (*DopeDelegateVotesChanged, error)

ParseDelegateVotesChanged is a log parse operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*DopeFilterer) ParseOwnershipTransferred

func (_Dope *DopeFilterer) ParseOwnershipTransferred(log types.Log) (*DopeOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DopeFilterer) ParseTransfer

func (_Dope *DopeFilterer) ParseTransfer(log types.Log) (*DopeTransfer, 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 (*DopeFilterer) WatchApproval

func (_Dope *DopeFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *DopeApproval, 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 (*DopeFilterer) WatchApprovalForAll

func (_Dope *DopeFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *DopeApprovalForAll, 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 (*DopeFilterer) WatchDelegateChanged

func (_Dope *DopeFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *DopeDelegateChanged, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (event.Subscription, error)

WatchDelegateChanged is a free log subscription operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*DopeFilterer) WatchDelegateVotesChanged

func (_Dope *DopeFilterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *DopeDelegateVotesChanged, delegate []common.Address) (event.Subscription, error)

WatchDelegateVotesChanged is a free log subscription operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*DopeFilterer) WatchOwnershipTransferred

func (_Dope *DopeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DopeOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DopeFilterer) WatchTransfer

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

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

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

type DopeOwnershipTransferred

type DopeOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

DopeOwnershipTransferred represents a OwnershipTransferred event raised by the Dope contract.

type DopeOwnershipTransferredIterator

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

DopeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Dope contract.

func (*DopeOwnershipTransferredIterator) Close

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

func (*DopeOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DopeOwnershipTransferredIterator) 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 DopeProcessor

type DopeProcessor interface {
	Setup(address common.Address, eth interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}) error
	Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

	ProcessApproval(ctx context.Context, e DopeApproval) (func(tx *ent.Tx) error, error)

	ProcessApprovalForAll(ctx context.Context, e DopeApprovalForAll) (func(tx *ent.Tx) error, error)

	ProcessDelegateChanged(ctx context.Context, e DopeDelegateChanged) (func(tx *ent.Tx) error, error)

	ProcessDelegateVotesChanged(ctx context.Context, e DopeDelegateVotesChanged) (func(tx *ent.Tx) error, error)

	ProcessOwnershipTransferred(ctx context.Context, e DopeOwnershipTransferred) (func(tx *ent.Tx) error, error)

	ProcessTransfer(ctx context.Context, e DopeTransfer) (func(tx *ent.Tx) error, error)
	// contains filtered or unexported methods
}

type DopeRaw

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

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

func (*DopeRaw) Call

func (_Dope *DopeRaw) 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 (*DopeRaw) Transact

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

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

func (*DopeRaw) Transfer

func (_Dope *DopeRaw) 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 DopeSession

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

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

func (*DopeSession) Approve

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

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

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

func (*DopeSession) BalanceOf

func (_Dope *DopeSession) 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 (*DopeSession) Checkpoints

func (_Dope *DopeSession) Checkpoints(arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint96 votes)

func (*DopeSession) Claim

func (_Dope *DopeSession) Claim(tokenId *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 tokenId) returns()

func (*DopeSession) DELEGATIONTYPEHASH

func (_Dope *DopeSession) DELEGATIONTYPEHASH() ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*DopeSession) DOMAINTYPEHASH

func (_Dope *DopeSession) DOMAINTYPEHASH() ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*DopeSession) Decimals

func (_Dope *DopeSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*DopeSession) Delegate

func (_Dope *DopeSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*DopeSession) DelegateBySig

func (_Dope *DopeSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*DopeSession) Delegates

func (_Dope *DopeSession) Delegates(delegator common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address delegator) view returns(address)

func (*DopeSession) GetApproved

func (_Dope *DopeSession) 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 (*DopeSession) GetClothes

func (_Dope *DopeSession) GetClothes(tokenId *big.Int) (string, error)

GetClothes is a free data retrieval call binding the contract method 0x2d02f8c1.

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

func (*DopeSession) GetCurrentVotes

func (_Dope *DopeSession) GetCurrentVotes(account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint96)

func (*DopeSession) GetDrugs

func (_Dope *DopeSession) GetDrugs(tokenId *big.Int) (string, error)

GetDrugs is a free data retrieval call binding the contract method 0x339955e1.

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

func (*DopeSession) GetFoot

func (_Dope *DopeSession) GetFoot(tokenId *big.Int) (string, error)

GetFoot is a free data retrieval call binding the contract method 0x0e99990d.

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

func (*DopeSession) GetHand

func (_Dope *DopeSession) GetHand(tokenId *big.Int) (string, error)

GetHand is a free data retrieval call binding the contract method 0xd47f269e.

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

func (*DopeSession) GetNeck

func (_Dope *DopeSession) GetNeck(tokenId *big.Int) (string, error)

GetNeck is a free data retrieval call binding the contract method 0x67209aa8.

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

func (*DopeSession) GetPriorVotes

func (_Dope *DopeSession) GetPriorVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint96)

func (*DopeSession) GetRing

func (_Dope *DopeSession) GetRing(tokenId *big.Int) (string, error)

GetRing is a free data retrieval call binding the contract method 0xc08a5dd5.

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

func (*DopeSession) GetVehicle

func (_Dope *DopeSession) GetVehicle(tokenId *big.Int) (string, error)

GetVehicle is a free data retrieval call binding the contract method 0xdf7ebb7b.

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

func (*DopeSession) GetWaist

func (_Dope *DopeSession) GetWaist(tokenId *big.Int) (string, error)

GetWaist is a free data retrieval call binding the contract method 0x9bdc1b69.

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

func (*DopeSession) GetWeapon

func (_Dope *DopeSession) GetWeapon(tokenId *big.Int) (string, error)

GetWeapon is a free data retrieval call binding the contract method 0x9e41b73f.

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

func (*DopeSession) IsApprovedForAll

func (_Dope *DopeSession) 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 (*DopeSession) Name

func (_Dope *DopeSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*DopeSession) Nonces

func (_Dope *DopeSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*DopeSession) NumCheckpoints

func (_Dope *DopeSession) NumCheckpoints(arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*DopeSession) Owner

func (_Dope *DopeSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*DopeSession) OwnerOf

func (_Dope *DopeSession) 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 (*DopeSession) RenounceOwnership

func (_Dope *DopeSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DopeSession) SafeTransferFrom

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

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

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

func (*DopeSession) SafeTransferFrom0

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

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

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

func (*DopeSession) SetApprovalForAll

func (_Dope *DopeSession) 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 (*DopeSession) SupportsInterface

func (_Dope *DopeSession) 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 (*DopeSession) Symbol

func (_Dope *DopeSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*DopeSession) TokenByIndex

func (_Dope *DopeSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*DopeSession) TokenOfOwnerByIndex

func (_Dope *DopeSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*DopeSession) TokenURI

func (_Dope *DopeSession) 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 (*DopeSession) TotalSupply

func (_Dope *DopeSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*DopeSession) TransferFrom

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

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

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

func (*DopeSession) TransferOwnership

func (_Dope *DopeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*DopeSession) VotesToDelegate

func (_Dope *DopeSession) VotesToDelegate(delegator common.Address) (*big.Int, error)

VotesToDelegate is a free data retrieval call binding the contract method 0xe9580e91.

Solidity: function votesToDelegate(address delegator) view returns(uint96)

type DopeTransactor

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

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

func NewDopeTransactor

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

NewDopeTransactor creates a new write-only instance of Dope, bound to a specific deployed contract.

func (*DopeTransactor) Approve

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

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

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

func (*DopeTransactor) Claim

func (_Dope *DopeTransactor) Claim(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 tokenId) returns()

func (*DopeTransactor) Delegate

func (_Dope *DopeTransactor) Delegate(opts *bind.TransactOpts, delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*DopeTransactor) DelegateBySig

func (_Dope *DopeTransactor) DelegateBySig(opts *bind.TransactOpts, delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*DopeTransactor) RenounceOwnership

func (_Dope *DopeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DopeTransactor) SafeTransferFrom

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

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

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

func (*DopeTransactor) SafeTransferFrom0

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

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

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

func (*DopeTransactor) SetApprovalForAll

func (_Dope *DopeTransactor) 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 (*DopeTransactor) TransferFrom

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

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

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

func (*DopeTransactor) TransferOwnership

func (_Dope *DopeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type DopeTransactorRaw

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

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

func (*DopeTransactorRaw) Transact

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

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

func (*DopeTransactorRaw) Transfer

func (_Dope *DopeTransactorRaw) 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 DopeTransactorSession

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

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

func (*DopeTransactorSession) Approve

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

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

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

func (*DopeTransactorSession) Claim

func (_Dope *DopeTransactorSession) Claim(tokenId *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 tokenId) returns()

func (*DopeTransactorSession) Delegate

func (_Dope *DopeTransactorSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*DopeTransactorSession) DelegateBySig

func (_Dope *DopeTransactorSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*DopeTransactorSession) RenounceOwnership

func (_Dope *DopeTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DopeTransactorSession) SafeTransferFrom

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

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

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

func (*DopeTransactorSession) SafeTransferFrom0

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

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

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

func (*DopeTransactorSession) SetApprovalForAll

func (_Dope *DopeTransactorSession) 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 (*DopeTransactorSession) TransferFrom

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

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

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

func (*DopeTransactorSession) TransferOwnership

func (_Dope *DopeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type DopeTransfer

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

DopeTransfer represents a Transfer event raised by the Dope contract.

type DopeTransferIterator

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

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

func (*DopeTransferIterator) Close

func (it *DopeTransferIterator) Close() error

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

func (*DopeTransferIterator) Error

func (it *DopeTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DopeTransferIterator) Next

func (it *DopeTransferIterator) 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 ERC20VotesCheckpoint

type ERC20VotesCheckpoint struct {
	FromBlock uint32
	Votes     *big.Int
}

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

type Hustler

type Hustler struct {
	HustlerCaller     // Read-only binding to the contract
	HustlerTransactor // Write-only binding to the contract
	HustlerFilterer   // Log filterer for contract events
}

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

func NewHustler

func NewHustler(address common.Address, backend bind.ContractBackend) (*Hustler, error)

NewHustler creates a new instance of Hustler, bound to a specific deployed contract.

type HustlerAddRles

type HustlerAddRles struct {
	Part uint8
	Len  *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

HustlerAddRles represents a AddRles event raised by the Hustler contract.

type HustlerAddRlesIterator

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

HustlerAddRlesIterator is returned from FilterAddRles and is used to iterate over the raw logs and unpacked data for AddRles events raised by the Hustler contract.

func (*HustlerAddRlesIterator) Close

func (it *HustlerAddRlesIterator) Close() error

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

func (*HustlerAddRlesIterator) Error

func (it *HustlerAddRlesIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HustlerAddRlesIterator) Next

func (it *HustlerAddRlesIterator) 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 HustlerApprovalForAll

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

HustlerApprovalForAll represents a ApprovalForAll event raised by the Hustler contract.

type HustlerApprovalForAllIterator

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

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

func (*HustlerApprovalForAllIterator) Close

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

func (*HustlerApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HustlerApprovalForAllIterator) 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 HustlerCaller

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

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

func NewHustlerCaller

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

NewHustlerCaller creates a new read-only instance of Hustler, bound to a specific deployed contract.

func (*HustlerCaller) Attributes

func (_Hustler *HustlerCaller) Attributes(opts *bind.CallOpts, hustlerId *big.Int) ([][]byte, error)

Attributes is a free data retrieval call binding the contract method 0xd05dcc6a.

Solidity: function attributes(uint256 hustlerId) view returns(bytes[])

func (*HustlerCaller) BalanceOf

func (_Hustler *HustlerCaller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*HustlerCaller) BalanceOfBatch

func (_Hustler *HustlerCaller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*HustlerCaller) BodyRle

func (_Hustler *HustlerCaller) BodyRle(opts *bind.CallOpts, part uint8, idx *big.Int) ([]byte, error)

BodyRle is a free data retrieval call binding the contract method 0x5e89dcf9.

Solidity: function bodyRle(uint8 part, uint256 idx) view returns(bytes)

func (*HustlerCaller) CarParts

func (_Hustler *HustlerCaller) CarParts(opts *bind.CallOpts, hustlerId *big.Int) ([][]byte, error)

CarParts is a free data retrieval call binding the contract method 0x9eabf8c9.

Solidity: function carParts(uint256 hustlerId) view returns(bytes[])

func (*HustlerCaller) ContractURI

func (_Hustler *HustlerCaller) ContractURI(opts *bind.CallOpts) (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() pure returns(string)

func (*HustlerCaller) Enforcer

func (_Hustler *HustlerCaller) Enforcer(opts *bind.CallOpts) (common.Address, error)

Enforcer is a free data retrieval call binding the contract method 0x0d14a0e2.

Solidity: function enforcer() view returns(address)

func (*HustlerCaller) HustlerParts

func (_Hustler *HustlerCaller) HustlerParts(opts *bind.CallOpts, hustlerId *big.Int) ([][]byte, error)

HustlerParts is a free data retrieval call binding the contract method 0xde0b4e51.

Solidity: function hustlerParts(uint256 hustlerId) view returns(bytes[])

func (*HustlerCaller) IsApprovedForAll

func (_Hustler *HustlerCaller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*HustlerCaller) Metadata

func (_Hustler *HustlerCaller) Metadata(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Color      [4]byte
	Background [4]byte
	Mask       [2]byte
	Options    [2]byte
	Age        *big.Int
	Name       string
}, error)

Metadata is a free data retrieval call binding the contract method 0xe3684e39.

Solidity: function metadata(uint256 ) view returns(bytes4 color, bytes4 background, bytes2 mask, bytes2 options, uint256 age, string name)

func (*HustlerCaller) Name

func (_Hustler *HustlerCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() pure returns(string)

func (*HustlerCaller) Owner

func (_Hustler *HustlerCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*HustlerCaller) Render

func (_Hustler *HustlerCaller) Render(opts *bind.CallOpts, title string, subtitle string, resolution uint8, background [4]byte, color [4]byte, viewbox [4]uint8, parts [][]byte) (string, error)

Render is a free data retrieval call binding the contract method 0xfadc2ef4.

Solidity: function render(string title, string subtitle, uint8 resolution, bytes4 background, bytes4 color, uint8[4] viewbox, bytes[] parts) view returns(string)

func (*HustlerCaller) SupportsInterface

func (_Hustler *HustlerCaller) 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 (*HustlerCaller) Symbol

func (_Hustler *HustlerCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() pure returns(string)

func (*HustlerCaller) TokenURI

func (_Hustler *HustlerCaller) TokenURI(opts *bind.CallOpts, hustlerId *big.Int) (string, error)

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

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

func (*HustlerCaller) Uri

func (_Hustler *HustlerCaller) Uri(opts *bind.CallOpts, tokenId *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

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

type HustlerCallerRaw

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

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

func (*HustlerCallerRaw) Call

func (_Hustler *HustlerCallerRaw) 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 HustlerCallerSession

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

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

func (*HustlerCallerSession) Attributes

func (_Hustler *HustlerCallerSession) Attributes(hustlerId *big.Int) ([][]byte, error)

Attributes is a free data retrieval call binding the contract method 0xd05dcc6a.

Solidity: function attributes(uint256 hustlerId) view returns(bytes[])

func (*HustlerCallerSession) BalanceOf

func (_Hustler *HustlerCallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*HustlerCallerSession) BalanceOfBatch

func (_Hustler *HustlerCallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*HustlerCallerSession) BodyRle

func (_Hustler *HustlerCallerSession) BodyRle(part uint8, idx *big.Int) ([]byte, error)

BodyRle is a free data retrieval call binding the contract method 0x5e89dcf9.

Solidity: function bodyRle(uint8 part, uint256 idx) view returns(bytes)

func (*HustlerCallerSession) CarParts

func (_Hustler *HustlerCallerSession) CarParts(hustlerId *big.Int) ([][]byte, error)

CarParts is a free data retrieval call binding the contract method 0x9eabf8c9.

Solidity: function carParts(uint256 hustlerId) view returns(bytes[])

func (*HustlerCallerSession) ContractURI

func (_Hustler *HustlerCallerSession) ContractURI() (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() pure returns(string)

func (*HustlerCallerSession) Enforcer

func (_Hustler *HustlerCallerSession) Enforcer() (common.Address, error)

Enforcer is a free data retrieval call binding the contract method 0x0d14a0e2.

Solidity: function enforcer() view returns(address)

func (*HustlerCallerSession) HustlerParts

func (_Hustler *HustlerCallerSession) HustlerParts(hustlerId *big.Int) ([][]byte, error)

HustlerParts is a free data retrieval call binding the contract method 0xde0b4e51.

Solidity: function hustlerParts(uint256 hustlerId) view returns(bytes[])

func (*HustlerCallerSession) IsApprovedForAll

func (_Hustler *HustlerCallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*HustlerCallerSession) Metadata

func (_Hustler *HustlerCallerSession) Metadata(arg0 *big.Int) (struct {
	Color      [4]byte
	Background [4]byte
	Mask       [2]byte
	Options    [2]byte
	Age        *big.Int
	Name       string
}, error)

Metadata is a free data retrieval call binding the contract method 0xe3684e39.

Solidity: function metadata(uint256 ) view returns(bytes4 color, bytes4 background, bytes2 mask, bytes2 options, uint256 age, string name)

func (*HustlerCallerSession) Name

func (_Hustler *HustlerCallerSession) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*HustlerCallerSession) Owner

func (_Hustler *HustlerCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*HustlerCallerSession) Render

func (_Hustler *HustlerCallerSession) Render(title string, subtitle string, resolution uint8, background [4]byte, color [4]byte, viewbox [4]uint8, parts [][]byte) (string, error)

Render is a free data retrieval call binding the contract method 0xfadc2ef4.

Solidity: function render(string title, string subtitle, uint8 resolution, bytes4 background, bytes4 color, uint8[4] viewbox, bytes[] parts) view returns(string)

func (*HustlerCallerSession) SupportsInterface

func (_Hustler *HustlerCallerSession) 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 (*HustlerCallerSession) Symbol

func (_Hustler *HustlerCallerSession) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*HustlerCallerSession) TokenURI

func (_Hustler *HustlerCallerSession) TokenURI(hustlerId *big.Int) (string, error)

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

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

func (*HustlerCallerSession) Uri

func (_Hustler *HustlerCallerSession) Uri(tokenId *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

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

type HustlerFilterer

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

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

func NewHustlerFilterer

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

NewHustlerFilterer creates a new log filterer instance of Hustler, bound to a specific deployed contract.

func (*HustlerFilterer) FilterAddRles

func (_Hustler *HustlerFilterer) FilterAddRles(opts *bind.FilterOpts) (*HustlerAddRlesIterator, error)

FilterAddRles is a free log retrieval operation binding the contract event 0x36b6cf36b8f012da85e0d54e17366baa232a918dd834ffae68371cbec4faf45c.

Solidity: event AddRles(uint8 part, uint256 len)

func (*HustlerFilterer) FilterApprovalForAll

func (_Hustler *HustlerFilterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*HustlerApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

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

func (*HustlerFilterer) FilterMetadataUpdate

func (_Hustler *HustlerFilterer) FilterMetadataUpdate(opts *bind.FilterOpts) (*HustlerMetadataUpdateIterator, error)

FilterMetadataUpdate is a free log retrieval operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.

Solidity: event MetadataUpdate(uint256 id)

func (*HustlerFilterer) FilterOwnershipTransferred

func (_Hustler *HustlerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*HustlerOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*HustlerFilterer) FilterTransferBatch

func (_Hustler *HustlerFilterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*HustlerTransferBatchIterator, error)

FilterTransferBatch is a free log retrieval operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*HustlerFilterer) FilterTransferSingle

func (_Hustler *HustlerFilterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*HustlerTransferSingleIterator, error)

FilterTransferSingle is a free log retrieval operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*HustlerFilterer) FilterURI

func (_Hustler *HustlerFilterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*HustlerURIIterator, error)

FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*HustlerFilterer) ParseAddRles

func (_Hustler *HustlerFilterer) ParseAddRles(log types.Log) (*HustlerAddRles, error)

ParseAddRles is a log parse operation binding the contract event 0x36b6cf36b8f012da85e0d54e17366baa232a918dd834ffae68371cbec4faf45c.

Solidity: event AddRles(uint8 part, uint256 len)

func (*HustlerFilterer) ParseApprovalForAll

func (_Hustler *HustlerFilterer) ParseApprovalForAll(log types.Log) (*HustlerApprovalForAll, error)

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

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

func (*HustlerFilterer) ParseMetadataUpdate

func (_Hustler *HustlerFilterer) ParseMetadataUpdate(log types.Log) (*HustlerMetadataUpdate, error)

ParseMetadataUpdate is a log parse operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.

Solidity: event MetadataUpdate(uint256 id)

func (*HustlerFilterer) ParseOwnershipTransferred

func (_Hustler *HustlerFilterer) ParseOwnershipTransferred(log types.Log) (*HustlerOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*HustlerFilterer) ParseTransferBatch

func (_Hustler *HustlerFilterer) ParseTransferBatch(log types.Log) (*HustlerTransferBatch, error)

ParseTransferBatch is a log parse operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*HustlerFilterer) ParseTransferSingle

func (_Hustler *HustlerFilterer) ParseTransferSingle(log types.Log) (*HustlerTransferSingle, error)

ParseTransferSingle is a log parse operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*HustlerFilterer) ParseURI

func (_Hustler *HustlerFilterer) ParseURI(log types.Log) (*HustlerURI, error)

ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*HustlerFilterer) WatchAddRles

func (_Hustler *HustlerFilterer) WatchAddRles(opts *bind.WatchOpts, sink chan<- *HustlerAddRles) (event.Subscription, error)

WatchAddRles is a free log subscription operation binding the contract event 0x36b6cf36b8f012da85e0d54e17366baa232a918dd834ffae68371cbec4faf45c.

Solidity: event AddRles(uint8 part, uint256 len)

func (*HustlerFilterer) WatchApprovalForAll

func (_Hustler *HustlerFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *HustlerApprovalForAll, account []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 account, address indexed operator, bool approved)

func (*HustlerFilterer) WatchMetadataUpdate

func (_Hustler *HustlerFilterer) WatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *HustlerMetadataUpdate) (event.Subscription, error)

WatchMetadataUpdate is a free log subscription operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.

Solidity: event MetadataUpdate(uint256 id)

func (*HustlerFilterer) WatchOwnershipTransferred

func (_Hustler *HustlerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HustlerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*HustlerFilterer) WatchTransferBatch

func (_Hustler *HustlerFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *HustlerTransferBatch, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferBatch is a free log subscription operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*HustlerFilterer) WatchTransferSingle

func (_Hustler *HustlerFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *HustlerTransferSingle, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferSingle is a free log subscription operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*HustlerFilterer) WatchURI

func (_Hustler *HustlerFilterer) WatchURI(opts *bind.WatchOpts, sink chan<- *HustlerURI, id []*big.Int) (event.Subscription, error)

WatchURI is a free log subscription operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

type HustlerMetadataUpdate

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

HustlerMetadataUpdate represents a MetadataUpdate event raised by the Hustler contract.

type HustlerMetadataUpdateIterator

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

HustlerMetadataUpdateIterator is returned from FilterMetadataUpdate and is used to iterate over the raw logs and unpacked data for MetadataUpdate events raised by the Hustler contract.

func (*HustlerMetadataUpdateIterator) Close

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

func (*HustlerMetadataUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HustlerMetadataUpdateIterator) 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 HustlerOwnershipTransferred

type HustlerOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

HustlerOwnershipTransferred represents a OwnershipTransferred event raised by the Hustler contract.

type HustlerOwnershipTransferredIterator

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

HustlerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Hustler contract.

func (*HustlerOwnershipTransferredIterator) Close

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

func (*HustlerOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HustlerOwnershipTransferredIterator) 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 HustlerProcessor

type HustlerProcessor interface {
	Setup(address common.Address, eth interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}) error
	Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

	ProcessAddRles(ctx context.Context, e HustlerAddRles) (func(tx *ent.Tx) error, error)

	ProcessApprovalForAll(ctx context.Context, e HustlerApprovalForAll) (func(tx *ent.Tx) error, error)

	ProcessMetadataUpdate(ctx context.Context, e HustlerMetadataUpdate) (func(tx *ent.Tx) error, error)

	ProcessOwnershipTransferred(ctx context.Context, e HustlerOwnershipTransferred) (func(tx *ent.Tx) error, error)

	ProcessTransferBatch(ctx context.Context, e HustlerTransferBatch) (func(tx *ent.Tx) error, error)

	ProcessTransferSingle(ctx context.Context, e HustlerTransferSingle) (func(tx *ent.Tx) error, error)

	ProcessURI(ctx context.Context, e HustlerURI) (func(tx *ent.Tx) error, error)
	// contains filtered or unexported methods
}

type HustlerRaw

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

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

func (*HustlerRaw) Call

func (_Hustler *HustlerRaw) 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 (*HustlerRaw) Transact

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

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

func (*HustlerRaw) Transfer

func (_Hustler *HustlerRaw) 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 HustlerSession

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

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

func (*HustlerSession) AddRles

func (_Hustler *HustlerSession) AddRles(part uint8, _rles [][]byte) (*types.Transaction, error)

AddRles is a paid mutator transaction binding the contract method 0xceed851f.

Solidity: function addRles(uint8 part, bytes[] _rles) returns()

func (*HustlerSession) Attributes

func (_Hustler *HustlerSession) Attributes(hustlerId *big.Int) ([][]byte, error)

Attributes is a free data retrieval call binding the contract method 0xd05dcc6a.

Solidity: function attributes(uint256 hustlerId) view returns(bytes[])

func (*HustlerSession) BalanceOf

func (_Hustler *HustlerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*HustlerSession) BalanceOfBatch

func (_Hustler *HustlerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*HustlerSession) BodyRle

func (_Hustler *HustlerSession) BodyRle(part uint8, idx *big.Int) ([]byte, error)

BodyRle is a free data retrieval call binding the contract method 0x5e89dcf9.

Solidity: function bodyRle(uint8 part, uint256 idx) view returns(bytes)

func (*HustlerSession) CarParts

func (_Hustler *HustlerSession) CarParts(hustlerId *big.Int) ([][]byte, error)

CarParts is a free data retrieval call binding the contract method 0x9eabf8c9.

Solidity: function carParts(uint256 hustlerId) view returns(bytes[])

func (*HustlerSession) ContractURI

func (_Hustler *HustlerSession) ContractURI() (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() pure returns(string)

func (*HustlerSession) Enforcer

func (_Hustler *HustlerSession) Enforcer() (common.Address, error)

Enforcer is a free data retrieval call binding the contract method 0x0d14a0e2.

Solidity: function enforcer() view returns(address)

func (*HustlerSession) HustlerParts

func (_Hustler *HustlerSession) HustlerParts(hustlerId *big.Int) ([][]byte, error)

HustlerParts is a free data retrieval call binding the contract method 0xde0b4e51.

Solidity: function hustlerParts(uint256 hustlerId) view returns(bytes[])

func (*HustlerSession) IsApprovedForAll

func (_Hustler *HustlerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*HustlerSession) Metadata

func (_Hustler *HustlerSession) Metadata(arg0 *big.Int) (struct {
	Color      [4]byte
	Background [4]byte
	Mask       [2]byte
	Options    [2]byte
	Age        *big.Int
	Name       string
}, error)

Metadata is a free data retrieval call binding the contract method 0xe3684e39.

Solidity: function metadata(uint256 ) view returns(bytes4 color, bytes4 background, bytes2 mask, bytes2 options, uint256 age, string name)

func (*HustlerSession) MintOGTo

func (_Hustler *HustlerSession) MintOGTo(to common.Address, name string, color [4]byte, background [4]byte, options [2]byte, viewbox [4]uint8, body [4]uint8, mask [2]byte, data []byte) (*types.Transaction, error)

MintOGTo is a paid mutator transaction binding the contract method 0x4ddc4edc.

Solidity: function mintOGTo(address to, string name, bytes4 color, bytes4 background, bytes2 options, uint8[4] viewbox, uint8[4] body, bytes2 mask, bytes data) returns(uint256)

func (*HustlerSession) MintTo

func (_Hustler *HustlerSession) MintTo(to common.Address, data []byte) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x3d3503d9.

Solidity: function mintTo(address to, bytes data) returns()

func (*HustlerSession) MintTo0

func (_Hustler *HustlerSession) MintTo0(to common.Address, name string, color [4]byte, background [4]byte, options [2]byte, viewbox [4]uint8, body [4]uint8, mask [2]byte, data []byte) (*types.Transaction, error)

MintTo0 is a paid mutator transaction binding the contract method 0xd670630b.

Solidity: function mintTo(address to, string name, bytes4 color, bytes4 background, bytes2 options, uint8[4] viewbox, uint8[4] body, bytes2 mask, bytes data) returns(uint256)

func (*HustlerSession) Name

func (_Hustler *HustlerSession) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*HustlerSession) OnERC1155BatchReceived

func (_Hustler *HustlerSession) OnERC1155BatchReceived(operator common.Address, from common.Address, ids []*big.Int, values []*big.Int, data []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address operator, address from, uint256[] ids, uint256[] values, bytes data) returns(bytes4)

func (*HustlerSession) OnERC1155Received

func (_Hustler *HustlerSession) OnERC1155Received(operator common.Address, from common.Address, id *big.Int, value *big.Int, data []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes data) returns(bytes4)

func (*HustlerSession) Owner

func (_Hustler *HustlerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*HustlerSession) Render

func (_Hustler *HustlerSession) Render(title string, subtitle string, resolution uint8, background [4]byte, color [4]byte, viewbox [4]uint8, parts [][]byte) (string, error)

Render is a free data retrieval call binding the contract method 0xfadc2ef4.

Solidity: function render(string title, string subtitle, uint8 resolution, bytes4 background, bytes4 color, uint8[4] viewbox, bytes[] parts) view returns(string)

func (*HustlerSession) RenounceOwnership

func (_Hustler *HustlerSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*HustlerSession) SafeBatchTransferFrom

func (_Hustler *HustlerSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*HustlerSession) SafeTransferFrom

func (_Hustler *HustlerSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*HustlerSession) SetApprovalForAll

func (_Hustler *HustlerSession) 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 (*HustlerSession) SetEnforcer

func (_Hustler *HustlerSession) SetEnforcer(enforcer_ common.Address) (*types.Transaction, error)

SetEnforcer is a paid mutator transaction binding the contract method 0xcb6e3ef7.

Solidity: function setEnforcer(address enforcer_) returns()

func (*HustlerSession) SetMetadata

func (_Hustler *HustlerSession) SetMetadata(hustlerId *big.Int, name string, color [4]byte, background [4]byte, options [2]byte, viewbox [4]uint8, body [4]uint8, mask [2]byte) (*types.Transaction, error)

SetMetadata is a paid mutator transaction binding the contract method 0x2df9f194.

Solidity: function setMetadata(uint256 hustlerId, string name, bytes4 color, bytes4 background, bytes2 options, uint8[4] viewbox, uint8[4] body, bytes2 mask) returns()

func (*HustlerSession) SupportsInterface

func (_Hustler *HustlerSession) 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 (*HustlerSession) Symbol

func (_Hustler *HustlerSession) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*HustlerSession) TokenURI

func (_Hustler *HustlerSession) TokenURI(hustlerId *big.Int) (string, error)

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

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

func (*HustlerSession) TransferOwnership

func (_Hustler *HustlerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*HustlerSession) Unequip

func (_Hustler *HustlerSession) Unequip(hustlerId *big.Int, slots []uint8) (*types.Transaction, error)

Unequip is a paid mutator transaction binding the contract method 0x7b2ddc1d.

Solidity: function unequip(uint256 hustlerId, uint8[] slots) returns()

func (*HustlerSession) Uri

func (_Hustler *HustlerSession) Uri(tokenId *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

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

type HustlerTransactor

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

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

func NewHustlerTransactor

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

NewHustlerTransactor creates a new write-only instance of Hustler, bound to a specific deployed contract.

func (*HustlerTransactor) AddRles

func (_Hustler *HustlerTransactor) AddRles(opts *bind.TransactOpts, part uint8, _rles [][]byte) (*types.Transaction, error)

AddRles is a paid mutator transaction binding the contract method 0xceed851f.

Solidity: function addRles(uint8 part, bytes[] _rles) returns()

func (*HustlerTransactor) MintOGTo

func (_Hustler *HustlerTransactor) MintOGTo(opts *bind.TransactOpts, to common.Address, name string, color [4]byte, background [4]byte, options [2]byte, viewbox [4]uint8, body [4]uint8, mask [2]byte, data []byte) (*types.Transaction, error)

MintOGTo is a paid mutator transaction binding the contract method 0x4ddc4edc.

Solidity: function mintOGTo(address to, string name, bytes4 color, bytes4 background, bytes2 options, uint8[4] viewbox, uint8[4] body, bytes2 mask, bytes data) returns(uint256)

func (*HustlerTransactor) MintTo

func (_Hustler *HustlerTransactor) MintTo(opts *bind.TransactOpts, to common.Address, data []byte) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x3d3503d9.

Solidity: function mintTo(address to, bytes data) returns()

func (*HustlerTransactor) MintTo0

func (_Hustler *HustlerTransactor) MintTo0(opts *bind.TransactOpts, to common.Address, name string, color [4]byte, background [4]byte, options [2]byte, viewbox [4]uint8, body [4]uint8, mask [2]byte, data []byte) (*types.Transaction, error)

MintTo0 is a paid mutator transaction binding the contract method 0xd670630b.

Solidity: function mintTo(address to, string name, bytes4 color, bytes4 background, bytes2 options, uint8[4] viewbox, uint8[4] body, bytes2 mask, bytes data) returns(uint256)

func (*HustlerTransactor) OnERC1155BatchReceived

func (_Hustler *HustlerTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, operator common.Address, from common.Address, ids []*big.Int, values []*big.Int, data []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address operator, address from, uint256[] ids, uint256[] values, bytes data) returns(bytes4)

func (*HustlerTransactor) OnERC1155Received

func (_Hustler *HustlerTransactor) OnERC1155Received(opts *bind.TransactOpts, operator common.Address, from common.Address, id *big.Int, value *big.Int, data []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes data) returns(bytes4)

func (*HustlerTransactor) RenounceOwnership

func (_Hustler *HustlerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*HustlerTransactor) SafeBatchTransferFrom

func (_Hustler *HustlerTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*HustlerTransactor) SafeTransferFrom

func (_Hustler *HustlerTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*HustlerTransactor) SetApprovalForAll

func (_Hustler *HustlerTransactor) 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 (*HustlerTransactor) SetEnforcer

func (_Hustler *HustlerTransactor) SetEnforcer(opts *bind.TransactOpts, enforcer_ common.Address) (*types.Transaction, error)

SetEnforcer is a paid mutator transaction binding the contract method 0xcb6e3ef7.

Solidity: function setEnforcer(address enforcer_) returns()

func (*HustlerTransactor) SetMetadata

func (_Hustler *HustlerTransactor) SetMetadata(opts *bind.TransactOpts, hustlerId *big.Int, name string, color [4]byte, background [4]byte, options [2]byte, viewbox [4]uint8, body [4]uint8, mask [2]byte) (*types.Transaction, error)

SetMetadata is a paid mutator transaction binding the contract method 0x2df9f194.

Solidity: function setMetadata(uint256 hustlerId, string name, bytes4 color, bytes4 background, bytes2 options, uint8[4] viewbox, uint8[4] body, bytes2 mask) returns()

func (*HustlerTransactor) TransferOwnership

func (_Hustler *HustlerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*HustlerTransactor) Unequip

func (_Hustler *HustlerTransactor) Unequip(opts *bind.TransactOpts, hustlerId *big.Int, slots []uint8) (*types.Transaction, error)

Unequip is a paid mutator transaction binding the contract method 0x7b2ddc1d.

Solidity: function unequip(uint256 hustlerId, uint8[] slots) returns()

type HustlerTransactorRaw

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

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

func (*HustlerTransactorRaw) Transact

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

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

func (*HustlerTransactorRaw) Transfer

func (_Hustler *HustlerTransactorRaw) 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 HustlerTransactorSession

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

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

func (*HustlerTransactorSession) AddRles

func (_Hustler *HustlerTransactorSession) AddRles(part uint8, _rles [][]byte) (*types.Transaction, error)

AddRles is a paid mutator transaction binding the contract method 0xceed851f.

Solidity: function addRles(uint8 part, bytes[] _rles) returns()

func (*HustlerTransactorSession) MintOGTo

func (_Hustler *HustlerTransactorSession) MintOGTo(to common.Address, name string, color [4]byte, background [4]byte, options [2]byte, viewbox [4]uint8, body [4]uint8, mask [2]byte, data []byte) (*types.Transaction, error)

MintOGTo is a paid mutator transaction binding the contract method 0x4ddc4edc.

Solidity: function mintOGTo(address to, string name, bytes4 color, bytes4 background, bytes2 options, uint8[4] viewbox, uint8[4] body, bytes2 mask, bytes data) returns(uint256)

func (*HustlerTransactorSession) MintTo

func (_Hustler *HustlerTransactorSession) MintTo(to common.Address, data []byte) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x3d3503d9.

Solidity: function mintTo(address to, bytes data) returns()

func (*HustlerTransactorSession) MintTo0

func (_Hustler *HustlerTransactorSession) MintTo0(to common.Address, name string, color [4]byte, background [4]byte, options [2]byte, viewbox [4]uint8, body [4]uint8, mask [2]byte, data []byte) (*types.Transaction, error)

MintTo0 is a paid mutator transaction binding the contract method 0xd670630b.

Solidity: function mintTo(address to, string name, bytes4 color, bytes4 background, bytes2 options, uint8[4] viewbox, uint8[4] body, bytes2 mask, bytes data) returns(uint256)

func (*HustlerTransactorSession) OnERC1155BatchReceived

func (_Hustler *HustlerTransactorSession) OnERC1155BatchReceived(operator common.Address, from common.Address, ids []*big.Int, values []*big.Int, data []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address operator, address from, uint256[] ids, uint256[] values, bytes data) returns(bytes4)

func (*HustlerTransactorSession) OnERC1155Received

func (_Hustler *HustlerTransactorSession) OnERC1155Received(operator common.Address, from common.Address, id *big.Int, value *big.Int, data []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes data) returns(bytes4)

func (*HustlerTransactorSession) RenounceOwnership

func (_Hustler *HustlerTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*HustlerTransactorSession) SafeBatchTransferFrom

func (_Hustler *HustlerTransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*HustlerTransactorSession) SafeTransferFrom

func (_Hustler *HustlerTransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*HustlerTransactorSession) SetApprovalForAll

func (_Hustler *HustlerTransactorSession) 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 (*HustlerTransactorSession) SetEnforcer

func (_Hustler *HustlerTransactorSession) SetEnforcer(enforcer_ common.Address) (*types.Transaction, error)

SetEnforcer is a paid mutator transaction binding the contract method 0xcb6e3ef7.

Solidity: function setEnforcer(address enforcer_) returns()

func (*HustlerTransactorSession) SetMetadata

func (_Hustler *HustlerTransactorSession) SetMetadata(hustlerId *big.Int, name string, color [4]byte, background [4]byte, options [2]byte, viewbox [4]uint8, body [4]uint8, mask [2]byte) (*types.Transaction, error)

SetMetadata is a paid mutator transaction binding the contract method 0x2df9f194.

Solidity: function setMetadata(uint256 hustlerId, string name, bytes4 color, bytes4 background, bytes2 options, uint8[4] viewbox, uint8[4] body, bytes2 mask) returns()

func (*HustlerTransactorSession) TransferOwnership

func (_Hustler *HustlerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*HustlerTransactorSession) Unequip

func (_Hustler *HustlerTransactorSession) Unequip(hustlerId *big.Int, slots []uint8) (*types.Transaction, error)

Unequip is a paid mutator transaction binding the contract method 0x7b2ddc1d.

Solidity: function unequip(uint256 hustlerId, uint8[] slots) returns()

type HustlerTransferBatch

type HustlerTransferBatch struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Ids      []*big.Int
	Values   []*big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

HustlerTransferBatch represents a TransferBatch event raised by the Hustler contract.

type HustlerTransferBatchIterator

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

HustlerTransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the Hustler contract.

func (*HustlerTransferBatchIterator) Close

func (it *HustlerTransferBatchIterator) Close() error

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

func (*HustlerTransferBatchIterator) Error

func (it *HustlerTransferBatchIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HustlerTransferBatchIterator) 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 HustlerTransferSingle

type HustlerTransferSingle struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Id       *big.Int
	Value    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

HustlerTransferSingle represents a TransferSingle event raised by the Hustler contract.

type HustlerTransferSingleIterator

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

HustlerTransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the Hustler contract.

func (*HustlerTransferSingleIterator) Close

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

func (*HustlerTransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HustlerTransferSingleIterator) 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 HustlerURI

type HustlerURI struct {
	Value string
	Id    *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

HustlerURI represents a URI event raised by the Hustler contract.

type HustlerURIIterator

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

HustlerURIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the Hustler contract.

func (*HustlerURIIterator) Close

func (it *HustlerURIIterator) Close() error

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

func (*HustlerURIIterator) Error

func (it *HustlerURIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HustlerURIIterator) Next

func (it *HustlerURIIterator) 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 IHustlerActionsSetMetadata

type IHustlerActionsSetMetadata struct {
	Color      [4]byte
	Background [4]byte
	Options    [2]byte
	Viewbox    [4]uint8
	Body       [4]uint8
	Order      [10]uint8
	Mask       [2]byte
	Name       string
}

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

type Initiator

type Initiator struct {
	InitiatorCaller     // Read-only binding to the contract
	InitiatorTransactor // Write-only binding to the contract
	InitiatorFilterer   // Log filterer for contract events
}

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

func NewInitiator

func NewInitiator(address common.Address, backend bind.ContractBackend) (*Initiator, error)

NewInitiator creates a new instance of Initiator, bound to a specific deployed contract.

type InitiatorCaller

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

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

func NewInitiatorCaller

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

NewInitiatorCaller creates a new read-only instance of Initiator, bound to a specific deployed contract.

func (*InitiatorCaller) Cost

func (_Initiator *InitiatorCaller) Cost(opts *bind.CallOpts) (*big.Int, error)

Cost is a free data retrieval call binding the contract method 0x13faede6.

Solidity: function cost() view returns(uint256)

func (*InitiatorCaller) IsOpened

func (_Initiator *InitiatorCaller) IsOpened(opts *bind.CallOpts, id *big.Int) (bool, error)

IsOpened is a free data retrieval call binding the contract method 0x5faf46bb.

Solidity: function isOpened(uint256 id) view returns(bool)

func (*InitiatorCaller) Owner

func (_Initiator *InitiatorCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*InitiatorCaller) Release

func (_Initiator *InitiatorCaller) Release(opts *bind.CallOpts) (*big.Int, error)

Release is a free data retrieval call binding the contract method 0x86d1a69f.

Solidity: function release() view returns(uint256)

type InitiatorCallerRaw

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

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

func (*InitiatorCallerRaw) Call

func (_Initiator *InitiatorCallerRaw) 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 InitiatorCallerSession

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

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

func (*InitiatorCallerSession) Cost

func (_Initiator *InitiatorCallerSession) Cost() (*big.Int, error)

Cost is a free data retrieval call binding the contract method 0x13faede6.

Solidity: function cost() view returns(uint256)

func (*InitiatorCallerSession) IsOpened

func (_Initiator *InitiatorCallerSession) IsOpened(id *big.Int) (bool, error)

IsOpened is a free data retrieval call binding the contract method 0x5faf46bb.

Solidity: function isOpened(uint256 id) view returns(bool)

func (*InitiatorCallerSession) Owner

func (_Initiator *InitiatorCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*InitiatorCallerSession) Release

func (_Initiator *InitiatorCallerSession) Release() (*big.Int, error)

Release is a free data retrieval call binding the contract method 0x86d1a69f.

Solidity: function release() view returns(uint256)

type InitiatorFilterer

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

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

func NewInitiatorFilterer

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

NewInitiatorFilterer creates a new log filterer instance of Initiator, bound to a specific deployed contract.

func (*InitiatorFilterer) FilterOpened

func (_Initiator *InitiatorFilterer) FilterOpened(opts *bind.FilterOpts) (*InitiatorOpenedIterator, error)

FilterOpened is a free log retrieval operation binding the contract event 0x076ee234681125279e2cfc540cc3442961385c988bd343b4081105999f39f5ea.

Solidity: event Opened(uint256 id)

func (*InitiatorFilterer) FilterOwnershipTransferred

func (_Initiator *InitiatorFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*InitiatorOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*InitiatorFilterer) ParseOpened

func (_Initiator *InitiatorFilterer) ParseOpened(log types.Log) (*InitiatorOpened, error)

ParseOpened is a log parse operation binding the contract event 0x076ee234681125279e2cfc540cc3442961385c988bd343b4081105999f39f5ea.

Solidity: event Opened(uint256 id)

func (*InitiatorFilterer) ParseOwnershipTransferred

func (_Initiator *InitiatorFilterer) ParseOwnershipTransferred(log types.Log) (*InitiatorOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*InitiatorFilterer) WatchOpened

func (_Initiator *InitiatorFilterer) WatchOpened(opts *bind.WatchOpts, sink chan<- *InitiatorOpened) (event.Subscription, error)

WatchOpened is a free log subscription operation binding the contract event 0x076ee234681125279e2cfc540cc3442961385c988bd343b4081105999f39f5ea.

Solidity: event Opened(uint256 id)

func (*InitiatorFilterer) WatchOwnershipTransferred

func (_Initiator *InitiatorFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *InitiatorOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type InitiatorOpened

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

InitiatorOpened represents a Opened event raised by the Initiator contract.

type InitiatorOpenedIterator

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

InitiatorOpenedIterator is returned from FilterOpened and is used to iterate over the raw logs and unpacked data for Opened events raised by the Initiator contract.

func (*InitiatorOpenedIterator) Close

func (it *InitiatorOpenedIterator) Close() error

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

func (*InitiatorOpenedIterator) Error

func (it *InitiatorOpenedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*InitiatorOpenedIterator) Next

func (it *InitiatorOpenedIterator) 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 InitiatorOwnershipTransferred

type InitiatorOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

InitiatorOwnershipTransferred represents a OwnershipTransferred event raised by the Initiator contract.

type InitiatorOwnershipTransferredIterator

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

InitiatorOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Initiator contract.

func (*InitiatorOwnershipTransferredIterator) Close

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

func (*InitiatorOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InitiatorOwnershipTransferredIterator) 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 InitiatorProcessor

type InitiatorProcessor interface {
	Setup(address common.Address, eth interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}) error
	Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

	ProcessOpened(ctx context.Context, e InitiatorOpened) (func(tx *ent.Tx) error, error)

	ProcessOwnershipTransferred(ctx context.Context, e InitiatorOwnershipTransferred) (func(tx *ent.Tx) error, error)
	// contains filtered or unexported methods
}

type InitiatorRaw

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

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

func (*InitiatorRaw) Call

func (_Initiator *InitiatorRaw) 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 (*InitiatorRaw) Transact

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

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

func (*InitiatorRaw) Transfer

func (_Initiator *InitiatorRaw) 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 InitiatorSession

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

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

func (*InitiatorSession) Cost

func (_Initiator *InitiatorSession) Cost() (*big.Int, error)

Cost is a free data retrieval call binding the contract method 0x13faede6.

Solidity: function cost() view returns(uint256)

func (*InitiatorSession) IsOpened

func (_Initiator *InitiatorSession) IsOpened(id *big.Int) (bool, error)

IsOpened is a free data retrieval call binding the contract method 0x5faf46bb.

Solidity: function isOpened(uint256 id) view returns(bool)

func (*InitiatorSession) MintFromDopeTo

func (_Initiator *InitiatorSession) MintFromDopeTo(id *big.Int, to common.Address, meta IHustlerActionsSetMetadata, data []byte, gasLimit uint32) (*types.Transaction, error)

MintFromDopeTo is a paid mutator transaction binding the contract method 0x436046de.

Solidity: function mintFromDopeTo(uint256 id, address to, (bytes4,bytes4,bytes2,uint8[4],uint8[4],uint8[10],bytes2,string) meta, bytes data, uint32 gasLimit) returns()

func (*InitiatorSession) MintOGFromDopeTo

func (_Initiator *InitiatorSession) MintOGFromDopeTo(id *big.Int, to common.Address, meta IHustlerActionsSetMetadata, data []byte, gasLimit uint32) (*types.Transaction, error)

MintOGFromDopeTo is a paid mutator transaction binding the contract method 0xe63dda3f.

Solidity: function mintOGFromDopeTo(uint256 id, address to, (bytes4,bytes4,bytes2,uint8[4],uint8[4],uint8[10],bytes2,string) meta, bytes data, uint32 gasLimit) payable returns()

func (*InitiatorSession) Open

func (_Initiator *InitiatorSession) Open(id *big.Int, to common.Address, gasLimit uint32) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0x9ea9c0ce.

Solidity: function open(uint256 id, address to, uint32 gasLimit) returns()

func (*InitiatorSession) Owner

func (_Initiator *InitiatorSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*InitiatorSession) Release

func (_Initiator *InitiatorSession) Release() (*big.Int, error)

Release is a free data retrieval call binding the contract method 0x86d1a69f.

Solidity: function release() view returns(uint256)

func (*InitiatorSession) RenounceOwnership

func (_Initiator *InitiatorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*InitiatorSession) SetRelease

func (_Initiator *InitiatorSession) SetRelease(_release *big.Int) (*types.Transaction, error)

SetRelease is a paid mutator transaction binding the contract method 0xcfa4f3e8.

Solidity: function setRelease(uint256 _release) returns()

func (*InitiatorSession) TransferOwnership

func (_Initiator *InitiatorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*InitiatorSession) Withdraw

func (_Initiator *InitiatorSession) Withdraw() (*types.Transaction, error)

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

Solidity: function withdraw() returns()

type InitiatorTransactor

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

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

func NewInitiatorTransactor

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

NewInitiatorTransactor creates a new write-only instance of Initiator, bound to a specific deployed contract.

func (*InitiatorTransactor) MintFromDopeTo

func (_Initiator *InitiatorTransactor) MintFromDopeTo(opts *bind.TransactOpts, id *big.Int, to common.Address, meta IHustlerActionsSetMetadata, data []byte, gasLimit uint32) (*types.Transaction, error)

MintFromDopeTo is a paid mutator transaction binding the contract method 0x436046de.

Solidity: function mintFromDopeTo(uint256 id, address to, (bytes4,bytes4,bytes2,uint8[4],uint8[4],uint8[10],bytes2,string) meta, bytes data, uint32 gasLimit) returns()

func (*InitiatorTransactor) MintOGFromDopeTo

func (_Initiator *InitiatorTransactor) MintOGFromDopeTo(opts *bind.TransactOpts, id *big.Int, to common.Address, meta IHustlerActionsSetMetadata, data []byte, gasLimit uint32) (*types.Transaction, error)

MintOGFromDopeTo is a paid mutator transaction binding the contract method 0xe63dda3f.

Solidity: function mintOGFromDopeTo(uint256 id, address to, (bytes4,bytes4,bytes2,uint8[4],uint8[4],uint8[10],bytes2,string) meta, bytes data, uint32 gasLimit) payable returns()

func (*InitiatorTransactor) Open

func (_Initiator *InitiatorTransactor) Open(opts *bind.TransactOpts, id *big.Int, to common.Address, gasLimit uint32) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0x9ea9c0ce.

Solidity: function open(uint256 id, address to, uint32 gasLimit) returns()

func (*InitiatorTransactor) RenounceOwnership

func (_Initiator *InitiatorTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*InitiatorTransactor) SetRelease

func (_Initiator *InitiatorTransactor) SetRelease(opts *bind.TransactOpts, _release *big.Int) (*types.Transaction, error)

SetRelease is a paid mutator transaction binding the contract method 0xcfa4f3e8.

Solidity: function setRelease(uint256 _release) returns()

func (*InitiatorTransactor) TransferOwnership

func (_Initiator *InitiatorTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*InitiatorTransactor) Withdraw

func (_Initiator *InitiatorTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function withdraw() returns()

type InitiatorTransactorRaw

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

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

func (*InitiatorTransactorRaw) Transact

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

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

func (*InitiatorTransactorRaw) Transfer

func (_Initiator *InitiatorTransactorRaw) 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 InitiatorTransactorSession

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

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

func (*InitiatorTransactorSession) MintFromDopeTo

func (_Initiator *InitiatorTransactorSession) MintFromDopeTo(id *big.Int, to common.Address, meta IHustlerActionsSetMetadata, data []byte, gasLimit uint32) (*types.Transaction, error)

MintFromDopeTo is a paid mutator transaction binding the contract method 0x436046de.

Solidity: function mintFromDopeTo(uint256 id, address to, (bytes4,bytes4,bytes2,uint8[4],uint8[4],uint8[10],bytes2,string) meta, bytes data, uint32 gasLimit) returns()

func (*InitiatorTransactorSession) MintOGFromDopeTo

func (_Initiator *InitiatorTransactorSession) MintOGFromDopeTo(id *big.Int, to common.Address, meta IHustlerActionsSetMetadata, data []byte, gasLimit uint32) (*types.Transaction, error)

MintOGFromDopeTo is a paid mutator transaction binding the contract method 0xe63dda3f.

Solidity: function mintOGFromDopeTo(uint256 id, address to, (bytes4,bytes4,bytes2,uint8[4],uint8[4],uint8[10],bytes2,string) meta, bytes data, uint32 gasLimit) payable returns()

func (*InitiatorTransactorSession) Open

func (_Initiator *InitiatorTransactorSession) Open(id *big.Int, to common.Address, gasLimit uint32) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0x9ea9c0ce.

Solidity: function open(uint256 id, address to, uint32 gasLimit) returns()

func (*InitiatorTransactorSession) RenounceOwnership

func (_Initiator *InitiatorTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*InitiatorTransactorSession) SetRelease

func (_Initiator *InitiatorTransactorSession) SetRelease(_release *big.Int) (*types.Transaction, error)

SetRelease is a paid mutator transaction binding the contract method 0xcfa4f3e8.

Solidity: function setRelease(uint256 _release) returns()

func (*InitiatorTransactorSession) TransferOwnership

func (_Initiator *InitiatorTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*InitiatorTransactorSession) Withdraw

func (_Initiator *InitiatorTransactorSession) Withdraw() (*types.Transaction, error)

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

Solidity: function withdraw() returns()

type Paper

type Paper struct {
	PaperCaller     // Read-only binding to the contract
	PaperTransactor // Write-only binding to the contract
	PaperFilterer   // Log filterer for contract events
}

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

func NewPaper

func NewPaper(address common.Address, backend bind.ContractBackend) (*Paper, error)

NewPaper creates a new instance of Paper, bound to a specific deployed contract.

type PaperApproval

type PaperApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PaperApproval represents a Approval event raised by the Paper contract.

type PaperApprovalIterator

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

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

func (*PaperApprovalIterator) Close

func (it *PaperApprovalIterator) Close() error

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

func (*PaperApprovalIterator) Error

func (it *PaperApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaperApprovalIterator) Next

func (it *PaperApprovalIterator) 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 PaperCaller

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

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

func NewPaperCaller

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

NewPaperCaller creates a new read-only instance of Paper, bound to a specific deployed contract.

func (*PaperCaller) Allowance

func (_Paper *PaperCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PaperCaller) BalanceOf

func (_Paper *PaperCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*PaperCaller) BalanceOfAt

func (_Paper *PaperCaller) BalanceOfAt(opts *bind.CallOpts, account common.Address, snapshotId *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address account, uint256 snapshotId) view returns(uint256)

func (*PaperCaller) Checkpoints

func (_Paper *PaperCaller) Checkpoints(opts *bind.CallOpts, account common.Address, pos uint32) (ERC20VotesCheckpoint, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))

func (*PaperCaller) ClaimedByTokenId

func (_Paper *PaperCaller) ClaimedByTokenId(opts *bind.CallOpts, arg0 *big.Int) (bool, error)

ClaimedByTokenId is a free data retrieval call binding the contract method 0x896265b3.

Solidity: function claimedByTokenId(uint256 ) view returns(bool)

func (*PaperCaller) DOMAINSEPARATOR

func (_Paper *PaperCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PaperCaller) Decimals

func (_Paper *PaperCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PaperCaller) Delegates

func (_Paper *PaperCaller) Delegates(opts *bind.CallOpts, account common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address account) view returns(address)

func (*PaperCaller) GetPastTotalSupply

func (_Paper *PaperCaller) GetPastTotalSupply(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint256)

func (*PaperCaller) GetPastVotes

func (_Paper *PaperCaller) GetPastVotes(opts *bind.CallOpts, account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

Solidity: function getPastVotes(address account, uint256 blockNumber) view returns(uint256)

func (*PaperCaller) GetVotes

func (_Paper *PaperCaller) GetVotes(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

Solidity: function getVotes(address account) view returns(uint256)

func (*PaperCaller) Loot

func (_Paper *PaperCaller) Loot(opts *bind.CallOpts) (common.Address, error)

Loot is a free data retrieval call binding the contract method 0x9b7b2ab0.

Solidity: function loot() view returns(address)

func (*PaperCaller) Name

func (_Paper *PaperCaller) 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 (*PaperCaller) Nonces

func (_Paper *PaperCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*PaperCaller) NumCheckpoints

func (_Paper *PaperCaller) NumCheckpoints(opts *bind.CallOpts, account common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address account) view returns(uint32)

func (*PaperCaller) Owner

func (_Paper *PaperCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PaperCaller) PaperPerTokenId

func (_Paper *PaperCaller) PaperPerTokenId(opts *bind.CallOpts) (*big.Int, error)

PaperPerTokenId is a free data retrieval call binding the contract method 0x2aedc3ab.

Solidity: function paperPerTokenId() view returns(uint256)

func (*PaperCaller) Symbol

func (_Paper *PaperCaller) 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 (*PaperCaller) Timelock

func (_Paper *PaperCaller) Timelock(opts *bind.CallOpts) (common.Address, error)

Timelock is a free data retrieval call binding the contract method 0xd33219b4.

Solidity: function timelock() view returns(address)

func (*PaperCaller) TokenIdEnd

func (_Paper *PaperCaller) TokenIdEnd(opts *bind.CallOpts) (*big.Int, error)

TokenIdEnd is a free data retrieval call binding the contract method 0x43f42802.

Solidity: function tokenIdEnd() view returns(uint256)

func (*PaperCaller) TokenIdStart

func (_Paper *PaperCaller) TokenIdStart(opts *bind.CallOpts) (*big.Int, error)

TokenIdStart is a free data retrieval call binding the contract method 0x2a389062.

Solidity: function tokenIdStart() view returns(uint256)

func (*PaperCaller) TotalSupply

func (_Paper *PaperCaller) 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 (*PaperCaller) TotalSupplyAt

func (_Paper *PaperCaller) TotalSupplyAt(opts *bind.CallOpts, snapshotId *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)

type PaperCallerRaw

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

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

func (*PaperCallerRaw) Call

func (_Paper *PaperCallerRaw) 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 PaperCallerSession

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

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

func (*PaperCallerSession) Allowance

func (_Paper *PaperCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PaperCallerSession) BalanceOf

func (_Paper *PaperCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*PaperCallerSession) BalanceOfAt

func (_Paper *PaperCallerSession) BalanceOfAt(account common.Address, snapshotId *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address account, uint256 snapshotId) view returns(uint256)

func (*PaperCallerSession) Checkpoints

func (_Paper *PaperCallerSession) Checkpoints(account common.Address, pos uint32) (ERC20VotesCheckpoint, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))

func (*PaperCallerSession) ClaimedByTokenId

func (_Paper *PaperCallerSession) ClaimedByTokenId(arg0 *big.Int) (bool, error)

ClaimedByTokenId is a free data retrieval call binding the contract method 0x896265b3.

Solidity: function claimedByTokenId(uint256 ) view returns(bool)

func (*PaperCallerSession) DOMAINSEPARATOR

func (_Paper *PaperCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PaperCallerSession) Decimals

func (_Paper *PaperCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PaperCallerSession) Delegates

func (_Paper *PaperCallerSession) Delegates(account common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address account) view returns(address)

func (*PaperCallerSession) GetPastTotalSupply

func (_Paper *PaperCallerSession) GetPastTotalSupply(blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint256)

func (*PaperCallerSession) GetPastVotes

func (_Paper *PaperCallerSession) GetPastVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

Solidity: function getPastVotes(address account, uint256 blockNumber) view returns(uint256)

func (*PaperCallerSession) GetVotes

func (_Paper *PaperCallerSession) GetVotes(account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

Solidity: function getVotes(address account) view returns(uint256)

func (*PaperCallerSession) Loot

func (_Paper *PaperCallerSession) Loot() (common.Address, error)

Loot is a free data retrieval call binding the contract method 0x9b7b2ab0.

Solidity: function loot() view returns(address)

func (*PaperCallerSession) Name

func (_Paper *PaperCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*PaperCallerSession) Nonces

func (_Paper *PaperCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*PaperCallerSession) NumCheckpoints

func (_Paper *PaperCallerSession) NumCheckpoints(account common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address account) view returns(uint32)

func (*PaperCallerSession) Owner

func (_Paper *PaperCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PaperCallerSession) PaperPerTokenId

func (_Paper *PaperCallerSession) PaperPerTokenId() (*big.Int, error)

PaperPerTokenId is a free data retrieval call binding the contract method 0x2aedc3ab.

Solidity: function paperPerTokenId() view returns(uint256)

func (*PaperCallerSession) Symbol

func (_Paper *PaperCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*PaperCallerSession) Timelock

func (_Paper *PaperCallerSession) Timelock() (common.Address, error)

Timelock is a free data retrieval call binding the contract method 0xd33219b4.

Solidity: function timelock() view returns(address)

func (*PaperCallerSession) TokenIdEnd

func (_Paper *PaperCallerSession) TokenIdEnd() (*big.Int, error)

TokenIdEnd is a free data retrieval call binding the contract method 0x43f42802.

Solidity: function tokenIdEnd() view returns(uint256)

func (*PaperCallerSession) TokenIdStart

func (_Paper *PaperCallerSession) TokenIdStart() (*big.Int, error)

TokenIdStart is a free data retrieval call binding the contract method 0x2a389062.

Solidity: function tokenIdStart() view returns(uint256)

func (*PaperCallerSession) TotalSupply

func (_Paper *PaperCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*PaperCallerSession) TotalSupplyAt

func (_Paper *PaperCallerSession) TotalSupplyAt(snapshotId *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)

type PaperDelegateChanged

type PaperDelegateChanged struct {
	Delegator    common.Address
	FromDelegate common.Address
	ToDelegate   common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

PaperDelegateChanged represents a DelegateChanged event raised by the Paper contract.

type PaperDelegateChangedIterator

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

PaperDelegateChangedIterator is returned from FilterDelegateChanged and is used to iterate over the raw logs and unpacked data for DelegateChanged events raised by the Paper contract.

func (*PaperDelegateChangedIterator) Close

func (it *PaperDelegateChangedIterator) Close() error

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

func (*PaperDelegateChangedIterator) Error

func (it *PaperDelegateChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaperDelegateChangedIterator) 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 PaperDelegateVotesChanged

type PaperDelegateVotesChanged struct {
	Delegate        common.Address
	PreviousBalance *big.Int
	NewBalance      *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

PaperDelegateVotesChanged represents a DelegateVotesChanged event raised by the Paper contract.

type PaperDelegateVotesChangedIterator

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

PaperDelegateVotesChangedIterator is returned from FilterDelegateVotesChanged and is used to iterate over the raw logs and unpacked data for DelegateVotesChanged events raised by the Paper contract.

func (*PaperDelegateVotesChangedIterator) Close

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

func (*PaperDelegateVotesChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaperDelegateVotesChangedIterator) 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 PaperFilterer

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

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

func NewPaperFilterer

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

NewPaperFilterer creates a new log filterer instance of Paper, bound to a specific deployed contract.

func (*PaperFilterer) FilterApproval

func (_Paper *PaperFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*PaperApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*PaperFilterer) FilterDelegateChanged

func (_Paper *PaperFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*PaperDelegateChangedIterator, error)

FilterDelegateChanged is a free log retrieval operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*PaperFilterer) FilterDelegateVotesChanged

func (_Paper *PaperFilterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*PaperDelegateVotesChangedIterator, error)

FilterDelegateVotesChanged is a free log retrieval operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*PaperFilterer) FilterOwnershipTransferred

func (_Paper *PaperFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PaperOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PaperFilterer) FilterSnapshot

func (_Paper *PaperFilterer) FilterSnapshot(opts *bind.FilterOpts) (*PaperSnapshotIterator, error)

FilterSnapshot is a free log retrieval operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.

Solidity: event Snapshot(uint256 id)

func (*PaperFilterer) FilterTransfer

func (_Paper *PaperFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*PaperTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*PaperFilterer) ParseApproval

func (_Paper *PaperFilterer) ParseApproval(log types.Log) (*PaperApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*PaperFilterer) ParseDelegateChanged

func (_Paper *PaperFilterer) ParseDelegateChanged(log types.Log) (*PaperDelegateChanged, error)

ParseDelegateChanged is a log parse operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*PaperFilterer) ParseDelegateVotesChanged

func (_Paper *PaperFilterer) ParseDelegateVotesChanged(log types.Log) (*PaperDelegateVotesChanged, error)

ParseDelegateVotesChanged is a log parse operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*PaperFilterer) ParseOwnershipTransferred

func (_Paper *PaperFilterer) ParseOwnershipTransferred(log types.Log) (*PaperOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PaperFilterer) ParseSnapshot

func (_Paper *PaperFilterer) ParseSnapshot(log types.Log) (*PaperSnapshot, error)

ParseSnapshot is a log parse operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.

Solidity: event Snapshot(uint256 id)

func (*PaperFilterer) ParseTransfer

func (_Paper *PaperFilterer) ParseTransfer(log types.Log) (*PaperTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*PaperFilterer) WatchApproval

func (_Paper *PaperFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PaperApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*PaperFilterer) WatchDelegateChanged

func (_Paper *PaperFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *PaperDelegateChanged, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (event.Subscription, error)

WatchDelegateChanged is a free log subscription operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*PaperFilterer) WatchDelegateVotesChanged

func (_Paper *PaperFilterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *PaperDelegateVotesChanged, delegate []common.Address) (event.Subscription, error)

WatchDelegateVotesChanged is a free log subscription operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*PaperFilterer) WatchOwnershipTransferred

func (_Paper *PaperFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PaperOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PaperFilterer) WatchSnapshot

func (_Paper *PaperFilterer) WatchSnapshot(opts *bind.WatchOpts, sink chan<- *PaperSnapshot) (event.Subscription, error)

WatchSnapshot is a free log subscription operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.

Solidity: event Snapshot(uint256 id)

func (*PaperFilterer) WatchTransfer

func (_Paper *PaperFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PaperTransfer, from []common.Address, to []common.Address) (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 value)

type PaperOwnershipTransferred

type PaperOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

PaperOwnershipTransferred represents a OwnershipTransferred event raised by the Paper contract.

type PaperOwnershipTransferredIterator

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

PaperOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Paper contract.

func (*PaperOwnershipTransferredIterator) Close

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

func (*PaperOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaperOwnershipTransferredIterator) 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 PaperProcessor

type PaperProcessor interface {
	Setup(address common.Address, eth interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}) error
	Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

	ProcessApproval(ctx context.Context, e PaperApproval) (func(tx *ent.Tx) error, error)

	ProcessDelegateChanged(ctx context.Context, e PaperDelegateChanged) (func(tx *ent.Tx) error, error)

	ProcessDelegateVotesChanged(ctx context.Context, e PaperDelegateVotesChanged) (func(tx *ent.Tx) error, error)

	ProcessOwnershipTransferred(ctx context.Context, e PaperOwnershipTransferred) (func(tx *ent.Tx) error, error)

	ProcessSnapshot(ctx context.Context, e PaperSnapshot) (func(tx *ent.Tx) error, error)

	ProcessTransfer(ctx context.Context, e PaperTransfer) (func(tx *ent.Tx) error, error)
	// contains filtered or unexported methods
}

type PaperRaw

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

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

func (*PaperRaw) Call

func (_Paper *PaperRaw) 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 (*PaperRaw) Transact

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

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

func (*PaperRaw) Transfer

func (_Paper *PaperRaw) 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 PaperSession

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

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

func (*PaperSession) Allowance

func (_Paper *PaperSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PaperSession) Approve

func (_Paper *PaperSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*PaperSession) BalanceOf

func (_Paper *PaperSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*PaperSession) BalanceOfAt

func (_Paper *PaperSession) BalanceOfAt(account common.Address, snapshotId *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address account, uint256 snapshotId) view returns(uint256)

func (*PaperSession) Checkpoints

func (_Paper *PaperSession) Checkpoints(account common.Address, pos uint32) (ERC20VotesCheckpoint, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))

func (*PaperSession) ClaimAllForOwner

func (_Paper *PaperSession) ClaimAllForOwner() (*types.Transaction, error)

ClaimAllForOwner is a paid mutator transaction binding the contract method 0xcbf0b276.

Solidity: function claimAllForOwner() returns()

func (*PaperSession) ClaimById

func (_Paper *PaperSession) ClaimById(tokenId *big.Int) (*types.Transaction, error)

ClaimById is a paid mutator transaction binding the contract method 0xbecf7741.

Solidity: function claimById(uint256 tokenId) returns()

func (*PaperSession) ClaimRangeForOwner

func (_Paper *PaperSession) ClaimRangeForOwner(ownerIndexStart *big.Int, ownerIndexEnd *big.Int) (*types.Transaction, error)

ClaimRangeForOwner is a paid mutator transaction binding the contract method 0x878e7ea5.

Solidity: function claimRangeForOwner(uint256 ownerIndexStart, uint256 ownerIndexEnd) returns()

func (*PaperSession) ClaimedByTokenId

func (_Paper *PaperSession) ClaimedByTokenId(arg0 *big.Int) (bool, error)

ClaimedByTokenId is a free data retrieval call binding the contract method 0x896265b3.

Solidity: function claimedByTokenId(uint256 ) view returns(bool)

func (*PaperSession) DOMAINSEPARATOR

func (_Paper *PaperSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PaperSession) Decimals

func (_Paper *PaperSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PaperSession) DecreaseAllowance

func (_Paper *PaperSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*PaperSession) Delegate

func (_Paper *PaperSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*PaperSession) DelegateBySig

func (_Paper *PaperSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*PaperSession) Delegates

func (_Paper *PaperSession) Delegates(account common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address account) view returns(address)

func (*PaperSession) GetPastTotalSupply

func (_Paper *PaperSession) GetPastTotalSupply(blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint256)

func (*PaperSession) GetPastVotes

func (_Paper *PaperSession) GetPastVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

Solidity: function getPastVotes(address account, uint256 blockNumber) view returns(uint256)

func (*PaperSession) GetVotes

func (_Paper *PaperSession) GetVotes(account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

Solidity: function getVotes(address account) view returns(uint256)

func (*PaperSession) IncreaseAllowance

func (_Paper *PaperSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*PaperSession) Loot

func (_Paper *PaperSession) Loot() (common.Address, error)

Loot is a free data retrieval call binding the contract method 0x9b7b2ab0.

Solidity: function loot() view returns(address)

func (*PaperSession) Mint

func (_Paper *PaperSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*PaperSession) Name

func (_Paper *PaperSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*PaperSession) Nonces

func (_Paper *PaperSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*PaperSession) NumCheckpoints

func (_Paper *PaperSession) NumCheckpoints(account common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address account) view returns(uint32)

func (*PaperSession) Owner

func (_Paper *PaperSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PaperSession) PaperPerTokenId

func (_Paper *PaperSession) PaperPerTokenId() (*big.Int, error)

PaperPerTokenId is a free data retrieval call binding the contract method 0x2aedc3ab.

Solidity: function paperPerTokenId() view returns(uint256)

func (*PaperSession) Permit

func (_Paper *PaperSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*PaperSession) RenounceOwnership

func (_Paper *PaperSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PaperSession) Snapshot

func (_Paper *PaperSession) Snapshot() (*types.Transaction, error)

Snapshot is a paid mutator transaction binding the contract method 0x9711715a.

Solidity: function snapshot() returns()

func (*PaperSession) Symbol

func (_Paper *PaperSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*PaperSession) Timelock

func (_Paper *PaperSession) Timelock() (common.Address, error)

Timelock is a free data retrieval call binding the contract method 0xd33219b4.

Solidity: function timelock() view returns(address)

func (*PaperSession) TokenIdEnd

func (_Paper *PaperSession) TokenIdEnd() (*big.Int, error)

TokenIdEnd is a free data retrieval call binding the contract method 0x43f42802.

Solidity: function tokenIdEnd() view returns(uint256)

func (*PaperSession) TokenIdStart

func (_Paper *PaperSession) TokenIdStart() (*big.Int, error)

TokenIdStart is a free data retrieval call binding the contract method 0x2a389062.

Solidity: function tokenIdStart() view returns(uint256)

func (*PaperSession) TotalSupply

func (_Paper *PaperSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*PaperSession) TotalSupplyAt

func (_Paper *PaperSession) TotalSupplyAt(snapshotId *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)

func (*PaperSession) Transfer

func (_Paper *PaperSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*PaperSession) TransferFrom

func (_Paper *PaperSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*PaperSession) TransferOwnership

func (_Paper *PaperSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type PaperSnapshot

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

PaperSnapshot represents a Snapshot event raised by the Paper contract.

type PaperSnapshotIterator

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

PaperSnapshotIterator is returned from FilterSnapshot and is used to iterate over the raw logs and unpacked data for Snapshot events raised by the Paper contract.

func (*PaperSnapshotIterator) Close

func (it *PaperSnapshotIterator) Close() error

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

func (*PaperSnapshotIterator) Error

func (it *PaperSnapshotIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaperSnapshotIterator) Next

func (it *PaperSnapshotIterator) 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 PaperTransactor

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

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

func NewPaperTransactor

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

NewPaperTransactor creates a new write-only instance of Paper, bound to a specific deployed contract.

func (*PaperTransactor) Approve

func (_Paper *PaperTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*PaperTransactor) ClaimAllForOwner

func (_Paper *PaperTransactor) ClaimAllForOwner(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimAllForOwner is a paid mutator transaction binding the contract method 0xcbf0b276.

Solidity: function claimAllForOwner() returns()

func (*PaperTransactor) ClaimById

func (_Paper *PaperTransactor) ClaimById(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)

ClaimById is a paid mutator transaction binding the contract method 0xbecf7741.

Solidity: function claimById(uint256 tokenId) returns()

func (*PaperTransactor) ClaimRangeForOwner

func (_Paper *PaperTransactor) ClaimRangeForOwner(opts *bind.TransactOpts, ownerIndexStart *big.Int, ownerIndexEnd *big.Int) (*types.Transaction, error)

ClaimRangeForOwner is a paid mutator transaction binding the contract method 0x878e7ea5.

Solidity: function claimRangeForOwner(uint256 ownerIndexStart, uint256 ownerIndexEnd) returns()

func (*PaperTransactor) DecreaseAllowance

func (_Paper *PaperTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*PaperTransactor) Delegate

func (_Paper *PaperTransactor) Delegate(opts *bind.TransactOpts, delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*PaperTransactor) DelegateBySig

func (_Paper *PaperTransactor) DelegateBySig(opts *bind.TransactOpts, delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*PaperTransactor) IncreaseAllowance

func (_Paper *PaperTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*PaperTransactor) Mint

func (_Paper *PaperTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*PaperTransactor) Permit

func (_Paper *PaperTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*PaperTransactor) RenounceOwnership

func (_Paper *PaperTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PaperTransactor) Snapshot

func (_Paper *PaperTransactor) Snapshot(opts *bind.TransactOpts) (*types.Transaction, error)

Snapshot is a paid mutator transaction binding the contract method 0x9711715a.

Solidity: function snapshot() returns()

func (*PaperTransactor) Transfer

func (_Paper *PaperTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*PaperTransactor) TransferFrom

func (_Paper *PaperTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*PaperTransactor) TransferOwnership

func (_Paper *PaperTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type PaperTransactorRaw

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

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

func (*PaperTransactorRaw) Transact

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

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

func (*PaperTransactorRaw) Transfer

func (_Paper *PaperTransactorRaw) 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 PaperTransactorSession

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

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

func (*PaperTransactorSession) Approve

func (_Paper *PaperTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*PaperTransactorSession) ClaimAllForOwner

func (_Paper *PaperTransactorSession) ClaimAllForOwner() (*types.Transaction, error)

ClaimAllForOwner is a paid mutator transaction binding the contract method 0xcbf0b276.

Solidity: function claimAllForOwner() returns()

func (*PaperTransactorSession) ClaimById

func (_Paper *PaperTransactorSession) ClaimById(tokenId *big.Int) (*types.Transaction, error)

ClaimById is a paid mutator transaction binding the contract method 0xbecf7741.

Solidity: function claimById(uint256 tokenId) returns()

func (*PaperTransactorSession) ClaimRangeForOwner

func (_Paper *PaperTransactorSession) ClaimRangeForOwner(ownerIndexStart *big.Int, ownerIndexEnd *big.Int) (*types.Transaction, error)

ClaimRangeForOwner is a paid mutator transaction binding the contract method 0x878e7ea5.

Solidity: function claimRangeForOwner(uint256 ownerIndexStart, uint256 ownerIndexEnd) returns()

func (*PaperTransactorSession) DecreaseAllowance

func (_Paper *PaperTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*PaperTransactorSession) Delegate

func (_Paper *PaperTransactorSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*PaperTransactorSession) DelegateBySig

func (_Paper *PaperTransactorSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*PaperTransactorSession) IncreaseAllowance

func (_Paper *PaperTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*PaperTransactorSession) Mint

func (_Paper *PaperTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*PaperTransactorSession) Permit

func (_Paper *PaperTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*PaperTransactorSession) RenounceOwnership

func (_Paper *PaperTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PaperTransactorSession) Snapshot

func (_Paper *PaperTransactorSession) Snapshot() (*types.Transaction, error)

Snapshot is a paid mutator transaction binding the contract method 0x9711715a.

Solidity: function snapshot() returns()

func (*PaperTransactorSession) Transfer

func (_Paper *PaperTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*PaperTransactorSession) TransferFrom

func (_Paper *PaperTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*PaperTransactorSession) TransferOwnership

func (_Paper *PaperTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type PaperTransfer

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

PaperTransfer represents a Transfer event raised by the Paper contract.

type PaperTransferIterator

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

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

func (*PaperTransferIterator) Close

func (it *PaperTransferIterator) Close() error

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

func (*PaperTransferIterator) Error

func (it *PaperTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaperTransferIterator) Next

func (it *PaperTransferIterator) 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 SwapMeet

type SwapMeet struct {
	SwapMeetCaller     // Read-only binding to the contract
	SwapMeetTransactor // Write-only binding to the contract
	SwapMeetFilterer   // Log filterer for contract events
}

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

func NewSwapMeet

func NewSwapMeet(address common.Address, backend bind.ContractBackend) (*SwapMeet, error)

NewSwapMeet creates a new instance of SwapMeet, bound to a specific deployed contract.

type SwapMeetApprovalForAll

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

SwapMeetApprovalForAll represents a ApprovalForAll event raised by the SwapMeet contract.

type SwapMeetApprovalForAllIterator

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

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

func (*SwapMeetApprovalForAllIterator) Close

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

func (*SwapMeetApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapMeetApprovalForAllIterator) 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 SwapMeetCaller

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

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

func NewSwapMeetCaller

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

NewSwapMeetCaller creates a new read-only instance of SwapMeet, bound to a specific deployed contract.

func (*SwapMeetCaller) BalanceOf

func (_SwapMeet *SwapMeetCaller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*SwapMeetCaller) BalanceOfBatch

func (_SwapMeet *SwapMeetCaller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*SwapMeetCaller) ContractURI

func (_SwapMeet *SwapMeetCaller) ContractURI(opts *bind.CallOpts) (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() pure returns(string)

func (*SwapMeetCaller) Fullname

func (_SwapMeet *SwapMeetCaller) Fullname(opts *bind.CallOpts, id *big.Int) (string, error)

Fullname is a free data retrieval call binding the contract method 0x727b0e2b.

Solidity: function fullname(uint256 id) view returns(string n)

func (*SwapMeetCaller) IsApprovedForAll

func (_SwapMeet *SwapMeetCaller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*SwapMeetCaller) ItemIds

func (_SwapMeet *SwapMeetCaller) ItemIds(opts *bind.CallOpts, tokenId *big.Int) ([]*big.Int, error)

ItemIds is a free data retrieval call binding the contract method 0xb3dc00fe.

Solidity: function itemIds(uint256 tokenId) view returns(uint256[])

func (*SwapMeetCaller) Name

func (_SwapMeet *SwapMeetCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() pure returns(string)

func (*SwapMeetCaller) Owner

func (_SwapMeet *SwapMeetCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*SwapMeetCaller) Palette

func (_SwapMeet *SwapMeetCaller) Palette(opts *bind.CallOpts, id uint8) ([][4]byte, error)

Palette is a free data retrieval call binding the contract method 0x09102203.

Solidity: function palette(uint8 id) view returns(bytes4[])

func (*SwapMeetCaller) Params

func (_SwapMeet *SwapMeetCaller) Params(opts *bind.CallOpts, id *big.Int) (string, string, string, string, string, [4]byte, error)

Params is a free data retrieval call binding the contract method 0x9d2f053c.

Solidity: function params(uint256 id) view returns(string, string, string, string, string, bytes4)

func (*SwapMeetCaller) SupportsInterface

func (_SwapMeet *SwapMeetCaller) 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 (*SwapMeetCaller) Symbol

func (_SwapMeet *SwapMeetCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() pure returns(string)

func (*SwapMeetCaller) ToBaseId

func (_SwapMeet *SwapMeetCaller) ToBaseId(opts *bind.CallOpts, id *big.Int) (*big.Int, error)

ToBaseId is a free data retrieval call binding the contract method 0xfbbe3f94.

Solidity: function toBaseId(uint256 id) pure returns(uint256)

func (*SwapMeetCaller) ToId

func (_SwapMeet *SwapMeetCaller) ToId(opts *bind.CallOpts, components [5]uint8, componentType uint8) (*big.Int, error)

ToId is a free data retrieval call binding the contract method 0x5337b14d.

Solidity: function toId(uint8[5] components, uint8 componentType) pure returns(uint256)

func (*SwapMeetCaller) TokenRle

func (_SwapMeet *SwapMeetCaller) TokenRle(opts *bind.CallOpts, id *big.Int, gender uint8) ([]byte, error)

TokenRle is a free data retrieval call binding the contract method 0x91f1fa43.

Solidity: function tokenRle(uint256 id, uint8 gender) view returns(bytes)

func (*SwapMeetCaller) TokenURI

func (_SwapMeet *SwapMeetCaller) 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 (*SwapMeetCaller) Uri

func (_SwapMeet *SwapMeetCaller) Uri(opts *bind.CallOpts, tokenId *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

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

type SwapMeetCallerRaw

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

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

func (*SwapMeetCallerRaw) Call

func (_SwapMeet *SwapMeetCallerRaw) 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 SwapMeetCallerSession

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

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

func (*SwapMeetCallerSession) BalanceOf

func (_SwapMeet *SwapMeetCallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*SwapMeetCallerSession) BalanceOfBatch

func (_SwapMeet *SwapMeetCallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*SwapMeetCallerSession) ContractURI

func (_SwapMeet *SwapMeetCallerSession) ContractURI() (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() pure returns(string)

func (*SwapMeetCallerSession) Fullname

func (_SwapMeet *SwapMeetCallerSession) Fullname(id *big.Int) (string, error)

Fullname is a free data retrieval call binding the contract method 0x727b0e2b.

Solidity: function fullname(uint256 id) view returns(string n)

func (*SwapMeetCallerSession) IsApprovedForAll

func (_SwapMeet *SwapMeetCallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*SwapMeetCallerSession) ItemIds

func (_SwapMeet *SwapMeetCallerSession) ItemIds(tokenId *big.Int) ([]*big.Int, error)

ItemIds is a free data retrieval call binding the contract method 0xb3dc00fe.

Solidity: function itemIds(uint256 tokenId) view returns(uint256[])

func (*SwapMeetCallerSession) Name

func (_SwapMeet *SwapMeetCallerSession) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*SwapMeetCallerSession) Owner

func (_SwapMeet *SwapMeetCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*SwapMeetCallerSession) Palette

func (_SwapMeet *SwapMeetCallerSession) Palette(id uint8) ([][4]byte, error)

Palette is a free data retrieval call binding the contract method 0x09102203.

Solidity: function palette(uint8 id) view returns(bytes4[])

func (*SwapMeetCallerSession) Params

func (_SwapMeet *SwapMeetCallerSession) Params(id *big.Int) (string, string, string, string, string, [4]byte, error)

Params is a free data retrieval call binding the contract method 0x9d2f053c.

Solidity: function params(uint256 id) view returns(string, string, string, string, string, bytes4)

func (*SwapMeetCallerSession) SupportsInterface

func (_SwapMeet *SwapMeetCallerSession) 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 (*SwapMeetCallerSession) Symbol

func (_SwapMeet *SwapMeetCallerSession) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*SwapMeetCallerSession) ToBaseId

func (_SwapMeet *SwapMeetCallerSession) ToBaseId(id *big.Int) (*big.Int, error)

ToBaseId is a free data retrieval call binding the contract method 0xfbbe3f94.

Solidity: function toBaseId(uint256 id) pure returns(uint256)

func (*SwapMeetCallerSession) ToId

func (_SwapMeet *SwapMeetCallerSession) ToId(components [5]uint8, componentType uint8) (*big.Int, error)

ToId is a free data retrieval call binding the contract method 0x5337b14d.

Solidity: function toId(uint8[5] components, uint8 componentType) pure returns(uint256)

func (*SwapMeetCallerSession) TokenRle

func (_SwapMeet *SwapMeetCallerSession) TokenRle(id *big.Int, gender uint8) ([]byte, error)

TokenRle is a free data retrieval call binding the contract method 0x91f1fa43.

Solidity: function tokenRle(uint256 id, uint8 gender) view returns(bytes)

func (*SwapMeetCallerSession) TokenURI

func (_SwapMeet *SwapMeetCallerSession) 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 (*SwapMeetCallerSession) Uri

func (_SwapMeet *SwapMeetCallerSession) Uri(tokenId *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

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

type SwapMeetFilterer

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

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

func NewSwapMeetFilterer

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

NewSwapMeetFilterer creates a new log filterer instance of SwapMeet, bound to a specific deployed contract.

func (*SwapMeetFilterer) FilterApprovalForAll

func (_SwapMeet *SwapMeetFilterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*SwapMeetApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

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

func (*SwapMeetFilterer) FilterOwnershipTransferred

func (_SwapMeet *SwapMeetFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SwapMeetOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SwapMeetFilterer) FilterSetRle

func (_SwapMeet *SwapMeetFilterer) FilterSetRle(opts *bind.FilterOpts) (*SwapMeetSetRleIterator, error)

FilterSetRle is a free log retrieval operation binding the contract event 0x945558bcba07fa0f70f986544b6da6f780ddb36e537da2e92fcf2a9c0dd04ab6.

Solidity: event SetRle(uint256 id)

func (*SwapMeetFilterer) FilterTransferBatch

func (_SwapMeet *SwapMeetFilterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*SwapMeetTransferBatchIterator, error)

FilterTransferBatch is a free log retrieval operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*SwapMeetFilterer) FilterTransferSingle

func (_SwapMeet *SwapMeetFilterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*SwapMeetTransferSingleIterator, error)

FilterTransferSingle is a free log retrieval operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*SwapMeetFilterer) FilterURI

func (_SwapMeet *SwapMeetFilterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*SwapMeetURIIterator, error)

FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*SwapMeetFilterer) ParseApprovalForAll

func (_SwapMeet *SwapMeetFilterer) ParseApprovalForAll(log types.Log) (*SwapMeetApprovalForAll, error)

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

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

func (*SwapMeetFilterer) ParseOwnershipTransferred

func (_SwapMeet *SwapMeetFilterer) ParseOwnershipTransferred(log types.Log) (*SwapMeetOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SwapMeetFilterer) ParseSetRle

func (_SwapMeet *SwapMeetFilterer) ParseSetRle(log types.Log) (*SwapMeetSetRle, error)

ParseSetRle is a log parse operation binding the contract event 0x945558bcba07fa0f70f986544b6da6f780ddb36e537da2e92fcf2a9c0dd04ab6.

Solidity: event SetRle(uint256 id)

func (*SwapMeetFilterer) ParseTransferBatch

func (_SwapMeet *SwapMeetFilterer) ParseTransferBatch(log types.Log) (*SwapMeetTransferBatch, error)

ParseTransferBatch is a log parse operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*SwapMeetFilterer) ParseTransferSingle

func (_SwapMeet *SwapMeetFilterer) ParseTransferSingle(log types.Log) (*SwapMeetTransferSingle, error)

ParseTransferSingle is a log parse operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*SwapMeetFilterer) ParseURI

func (_SwapMeet *SwapMeetFilterer) ParseURI(log types.Log) (*SwapMeetURI, error)

ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*SwapMeetFilterer) WatchApprovalForAll

func (_SwapMeet *SwapMeetFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *SwapMeetApprovalForAll, account []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 account, address indexed operator, bool approved)

func (*SwapMeetFilterer) WatchOwnershipTransferred

func (_SwapMeet *SwapMeetFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SwapMeetOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SwapMeetFilterer) WatchSetRle

func (_SwapMeet *SwapMeetFilterer) WatchSetRle(opts *bind.WatchOpts, sink chan<- *SwapMeetSetRle) (event.Subscription, error)

WatchSetRle is a free log subscription operation binding the contract event 0x945558bcba07fa0f70f986544b6da6f780ddb36e537da2e92fcf2a9c0dd04ab6.

Solidity: event SetRle(uint256 id)

func (*SwapMeetFilterer) WatchTransferBatch

func (_SwapMeet *SwapMeetFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *SwapMeetTransferBatch, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferBatch is a free log subscription operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*SwapMeetFilterer) WatchTransferSingle

func (_SwapMeet *SwapMeetFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *SwapMeetTransferSingle, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferSingle is a free log subscription operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*SwapMeetFilterer) WatchURI

func (_SwapMeet *SwapMeetFilterer) WatchURI(opts *bind.WatchOpts, sink chan<- *SwapMeetURI, id []*big.Int) (event.Subscription, error)

WatchURI is a free log subscription operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

type SwapMeetOwnershipTransferred

type SwapMeetOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

SwapMeetOwnershipTransferred represents a OwnershipTransferred event raised by the SwapMeet contract.

type SwapMeetOwnershipTransferredIterator

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

SwapMeetOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SwapMeet contract.

func (*SwapMeetOwnershipTransferredIterator) Close

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

func (*SwapMeetOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapMeetOwnershipTransferredIterator) 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 SwapMeetProcessor

type SwapMeetProcessor interface {
	Setup(address common.Address, eth interface {
		ethereum.ChainReader
		ethereum.ChainStateReader
		ethereum.TransactionReader
		bind.ContractBackend
	}) error
	Initialize(ctx context.Context, start uint64, tx *ent.Tx) error

	ProcessApprovalForAll(ctx context.Context, e SwapMeetApprovalForAll) (func(tx *ent.Tx) error, error)

	ProcessOwnershipTransferred(ctx context.Context, e SwapMeetOwnershipTransferred) (func(tx *ent.Tx) error, error)

	ProcessSetRle(ctx context.Context, e SwapMeetSetRle) (func(tx *ent.Tx) error, error)

	ProcessTransferBatch(ctx context.Context, e SwapMeetTransferBatch) (func(tx *ent.Tx) error, error)

	ProcessTransferSingle(ctx context.Context, e SwapMeetTransferSingle) (func(tx *ent.Tx) error, error)

	ProcessURI(ctx context.Context, e SwapMeetURI) (func(tx *ent.Tx) error, error)
	// contains filtered or unexported methods
}

type SwapMeetRaw

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

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

func (*SwapMeetRaw) Call

func (_SwapMeet *SwapMeetRaw) 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 (*SwapMeetRaw) Transact

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

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

func (*SwapMeetRaw) Transfer

func (_SwapMeet *SwapMeetRaw) 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 SwapMeetSession

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

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

func (*SwapMeetSession) BalanceOf

func (_SwapMeet *SwapMeetSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*SwapMeetSession) BalanceOfBatch

func (_SwapMeet *SwapMeetSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*SwapMeetSession) BatchSetRle

func (_SwapMeet *SwapMeetSession) BatchSetRle(ids []*big.Int, rles [][]byte) (*types.Transaction, error)

BatchSetRle is a paid mutator transaction binding the contract method 0xa32b3cb8.

Solidity: function batchSetRle(uint256[] ids, bytes[] rles) returns()

func (*SwapMeetSession) ContractURI

func (_SwapMeet *SwapMeetSession) ContractURI() (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() pure returns(string)

func (*SwapMeetSession) Fullname

func (_SwapMeet *SwapMeetSession) Fullname(id *big.Int) (string, error)

Fullname is a free data retrieval call binding the contract method 0x727b0e2b.

Solidity: function fullname(uint256 id) view returns(string n)

func (*SwapMeetSession) IsApprovedForAll

func (_SwapMeet *SwapMeetSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*SwapMeetSession) ItemIds

func (_SwapMeet *SwapMeetSession) ItemIds(tokenId *big.Int) ([]*big.Int, error)

ItemIds is a free data retrieval call binding the contract method 0xb3dc00fe.

Solidity: function itemIds(uint256 tokenId) view returns(uint256[])

func (*SwapMeetSession) Mint

func (_SwapMeet *SwapMeetSession) Mint(to common.Address, components [5]uint8, componentType uint8, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x81d390fc.

Solidity: function mint(address to, uint8[5] components, uint8 componentType, uint256 amount, bytes data) returns(uint256)

func (*SwapMeetSession) MintBatch

func (_SwapMeet *SwapMeetSession) MintBatch(to common.Address, components []uint8, componentTypes []uint8, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0xada38f78.

Solidity: function mintBatch(address to, uint8[] components, uint8[] componentTypes, uint256[] amounts, bytes data) returns(uint256[])

func (*SwapMeetSession) Name

func (_SwapMeet *SwapMeetSession) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*SwapMeetSession) Open

func (_SwapMeet *SwapMeetSession) Open(id *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0x2623e350.

Solidity: function open(uint256 id, address to, bytes data) returns()

func (*SwapMeetSession) Owner

func (_SwapMeet *SwapMeetSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*SwapMeetSession) Palette

func (_SwapMeet *SwapMeetSession) Palette(id uint8) ([][4]byte, error)

Palette is a free data retrieval call binding the contract method 0x09102203.

Solidity: function palette(uint8 id) view returns(bytes4[])

func (*SwapMeetSession) Params

func (_SwapMeet *SwapMeetSession) Params(id *big.Int) (string, string, string, string, string, [4]byte, error)

Params is a free data retrieval call binding the contract method 0x9d2f053c.

Solidity: function params(uint256 id) view returns(string, string, string, string, string, bytes4)

func (*SwapMeetSession) RenounceOwnership

func (_SwapMeet *SwapMeetSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SwapMeetSession) SafeBatchTransferFrom

func (_SwapMeet *SwapMeetSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*SwapMeetSession) SafeTransferFrom

func (_SwapMeet *SwapMeetSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*SwapMeetSession) SetApprovalForAll

func (_SwapMeet *SwapMeetSession) 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 (*SwapMeetSession) SetPalette

func (_SwapMeet *SwapMeetSession) SetPalette(id uint8, palette [][4]byte) (*types.Transaction, error)

SetPalette is a paid mutator transaction binding the contract method 0xdeeb2696.

Solidity: function setPalette(uint8 id, bytes4[] palette) returns()

func (*SwapMeetSession) SetRle

func (_SwapMeet *SwapMeetSession) SetRle(id *big.Int, male []byte, female []byte) (*types.Transaction, error)

SetRle is a paid mutator transaction binding the contract method 0x76f44143.

Solidity: function setRle(uint256 id, bytes male, bytes female) returns()

func (*SwapMeetSession) SupportsInterface

func (_SwapMeet *SwapMeetSession) 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 (*SwapMeetSession) Symbol

func (_SwapMeet *SwapMeetSession) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*SwapMeetSession) ToBaseId

func (_SwapMeet *SwapMeetSession) ToBaseId(id *big.Int) (*big.Int, error)

ToBaseId is a free data retrieval call binding the contract method 0xfbbe3f94.

Solidity: function toBaseId(uint256 id) pure returns(uint256)

func (*SwapMeetSession) ToId

func (_SwapMeet *SwapMeetSession) ToId(components [5]uint8, componentType uint8) (*big.Int, error)

ToId is a free data retrieval call binding the contract method 0x5337b14d.

Solidity: function toId(uint8[5] components, uint8 componentType) pure returns(uint256)

func (*SwapMeetSession) TokenRle

func (_SwapMeet *SwapMeetSession) TokenRle(id *big.Int, gender uint8) ([]byte, error)

TokenRle is a free data retrieval call binding the contract method 0x91f1fa43.

Solidity: function tokenRle(uint256 id, uint8 gender) view returns(bytes)

func (*SwapMeetSession) TokenURI

func (_SwapMeet *SwapMeetSession) 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 (*SwapMeetSession) TransferOwnership

func (_SwapMeet *SwapMeetSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*SwapMeetSession) Uri

func (_SwapMeet *SwapMeetSession) Uri(tokenId *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

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

type SwapMeetSetRle

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

SwapMeetSetRle represents a SetRle event raised by the SwapMeet contract.

type SwapMeetSetRleIterator

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

SwapMeetSetRleIterator is returned from FilterSetRle and is used to iterate over the raw logs and unpacked data for SetRle events raised by the SwapMeet contract.

func (*SwapMeetSetRleIterator) Close

func (it *SwapMeetSetRleIterator) Close() error

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

func (*SwapMeetSetRleIterator) Error

func (it *SwapMeetSetRleIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapMeetSetRleIterator) Next

func (it *SwapMeetSetRleIterator) 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 SwapMeetTransactor

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

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

func NewSwapMeetTransactor

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

NewSwapMeetTransactor creates a new write-only instance of SwapMeet, bound to a specific deployed contract.

func (*SwapMeetTransactor) BatchSetRle

func (_SwapMeet *SwapMeetTransactor) BatchSetRle(opts *bind.TransactOpts, ids []*big.Int, rles [][]byte) (*types.Transaction, error)

BatchSetRle is a paid mutator transaction binding the contract method 0xa32b3cb8.

Solidity: function batchSetRle(uint256[] ids, bytes[] rles) returns()

func (*SwapMeetTransactor) Mint

func (_SwapMeet *SwapMeetTransactor) Mint(opts *bind.TransactOpts, to common.Address, components [5]uint8, componentType uint8, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x81d390fc.

Solidity: function mint(address to, uint8[5] components, uint8 componentType, uint256 amount, bytes data) returns(uint256)

func (*SwapMeetTransactor) MintBatch

func (_SwapMeet *SwapMeetTransactor) MintBatch(opts *bind.TransactOpts, to common.Address, components []uint8, componentTypes []uint8, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0xada38f78.

Solidity: function mintBatch(address to, uint8[] components, uint8[] componentTypes, uint256[] amounts, bytes data) returns(uint256[])

func (*SwapMeetTransactor) Open

func (_SwapMeet *SwapMeetTransactor) Open(opts *bind.TransactOpts, id *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0x2623e350.

Solidity: function open(uint256 id, address to, bytes data) returns()

func (*SwapMeetTransactor) RenounceOwnership

func (_SwapMeet *SwapMeetTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SwapMeetTransactor) SafeBatchTransferFrom

func (_SwapMeet *SwapMeetTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*SwapMeetTransactor) SafeTransferFrom

func (_SwapMeet *SwapMeetTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*SwapMeetTransactor) SetApprovalForAll

func (_SwapMeet *SwapMeetTransactor) 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 (*SwapMeetTransactor) SetPalette

func (_SwapMeet *SwapMeetTransactor) SetPalette(opts *bind.TransactOpts, id uint8, palette [][4]byte) (*types.Transaction, error)

SetPalette is a paid mutator transaction binding the contract method 0xdeeb2696.

Solidity: function setPalette(uint8 id, bytes4[] palette) returns()

func (*SwapMeetTransactor) SetRle

func (_SwapMeet *SwapMeetTransactor) SetRle(opts *bind.TransactOpts, id *big.Int, male []byte, female []byte) (*types.Transaction, error)

SetRle is a paid mutator transaction binding the contract method 0x76f44143.

Solidity: function setRle(uint256 id, bytes male, bytes female) returns()

func (*SwapMeetTransactor) TransferOwnership

func (_SwapMeet *SwapMeetTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type SwapMeetTransactorRaw

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

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

func (*SwapMeetTransactorRaw) Transact

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

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

func (*SwapMeetTransactorRaw) Transfer

func (_SwapMeet *SwapMeetTransactorRaw) 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 SwapMeetTransactorSession

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

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

func (*SwapMeetTransactorSession) BatchSetRle

func (_SwapMeet *SwapMeetTransactorSession) BatchSetRle(ids []*big.Int, rles [][]byte) (*types.Transaction, error)

BatchSetRle is a paid mutator transaction binding the contract method 0xa32b3cb8.

Solidity: function batchSetRle(uint256[] ids, bytes[] rles) returns()

func (*SwapMeetTransactorSession) Mint

func (_SwapMeet *SwapMeetTransactorSession) Mint(to common.Address, components [5]uint8, componentType uint8, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x81d390fc.

Solidity: function mint(address to, uint8[5] components, uint8 componentType, uint256 amount, bytes data) returns(uint256)

func (*SwapMeetTransactorSession) MintBatch

func (_SwapMeet *SwapMeetTransactorSession) MintBatch(to common.Address, components []uint8, componentTypes []uint8, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0xada38f78.

Solidity: function mintBatch(address to, uint8[] components, uint8[] componentTypes, uint256[] amounts, bytes data) returns(uint256[])

func (*SwapMeetTransactorSession) Open

func (_SwapMeet *SwapMeetTransactorSession) Open(id *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0x2623e350.

Solidity: function open(uint256 id, address to, bytes data) returns()

func (*SwapMeetTransactorSession) RenounceOwnership

func (_SwapMeet *SwapMeetTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SwapMeetTransactorSession) SafeBatchTransferFrom

func (_SwapMeet *SwapMeetTransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*SwapMeetTransactorSession) SafeTransferFrom

func (_SwapMeet *SwapMeetTransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*SwapMeetTransactorSession) SetApprovalForAll

func (_SwapMeet *SwapMeetTransactorSession) 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 (*SwapMeetTransactorSession) SetPalette

func (_SwapMeet *SwapMeetTransactorSession) SetPalette(id uint8, palette [][4]byte) (*types.Transaction, error)

SetPalette is a paid mutator transaction binding the contract method 0xdeeb2696.

Solidity: function setPalette(uint8 id, bytes4[] palette) returns()

func (*SwapMeetTransactorSession) SetRle

func (_SwapMeet *SwapMeetTransactorSession) SetRle(id *big.Int, male []byte, female []byte) (*types.Transaction, error)

SetRle is a paid mutator transaction binding the contract method 0x76f44143.

Solidity: function setRle(uint256 id, bytes male, bytes female) returns()

func (*SwapMeetTransactorSession) TransferOwnership

func (_SwapMeet *SwapMeetTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type SwapMeetTransferBatch

type SwapMeetTransferBatch struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Ids      []*big.Int
	Values   []*big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

SwapMeetTransferBatch represents a TransferBatch event raised by the SwapMeet contract.

type SwapMeetTransferBatchIterator

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

SwapMeetTransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the SwapMeet contract.

func (*SwapMeetTransferBatchIterator) Close

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

func (*SwapMeetTransferBatchIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapMeetTransferBatchIterator) 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 SwapMeetTransferSingle

type SwapMeetTransferSingle struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Id       *big.Int
	Value    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

SwapMeetTransferSingle represents a TransferSingle event raised by the SwapMeet contract.

type SwapMeetTransferSingleIterator

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

SwapMeetTransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the SwapMeet contract.

func (*SwapMeetTransferSingleIterator) Close

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

func (*SwapMeetTransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapMeetTransferSingleIterator) 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 SwapMeetURI

type SwapMeetURI struct {
	Value string
	Id    *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

SwapMeetURI represents a URI event raised by the SwapMeet contract.

type SwapMeetURIIterator

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

SwapMeetURIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the SwapMeet contract.

func (*SwapMeetURIIterator) Close

func (it *SwapMeetURIIterator) Close() error

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

func (*SwapMeetURIIterator) Error

func (it *SwapMeetURIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapMeetURIIterator) Next

func (it *SwapMeetURIIterator) 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.

Jump to

Keyboard shortcuts

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